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?
- Display All Products by Category with WooCommerce
- Add a URL prefix to permalinks of one category of posts only
- Woocommerce get category image full size
- Add forward slash on categories url (serve one version of a url)
- Elegant way to add parent categories?
- Alphabetical Index Page
- adding custom fields to next and previous post link
- Categories Listing with “selected” category highlighted
- Using same slug name for a page and category
- Getting WordPress custom taxonomy/category?
- How to get post category title within the loop?
- If category is in parent category?
- Hide posts of a certain category unless logged in
- Problem displaying one post from each category
- get_posts and multiple categories
- How do I get rid of “category” from my URL structure?
- Only one post is showing on category page, why?
- category pagination got broken suddenly
- how to get full category path including parent and subcategories
- WordPress get from single.php back to the right category page
- Include WooCommerce product to all child categories
- Two columns in homepage each with one category
- WordPress link to post links to category (loop)
- Display all product tags associated with a specific product category
- How replace individual elements in the RSS feed with a single string
- Category url generate 404 error
- Adding a page summary to a specific page
- Include either name or slug in the include parameter using wp_list_categories?
- get cat id is not working from custom taxonomy
- How to add image for all posts associated to specified category?
- Show the current post’s category, without displaying parent category
- display category with background color
- WooCommerce Product category can be shown with multiple related URLs
- Categories are not available AT ALL under Menus
- change image on single product page with js
- How to get all post categories without custom post type categories?
- Show alternative menu based on page template AND post category
- Display Category yearly wise in wp
- Get all subcategories IDs from categorie or categorieIDs
- Redirect category archives to pages
- How to create a category loop on my blog (ACF Plugin)
- Using heirarchial tags or Custom taxonomies
- Get posts base on category ratio of more then two categories
- Images appear in the header on all pages, but not category.php
- WordPress and “pretty permalink”
- New Category – custom taxonomy
- Use get variable when rewritten url in wordpress
- Back to category link
- exclude category in loop.php