-
Make it
show_ui => false
Then to show it on the post edit screen add the box manually
add_action('add_meta_boxes', 'meta_boxes_function'); function meta_boxes_function() { add_meta_box('categoriesdiv', 'categories', 'post_categories_meta_box', 'blurb', 'side', null, array('taxonomy' => 'categories')); }
-
use this code for every static term
if(!term_exists('term1', 'categories')) wp_insert_term('term1', 'categories');
Related Posts:
- Redirect to another page using contact form 7? [closed]
- Set a Default CPT taxonomy by taxonomy id
- How to change permalink structure for custom post type and it’s taxonomies?
- Get the first post term
- How do I append multiple taxonomies to the URL?
- Custom Post Types on Category Pages
- Setting Default Category for Custom Post Type Upon Autosave
- How can I list all the categories under a Custom Post Type (taxonomy)?
- How to list all categories and tags in a page?
- How to sort list of custom posts to get view like a tree of posts under categories and their children’s categories?
- How can you make permalink work for custom post type and taxonomy?
- How to get a list of term names of the custom post type im currently on in single.php
- Custom Post Type with Custom Title
- List all custom post type posts from a given category?
- Restrict categories to a custom post type
- Custom post type taxonomy template
- get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category
- Category page only displaying the posts from a custom type
- Show Post Count of a Category
- Menu Multiple Taxonomies
- Custom Post Types and Categories?
- How to create new category for custom post type?
- Get Post Primary Category
- Weird problem happening with custom taxonmy when creating/updating posts
- Pagination is not working on single-{slug}.php but works fine on page-{slug}.php
- How to get the post type from a category id?
- Should I use custom menu, C.P.T. or theme options, or something else for this?
- Set menu active state for custom posttype and category, given custom taxonomy term
- How to show CPTs in term archive
- Group posts by custom post type
- Display all posts in main category and 1 subcategory
- Show category ID on custom post type
- Display posts from Custom Post Type in category page on front-end
- Using default WP menu functionality to link to custom post-type listing?
- Categories of custom taxonomy don’t show any posts
- How to display custom taxonomies with links in filter menu?
- Hide parent categories when clicked, and show it’s childs
- Limit amount of posts made within a custom taxonomy
- Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms
- Review site custom post type structure
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Categorise Custom Post Types
- Categories and tags for custom post types
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- Ordering Submenu Pages in WP 3.1
- How can I have different content for different countries?
- get_category_link() for custom post type does not include custom slug rewrite?
- Targeting categories in custom fields
- How can I create an automatic drop down menu with my tags?
- Invalid Taxonomy
- Need help deciding on a taxonomy
- Get Posts by Category, Tag , and CPT Taxonomy
- Get assigned post categories
- Default Category Page not showing custom post type which has taxonomy category
- How to get the current category with custom posts
- Categories won’t appear on custom post type
- Custom Post Type with modified permalink structure results in 404
- Displaying One Custom Post Type’s Content On Single Post of Another Custom Post Type
- Get terms for a specfic post from multiple taxonomies in custom post type
- Problems making shortcode with custom post types and taxonomy
- cannot achieve this structure (custom posts VS categories VS ??)
- Query Multiple Custom Post Types & Exclude a Taxonomy Term
- Custom post type, taxonomy and admin bar
- Displaying taxonomies as category links within sidebar and creating pages for these
- Home page is getting current-menu-item even if it’s not home
- Placing Admin Post Metaboxes in Tabs
- Menu for taxonomies and posts belongs to taxonomy
- Multiple categories assigned to a single product breaking the breadcrumb
- Question about link two types of data in wordpress
- Create custom post type categories
- Automatic Set Category For A Custom Post Type
- Convert attribute woocommerce terms (taxonomy terms) in posts of custom post type
- how to create custom taxonomy drop downs for parents and child
- How to manage a dynamic multi-level page hierearchy system?
- Categories manage
- I can not call the categories of custom post type
- Custom post type category link + add to menu
- Reuse the “category” slug for a custom post type
- Help with Travel Guide Setup
- How to create groups like that in buddypress?
- Update Cateogory Taxonomy Count for Attachment Post Type
- Custom Post Type parent slug as menu item
- List all posts from custom post type by taxonomy
- Best way to structure article and issue relationship for CPT
- Custom Post Type used for FAQs Accordion
- Sort by Custom Post Type (Multiple Loop)
- Display all post types together
- Using get_terms() as shortcode attribute
- category_name not working in WP_Query
- How can I set up the URL for a category archive for a custom post type?
- Custom Post Type order Title ASC
- Query multiple post of which one by taxonomy
- Highlight specific menu item when custom post is page
- show only one category posts in admin
- Is it possible for post and custom post type to share a category base slug?
- Category display using conditions
- Separate archive template to show posts and CPT by same category/taxonomy
- Add taxonomy or category slug to custom post types URL
- How to determ a custom post type url?