There is some modification in your code, insted of this class .taxonomy-category tr:hover .row-actions
apply css on this class .taxonomy-category .row-actions span.delete
, it willl work.
Here is whole code.
add_action('admin_head', 'hide_category_buttons');
function hide_category_buttons() {
echo '<style>
.taxonomy-category .row-actions span.delete {
visibility: hidden;
}
</style>';
}
Related Posts:
- Different background-image by category
- Selectbox in admin panel function linking to CSS
- Different post styles depending on category
- Get categories names as an array to use it in theme settings
- How to add style in functions.php depending on conditions?
- Adding first / last CSS classes to menus
- Remove update nags for non-admins [duplicate]
- Display current category title on category page
- Any guides on creating custom admin pages?
- WordPress Admin Bar pushed Sticky Footer off the bottom of the page
- What does the token %1$s in WordPress represent [closed]
- Inject post (from specific category) between posts in Loop
- Remove Customize Background and Header from Appearance admin menu without CSS or JS
- exclude multiple terms using get_terms() function
- How to target with css, admin elements according to user role level?
- renaming an admin menu item with decimal array index number
- Getting key value of WP_Term object in wordpress
- Jquery no more loading, load-scripts.php not found (404)
- Admin Bar (Toolbar) not showing on custom PHP file that loads WordPress
- the_author_posts_link css class
- How do I remove a require_once admin panel from the parent theme from the child theme functions.php?
- retrieve thumbnail from post ID of best selling product in category
- WordPress Shortcode and Dynamic CSS
- Handling error states with admin_post
- How to change “Shipping Calculator “field label on Cart Page – woocommerce? [closed]
- Custom HTML structure in wp_list_categories
- Installing wp3.2.1 on IIS; getting empty sessions
- Counting number of posts in a category and its sub categories and displaying result using shortcode
- Allow authors to post only in categories they create in WordPress
- Archive listing of posts by publish year (multiple years)
- Add custom field to attachments in a specific category
- How to Remove Parents Category Permalink from Posts
- “wp_enqueue_style();” don’t load new edited style
- Display all posts in current category
- Best way of adding CSS which can be manipulated by the user via theme option panels?
- How to Populate the list of custom post type categories
- Php string not working in WordPress Functions.php [duplicate]
- Need help on WordPress and php
- Looking to exclude blog posts from category Previous/Next buttons
- Multiple pages on one with different HTML
- List all categories but exclude current post category on single post page
- functions.php not adding css to website?
- wp enqueue style and style sheet depth
- WordPress Customizer not setting default value upon initial install?
- How to display related posts from parent category
- Adding Field to Profile “Name”
- User Defined order on get_categories?
- Theme Customizer – Dynamic CSS PHP File
- Admin Menus – Name Menu different from first Submenu [duplicate]
- CSS saved & enqueued, but wordpress doesn’t load css text, only file
- Using PHP in a Stylesheet (possibly a “.htaccess” problem?)
- How can I set custom order use this function
- WordPress loop specific thumbnail size
- Categories Template Assistance
- WordPress doesn’t include css
- Understanding child theme functions.php
- Add a Custom Class to Admin Menus
- wp_enqueue_style with style.php and WordPress functions
- When is is_admin() available?
- Is it possible to use the featured image of a page as a css background without inlining?
- Creating a new page and automatically associating it with a template in WordPress
- Edit category output
- if file_exists not working with wp_enqueue_style
- Unable to set right time in admin and frontend template
- Error: array_map(): Argument #2
- Problems with function on function.php
- Want to create Child theme, but already edited Parent theme css files and some php files
- Minify HTML, CSS, JS with PHPWee?
- Use template for posts with a particular category grandparent
- Put a link to a category round a hard coded A HREF
- Using PHP to toggle stylesheet and header image, set in cookie
- Archive dropdown styling not applied
- How to display a value from a radio button in the options menu in wordpress
- Check if Product is in a Specific Category in Functions.php
- Custom Loop through category menu to include sub categories
- How should I best target dynamically served content?
- Style every second widget?
- How to scale image with equal width and height without distortion?
- Get posts with at least one category in common with current post?
- How to exclude specific category from the get_the_category(); array
- Add HTML Attributes To Anchor Tags In `wp_list_categories()` Function
- Add a Different CSS Class Into The Body Tag of Different WP Pages
- List User order by ID in Descending order (Backend)
- php syntax – how to concatenate properly – echo bloginfo(‘stylesheet_directory)
- Woocommerce – remove product from category
- Get category name from custom loop and echo it once
- Display all categories including sub categories
- Why is this Ajax not working?
- wp nav menu: add attributes to menu items [duplicate]
- WordPress override bloginfo variable
- Put CSS inside a PHP file and include it the right way
- Shortcode content output but not in correct place
- An unwanted inline style is added to my body tag
- Custom category code not showing all posts
- Displaying theme options in css
- Admin Options page. Save as Array
- Show post in slider
- Problem adding class to body_class
- Category Thumbnail Display – How to display ONLY the main Category
- Where do posts get the sidebar from?