0
votes
1answer
53 views

Update Post Taxonomy Automatically Based On Date

I am using the below function to set a custom post type taxonomy to a certain term based on the current date. This is for an event that lists upcoming, ongoing, and future events at a venue. I need ...
1
vote
1answer
230 views

non-hierarchical custom taxonomy using checkboxes on edit-screen -> saving issue

I registered a non-hierarchical custom taxonomy ('property_features'). There is a checkbox for every terms of this tax in a custom meta box on the edit-screen. All terms are displayed and all terms ...
2
votes
1answer
317 views

How to assign default taxonomy to pages on 'save_post'?

I try to assign custom taxonomies to a page when newly added by the "publish" button. This is the function: function set_default_object_terms( $id, $post ) { if ( 'publish' === $post->post_status ...
0
votes
1answer
528 views

Custom Post Custom Taxonomy Data Not Saving in Edit Screen

I have a custom post type "projects" with a custom taxonomy "project_type." If I select a project type taxonomy within the post editor screen and hit update, the taxonomy isn't updated. Worse yet, it ...
0
votes
1answer
428 views

unable to save custom taxonomy terms in a custom-built metabox in wp-admin

I have created two custom taxonomies i.e states and provinces but am unable to save the data in custom build meta boxes in wp-admin: <?php function custom_meta_box() { remove_meta_box( ...
1
vote
1answer
480 views

How can I set taxonomy programmatically

Here is my situation. I plan to distribute a theme I am working on and it has a custom post type called Code and it has a custom taxonomy called Languages now I also use a custom metabox with a ...
2
votes
1answer
605 views

Post Formats in the context of the Database 'Save Post' function

I am trying to pick up an in-depth understanding of how post-formats relate to posts 'in the database' - i.e. what meta information when compiled together constitutes a post format. And yes, I do ...