Make a custom_post translatable
Make a custom_post translatable
Make a custom_post translatable
What is “sermon date”, is it the custom field? If so, your meta_key is the name of your custom field used for that date. If not, how are you getting the sermon date? Might be something like this: $args = array( ‘post_type’ => ‘sermons’, ‘meta_key’ => ‘sermon_date’, ‘orderby’ => ‘meta_value’, ‘meta_type’ => ‘DATE’ ); $query … Read more
Custom Post Types hierarchy and rewrite
First get the posts that have the taxonomy you need $posts = get_posts(‘resource type’ => ‘archive’) Then loop the results and use this function wp_get_post_terms($post_id) I think you got it figured out how to display your results
you may try to de-register/unset default post type and register post type with your requirements. if ( ! function_exists( ‘unset_default_post’ ) ) : function unset_default_post( ) { global $wp_post_types; $post_type=”post”; if ( isset( $wp_post_types[ $post_type ] ) ) { unset( $wp_post_types[ $post_type ] ); return true; } return false; } endif;
You should create pre_get_posts filter and trigger in the $query->is_search() to check if post_type is set to author and if it is then unset post_type to posts or what evver you want and set author parametrs to $query object. related links: https://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts https://codex.wordpress.org/Class_Reference/WP_Query#Author_Parameters Or you should create another select, listing all users and give it … Read more
First, register your taxonomy and set the slug argument of rewrite to shows: register_taxonomy( ‘show_category’, ‘show’, array( ‘rewrite’ => array( ‘slug’ => ‘shows’, ‘with_front’ => false ), // your other args… ) ); Next, register your post type and set the slug to shows/%show_category%, and set has_archive argument to shows: register_post_type( ‘show’, array( ‘rewrite’ => … Read more
TinyMCE style formats for different post types
Correct procedure for advanced permalinks
Filtering posts list table