custom-taxonomy Questions

2

Solved

I want to also add a filter tag next to the filter by category in the woocommerce products page. Below image is in ducth but I want to add another dropdown menu if possible.
Choplogic asked 22/8, 2018 at 9:42

1

I have multiple custom post types with custom taxonomies. I'm having a slug clash despite of having different parents. Here is my URL structure: /work/%client_name%/%project_name% I have a client...

1

Solved

This is my first attempt at working with WordPress rewrite rules so please bear with me. The issue is that all the items I add to my portfolio have multiple categories. I would like to remove the c...

1

Solved

I would like to identify if a product has an attribute or not. For example: if (product has attribute 'pa_color') { //do something } How can I accomplish this?
Edina asked 7/4, 2018 at 21:55

1

Solved

I'm trying to use a custom page for only one of the products in the woocommerce shop. I've been trying to apply the attached function but without success (which code is coming from this answer). I...
Nephralgia asked 11/3, 2018 at 16:3

4

Solved

I am creating a new template that will get all the custom post type (Case Studies) content, including the taxonomies values associated with it. So far I got the following: <section> <h1...
Outlawry asked 21/3, 2014 at 16:35

0

This has been asked lots of times in stackoverflow but I'm doing everything and nothing works I still get "Oops! That page can’t be found." I got a template where I loop the CPT taxonomies with th...
Apthorp asked 6/3, 2017 at 16:37

2

Through a series of specific requirements, I find myself needing to link to a custom taxonomy category using its term id... I've got this - which displays a link to all taxonomies - I wish to chan...
Vortumnus asked 11/4, 2012 at 12:31

2

Solved

I have a wp template that I would like to assign to some pages. The template would ie. display all WooCommerce products that have the same master category name as the pages name itself. By far I ...
Xanthate asked 28/5, 2016 at 23:9

1

Solved

Is it possible to hook a function when a custom taxonomy term (which is not known beforehand), (preferably custom taxonomy child term) is edited/saved, just like the way we can hook into save_post ...
Sialoid asked 8/9, 2015 at 12:50

3

I have a custom post type djs and a custom taxonomy city with two terms: boston and nyc. So a DJ can either be tagged as Boston or NYC. DJ profiles (a single djs post) are located at /nyc-wedding-...
Amaryllidaceous asked 25/7, 2015 at 0:49

1

I only want to show posts which do not have the term 'brand-slug' for the taxonomy 'product-brand'. My current query doesn't apply the filter: SELECT DISTINCT * FROM $wpdb->posts AS p LEFT JO...
Fructificative asked 24/6, 2015 at 21:50

1

Solved

i have a bit problem with Wordpress Taxonomies... Below you can see initialization of my custom taxonomy named job_keywords. function register_job_keywords() { $labels = array( [... lables here...
Flush asked 30/6, 2015 at 12:58

1

Solved

I am trying to display the custom taxonomy in author page with a counter but seems i don't know how to do it. i have a code in function.php add_action( 'pre_get_posts', function ( $q ) { if( !is...
Skricki asked 28/6, 2015 at 8:52

2

Solved

I've created custom taxonomies on WordPress and I want to display the current post taxonomies on the post in a list. I'm using the following code to display a custom taxonomy named "Job Discipline...
Caulk asked 19/3, 2013 at 14:54

2

Solved

I have created a custom single-sermons.php template file for my sermons custom post type and want to include the sermon speaker image custom field of the sermon speaker for this post. Custom Taxon...

2

Solved

I'd like to add a column to my custom post type admin window to display my custom taxonomy. This solution provided by @SarthakGupta creates the column for me but echoes neither the taxonomy nor th...
Solent asked 21/3, 2012 at 3:11

2

Solved

Pagination is not working on taxonomy.php. Here is my code for register custom post type and taxonomy add_action('init', 'ep_add_equipment'); function ep_add_equipment() { $labels = array( 'name' ...
Kittykitwe asked 25/11, 2011 at 13:17

2

Solved

I have a custom post type called portfolio and a custom taxonomy called build-type (acting as categories) I am trying to query portfolio posts by build-type ID e.g. all Portfolio posts in "Hotels"...
Flux asked 7/10, 2011 at 14:21

© 2022 - 2024 — McMap. All rights reserved.