Filtering posts in category by tag URL
Filtering posts in category by tag URL
Filtering posts in category by tag URL
How best to add Author or Artist to product
The post won’t use those templates because those aren’t intended for posts. They’re intended for the archive pages for those terms/categories/tags. What’s more, it doesn’t make sense for it to work that way as it introduces ambiguity. Case in point, if I have category-red.php and category-blue.php, which template gets loaded if I visit a post … Read more
ACF – Can’t get custom post type by taxonomy
Taxonomy template is not reading
Save Taxonomy of Post via custom Taxonomy Select Dropdown
I’ve found my solution.. In my functions.php I found the following functions which returns a 404 on several types: function remove_wp_archives(){ //If we are on category or tag or date or author archive if( is_category() || is_tag() || is_date() || is_author() || is_tax() ) { global $wp_query; $wp_query->set_404(); //set to 404 not found page status_header(404); … Read more
Cloning product not copying custom taxonomies
By adding ‘orderby’ => ‘term_order’, line solved this issue. $terms = get_terms( array( ‘taxonomy’ => ‘cities’, ‘include’ => $cities, ‘orderby’ => ‘term_order’, ‘order’ => ‘ASC’, ‘hide_empty’ => 0 ) );
Is this because WordPress knows no such thing as a taxonomy archive index page? My understanding is, that is not a thing. Hence, I wrote page-events.php as a page template, and the code content spits out the relevant queries to list the terms. Yes. All frontend pages in WP are post queries. WP looks at … Read more