I am assuming this is for the built-in Category taxonomy for Posts? This would be the way of doing it.
add_action( 'registered_taxonomy', 'my_custom_category_paragraph', 10, 3 );
function my_custom_category_paragraph( $taxonomy, $object_type, $args ) {
global $wp_taxonomies;
if ( 'category' !== $taxonomy )
return;
// Change the callback that renders the metabox with our own.
$wp_taxonomies[$taxonomy]->meta_box_cb = 'my_category_metabox_paragraph';
}
function my_category_metabox_paragraph( $post, $box ) {
// add our paragraph here
echo '<p>Hi there, sailor!</p>';
// Call the default meta box function
post_categories_meta_box( $post, $box );
}
Related Posts:
- Check if current category has subcategories
- wp_nav_menu not appearing for a couple pages
- wp_update_nav_menu_item() to insert categories
- How to get the url to tag & category base set by the user?
- Why adding Categories does not auto refresh in Backend while using my custom theme?
- is_archive() content being shown instead of is_category()
- Retrieve all posts within tag OR category?
- Edit the markup of categories list
- New Theme creation
- How to get data about category in category.php
- editing fonts of category links from the_category() funtion
- How to check category of of custom post type or not
- Set a them for all subset of category
- How to call custom category field data in theme?
- Different templates for different category tags
- Why category.php throw 404 in wordpress while calling paginate_links()?
- Woo Framework: woo_cat_featured not populating
- Inside a loop, how to change CSS class based on category name?
- Question on using custom structures for categories
- Getting the category title / description returns first matching post?
- Allow user to select categories that will display in post loop
- Insert HTML content in WP Query at specific point
- How do I retrieve the category ID (ugly permalinks) in my sub-navigation menu?
- Category page returns 404 error
- Show post categories
- filter a loop base on specific category
- Problem with multiple loops in wordpress theme
- How to add icon over specific thumb
- How to differentiate the homepage structure from the category page structure in WordPress template?
- How to detect /category and /tag base pages?
- WooCommerce shared categories
- Show the number of the post
- Products category search not working
- In if…else condition, the else statement shows even if if statement is correct
- Can’t display posts by filtering categories using isotope.js
- Media Library Categories
- How can I add HTML classes for current taxonomy/term hierarchy into my pages to simplify styles?
- Change single.php template based on parent category
- Show posts from all categories
- If it is a top level category show children otherwise show sibling categories
- Lowest catagory link
- How to get multiple loop in category.php, my scripts becomes madness
- Category base 404 – fix
- altering theme – content generated by PAGES not PORTFOLIO
- Category Archives: Show posts categorized in parent category only
- WordPress 3.5 how to determine if user is on category listing or category edit screen?
- Display only one level subcategory in wordpress
- How can i hide the authors box from a specific set of categories and post types?
- Get all first images of posts in same category
- How to display the category featured images [closed]
- How to make /category/ URL load properly instead of 404 error?
- Is There a Difference Between Taxonomies and Categories?
- Get rid of WordPress category, tag and author archives?
- Filtering categories in the permalink structure
- Why aren’t sub-categories nested after creating post in the WP Admin?
- Preventing index.php?category_name=something from redirecting
- How to get category id of current post?
- Trash bin for categories
- Categories’ hierarchy in URL
- How to get next previous category in same taxonomy?
- Check is category parent or not from its ID
- Which php file lists all the post of a category
- How to query posts from specific authors and categories using WP_query?
- Apply custom category template to subcategories
- How to customize tag and category post listings to show introductory content?
- List Terms in Category
- Can you have a single set of “canonical” categories shared by all blogs?
- List Posts by Category for a Non-Zero, Non-NULL Custom Field Value?
- How to customize category template?
- Customized landingpages for categories
- get_the_category_list open in parent window
- Show category images on single product page and product overview page
- Class active for Archive link – looped out
- Get parrent category name
- Display specific categories by ID
- Remove sub-menu item from admin menu
- How to add WordPress sub category without select
- How to hide category name
- Keyword search in multiple categories
- Targeting Parent Category Pages
- Change every post background based on category
- Linking doctors posts to specific services for a medical practice
- Showing HTML if Post is In Certain Taxonomy Term
- How can I filter posts by tag on the fly
- wp_nav_menu not appearing correctly on category page
- Post not found when filtered by category ID
- How to Show or Hidden Categories on page in WordPress?
- category description not showing in my woocommerce
- Hide Some Categories in Post Editor
- Exclude category from WP_Query args not working
- WordPress pagination based on category
- Make related posts display first in search result
- Children categories not shown in dashboard
- Loops in category description
- Detecting top parent category fails on home page
- Indenting Category list
- Category names on CPT archive pages [closed]
- Remove Comments section from certain category posts
- add an image field to wordpress category
- How to display category list with category description