Tagged Questions
0
votes
1answer
35 views
Changing taxonomy term by slug (wp_update_term)
What I am trying to accomplish is to update a taxonomy term name using its slug rather than the $term_id
Wordpress does this by:
<?php wp_update_term( $term_id, $taxonomy, $args ) ?>
Is it ...
-1
votes
1answer
184 views
How to create drop down for child categories of current taxonomy being viewed?
I need to know how can I get the child/grandchild terms of the current taxonomy being viewed, and put it into a drop down so that I can add values to the options.
I am currently using this code to ...
0
votes
0answers
62 views
How to pass the term slug to the ajax function as a parameter [closed]
this is the original code of the script
var $mainCat=$('#main_cat').val();
and i replaced it with this
var $mainCat=$('#<how to pass the slug here>').val();
echo '<ul>';
foreach ...
0
votes
1answer
141 views
Does WordPress limit the length of slug names for Post Meta or Terms?
The WordPress Codex states the the Post Type Names and Taxonomy Names have a limit to the slug name.
Register Post Type -- max. 20 characters, can not contain
capital letters or spaces
Register ...
4
votes
1answer
166 views
Dynamic taxonomy in permalink made all other posts NOT FOUND?
I added my taxonomies in the permalink instead of the Custom Post Type's slug, and it works fine. I'd even say everything was working fine but changing the WP installation to Multisite broke all other ...
1
vote
1answer
871 views
How do I get the slug of a custom taxonomy category of a post?
In my template file, I loop through posts that are categorized either web, print, or marketing in a custom taxonomy portfolio.
How do I echo the slug of each posts category?
2
votes
3answers
698 views
Taxonomy archive with same slug as custom post type?
My head hurts...
Here is what I have:
Custom post type: Our People, slug => our-peopleTaxonomy: Job Title, slug => job-title
I have an archive page for the Our People CPT at domain.com/our-people.
...
0
votes
1answer
91 views
Need equivalent of single_term_slug
I am building a taxonomy archive page and I am trying to create a linked instance of the current term outside the loop. So, let's say my taxonomy and current term are:
Taxonomy: Animals
Term: ...
1
vote
1answer
724 views
remove custom taxonomy base / slug [duplicate]
Possible Duplicate:
Remove slug in taxonomy url
I'm using proreview theme and it uses a custom taxonomy called "review-cats"
In of this
www.domain.com/review-cats/clothing
I want
...
0
votes
2answers
600 views
Custom Permalink with Dynamic Taxonomy for Custom Post Type - Works, but breaks other permalinks
My custom permalink with dynamic taxonomy is working for my custom post type. However, it breaks all my other permalinks. They display a 404 error in the content area (header and sidebar still ...
0
votes
1answer
119 views
How to add categories to taxonomy pages? [closed]
the story:
I use wordpress to build my site with 3 categories "red", "green", "blue" and registered custom taxonomy "products" that includes some taxonomies like "pen" etc., I created a template ...
4
votes
4answers
2k views
Theme localization of “slugs” (custom post types, taxonomies)
in my theme I want to define a series of custom post types and custom taxonomies, each one having its own customized slug; the base language of my theme is english, therefore the slugs will be in ...
1
vote
1answer
220 views
How to edit/remove a term that's in multiple taxonomies?
Some of the terms on my site appear with the same exact slug, in multiple taxonomies.
For example: 'education' appears in both the 'department' taxonomy and the 'topic' taxonomy.
Now, I can't seem ...
0
votes
2answers
565 views
Filtering front page by custom taxonomy using slug [closed]
I'm trying to sort by a custom taxonomy on my front page here: http://www.jamesfishwick.com/
That is, a user can pick a skill from the "Works" menu and sort. Example: selecting/filtering by "jQuery" ...
3
votes
1answer
608 views
The same slug in multiple taxonomies
We have a project that uses several custom taxonomies, and we're finding that the client wants to add the same term in several of them. While the first slug for Foo may be foo, subsequent copies of ...
1
vote
1answer
1k views
Remove taxonomy base or term from url
I know there are a lot of posts about this here, but NONE of them have answered my problem.
I am working with a custom built theme that has a custom category type (named messagetypes). I have a ...
2
votes
1answer
295 views
Why does WP rename similar “term name”-slugs in separate taxonomies?
I have several custom taxonomies and within two of those ( Company Categories and Photographer Categories ) I have a term that is similar. The Company Category called Boudoir and the Photographer ...
0
votes
1answer
745 views
Listing all slugs?
I have a number of slugs and items in my custom category:
SLUG - number
video - 5 items
music - 5 items
[no-slug] - 5 items
empty - 0 items
blabla - 0 items
I want to list all non-empty slugs ...
0
votes
3answers
1k views
Get wordpress taxonomy slug name(s) to use as div class
I'm trying to mark up my posts using their custom taxonomy slug as the div class so that they can be filtered...
So far what I have displays the taxonomy name but what I need is the slug so I have a ...
1
vote
3answers
1k views
How to create non-unique sub-category slugs?
What’s the best way to make Wordpress accept non-unique sub-category slugs?
By default, Wordpress ensures that every ‘slug’ portion of permalink URLs is unique, and is very savvy about using this to ...
7
votes
1answer
2k views
custom taxonomy and pages rewrite slug conflict gives 404
I'm using the Custom Post Type UI plugin to create my custom taxonomies. I have a portfolio that is made up of projects (custom post type) with 2 custom taxonomies of technologies and clients. The ...