I guess you are in edit.php so you can add style only for this admin page.
function enqueue_my_scripts($hook) {
if ( 'edit.php' != $hook ) {
return;
}
//our script to remove fixed table class
echo '<script>';
echo '$( ".wp-list-table" ).removeClass( "fixed" )';
echo '</script>';
}
add_action( 'admin_enqueue_scripts', 'enqueue_my_scripts' );
The explanation is basic first we check if we are in edit page then execute the remove class.
Related Posts:
- How can i show post_class() within output loop?
- How to add post classes?
- WordPress call post-ID in jquery
- PHP Use Declared array Variable inside already Declared Array
- User registration followed by automatic login
- WordPress and event-driven programming – what is it about?
- How WordPress encrypt password? [duplicate]
- wp_insert_user role not working
- How to find cause of PHP notices with no stack trace?
- Adding a custom image upload size and making it selected by default?
- How to paginate a list of custom taxonomy terms?
- Conditionally loading JavaScript based on the Advanced Custom Fields in the post
- reason of splitting theme files to multiple files
- Limit the Excerpt field in WP-Admin in words
- wordpress separate registration for different roles
- Problem with Woocommerce REST API Authentication
- How to get custom image size for image uploaded in Customizer
- How to change / delete product short description in Woocommerce
- How do I add HTML to a PHP function [closed]
- register_activation_hook isn’t adding table to DB
- how to get the value of time left for a transient
- Remove query string specific key value
- is_page “range” for if statement?
- How to Fetch values from WP database based on selected option value by onchange using PHP?
- How to create a custom category of wordpress admin
- WordPress child theme fails to override parent navigation menu in /inc/structure/header.php
- Customizer: Output default value in Customizer CSS
- WordPress Ignoring .user.ini
- Cron events are disappearing, or cannot be updated in WordPress
- Prev/Next child navigation for current page modifications?
- Adding rel tag to all external links
- PHP Warning: chmod(): Operation not permitted in class-wp-filesystem-direct.php on line 173
- WordPress asks you for your FTP details if you want to run Automatic Updates/Upgrade Plugins
- Show success or error messages in Ajax response to WordPress custom registration form
- How to add a Custom Mailchimp AJAX Newsletter Subscribe Form
- 404 error when I acess the second page of post-type
- Where can I create a normal php file?
- Trying do build a contact form
- How to Disable WordPress Page Revisions?
- Prev/Next Links Broken on Static Front Page Pagination
- How to integrate noimage picture in this code
- get comment data using comment id
- How to add no follow to specific links?
- WordPress transient not working with WP Engine
- Basic wpdb update question
- Only show size attributes in product box woocommerce when available
- Can I set up a hover animation in CSS depending on a PHP conditional?
- Logout redirects to default page
- Remove conditional tag from header
- WordPress upload file size error even after raising php limits
- Function for simple math doesn’t work what am I doing wrong? [closed]
- Disable Content Editor for Specific Pages
- Post class only applying to first excerpt; why?
- Add categorys to custom post type not working
- PHP Warning: preg_match() expects & PHP Warning: strip_tags()
- Limit the number of child pages
- how to get wordpress page url php code [duplicate]
- How to show upcoming events according to start date field
- Some problems in custom widget
- Call a function in functions.php from within tags (JS)
- Displaying images outside the content
- WordPress Conditional / Multiple Taxonomy Query
- Can I ‘order by’ date that is in a text field?
- Show related products by attribute based and certain conditions
- How to retrieve taxonomy Metabox fields in frontend
- retrieve “Link Color” value
- Creating a Function and Call It
- How to count active users on a specific page
- WooCommerce display price before add to cart [closed]
- Adding column to wpex_users
- Create dashboard widget for custom theme support
- WordPress ajax filter returning all posts when it should be filtering by category
- WooCommerce Quantity in Dropdown menu instead of clasic [closed]
- Trying To Call a Dynamic Email Address
- How to override html codes in wordpress?
- Create html tree sitemap
- Plugin Modification Change Functionality For Logged User Only
- How can I output the slug of a comment author?
- redirect 301 with special character like WIX site “#!”
- Display tab title as ‘blog tagline | blog title’
- Conditional statement within WP SQL query
- Modify category archive page loop on functions.php
- How to display html code on homepage
- two wordpress sites, two themes, one database, same content
- Display a query with multiple post types and same relationship on a single page
- Check if values exists DB
- Trying to exclude posts from a category on the home page
- Php conditional help needed
- Adapting a php array to WordPress
- Different layout on search page depending on category post
- How to quickly/easily make an analysis (reverse engineering) of WordPress?
- New to wordpress. Need Help with templates [closed]
- Issues trying to add a href statment with PHP into a PHP Echo Statement [closed]
- Help with if/else loop [closed]
- Add/alter image attribute before render
- How do I do so that people can register on my wordpress site?
- Custom taxonomy pagination shows 404
- Internal server error when enabling Multisite in WordPress
- duplicating page templates
- Upload multiple files via ajax from an HTML file input