A taxonomy is a generic "category" used to organize posts and custom post types
0
votes
2answers
278 views
Remove Parents From Permalink of Hierarchical Taxonomy
I have a custom hierarchical taxonomy called "places" set up with categories like so: Services > Financial Services > Financial Advisors.
The permalink for this category listing page is currently ...
0
votes
2answers
19 views
Override Taxonomy Template
I'm trying to list all the products tied to a specific taxonomy. For some reason the template won't work when trying to access "http://www.myexample.com/product_categories/funiture/", I tried ...
1
vote
2answers
126 views
How to sort list of custom posts to get view like a tree of posts under categories and their children's categories?
I'm new here and my english isn't perfect so I'm sorry for this :) I'm here because I'm workin on site with post list sorted by category and I have problem with sort out my posts in categories and ...
0
votes
1answer
29 views
input radio 'checked' saves, but select option 'selected' doesn't
So I followed a tutorial on how to create a meta box w/ the taxonomy terms shown in radio buttons. (Tutorial here for others if interested: ...
0
votes
1answer
298 views
How to use wp_category_checklist()?
I've recently discovered that we can insert a dropdown list of categories like this:
<?php
define( 'WP_USE_THEMES', false );
require( './wp-load.php' );
?>
<?php ...
1
vote
1answer
134 views
Count posts for each taxonomy term for each month
Cannot figured it out... I need to count how many posts there are for each taxonomy term form each month.
0
votes
0answers
14 views
Maintain custom post types and taxonomies in all themes [duplicate]
When I change the theme in dashboard, activated plugins that use custom post types, stay in the menu. But my own custom post types that I created myself disappear. Logically, It is because I create ...
0
votes
0answers
13 views
Delete Term via edit-tags.php
I might get rep'ed down on this - but is there suppose to be a "Delete" link on the edit-tags.php page? Note: not the WP-List-Table, but the actual page where you specifically view the terms ...
0
votes
1answer
19 views
How to set hierarchical terms to a post using wp_set_object_terms
I have a hierarchical custom taxonomy called "locations". The parent categories are country names, the child categories are the territories under the country.
How can i attach these terms to a post ...
0
votes
2answers
44 views
Get current custom user taxonomy
I’m using the plugin User Groups which lets me group users with categories. The plugin is working essentially the same as using the manual method (custom user taxonomies) described by Justin Tadlock ...
0
votes
1answer
23 views
create taxonomy
I am new to word press, I want to display results on a page which belong to some group from database(I have group column). I think this can be done by taxonomy so I have taxonomy table but I don't ...
0
votes
1answer
15 views
How to get next previous category in same taxonomy?
Like WP get_adjacent_post function gives the next and previous post data based on the parameters i want to get the next/previous category data is there any WP built in function which does the right ...
11
votes
7answers
3k views
How to show a hierarchical terms list?
I have a hierarchical taxonomy called 'geographical locations'. It contains continents on a first level, and then the countries for each one. Example :
Europe
- Ireland
- Spain
- Sweden
Asia
- Laos
- ...
0
votes
0answers
16 views
Curious, possible to make admin create/edit post page to look like taxonomy page?
This idea just came to me, where I thought it would be great to have something like this for CPTs that doesn't need much content/fields to fill out.
Basically a Post page where your able to add a ...
0
votes
1answer
15 views
Add category description to list of category with taxonomy image
I'm using the Taxonomy Images plugin.
Would like to list categories with their thumbnails AND descriptions. Code below give a list of categories (titles are linked to category archive) and thumbnails. ...
0
votes
1answer
340 views
Query Custom Post Type by Taxonomy
I've created a query working fine pulling posts from a specific taxonomy—but before I had only 7 taxonomies that were permanent, now I have sub taxonomies under that main taxonomy and they will be ...
1
vote
1answer
19 views
wp_insert_post not updating custom taxonomy selected if logged in as a subscriber
Here is my Code, it works fine When i try to post data from front end if Logged in as admin, but if i logged in as a subscriber code works fine but it is not inserting the taxonomy term i select, here ...
0
votes
2answers
31 views
Add text to the end of each list item in wp_list_categories
I haven't been able to find what I'm looking for and not sure how to approach it.
I'm using wp_list_categories to obviously list terms of a taxonomy. I'd like to add some text to the end of each ...
0
votes
0answers
20 views
Add a prefix term in a custom taxonomy slug
I am looking to rename the slug of a custom taxonomy when inserting a new term, adding to the default slug a prefix.
For example, if the term name is "something" I want the slug is "prefix-something" ...
0
votes
1answer
24 views
Looping taxonomy in taxonomy?
So I have a CPT of references (like a dictionary kind of format for music).
In it there are two taxonomies: medium_reference and reference_letter.
The reference_letter lists letters A-Z, while ...
0
votes
1answer
18 views
Custom taxonomy rewrite using tax name instead of rewrite slug
I Created a custom taxonomy for my projects custom post type.
function projects_taxonomy() {
$labels = array(
'name' => __('projects Categories'),
'singular_name' => ...
0
votes
1answer
124 views
Echo used hierarchical taxonomies parent name
I want to echo my hierarchical taxonomies parents which i used in my posts.
I've see answers about that, but no one didn't help me.
Now i using <?php the_terms( $post->ID, 'mytaxname', '', ' / ...
1
vote
1answer
124 views
Any way to assign Post Categories and Tags to Links?
I would like to assign post categories and post tags to the links in my 'Links' section, and (ideally) remove the link categories feature since it would be redundant.
Anyone know how to do this?
0
votes
1answer
43 views
Author template - separate custom post type by custom taxonomy term for $curauth
Basically I have a post type called photograph, I then have a Taxonomy group called "Subject" and several tax terms i.e. Abstract, freeze frame etc (Approx 18 in total) under that Taxonomy group.
I ...
0
votes
1answer
13 views
Problem importing categories and sub-categories
I have an array with the categories and sub-categories I want to import to the "campsite-district-county" taxonomy.
My sub-categories are not being inserted with the correct parent. They're being ...
0
votes
2answers
289 views
child_of not working in wp_dropdown_categories
I have wp_dropdown_categories working without setting child_of. Once I set child_of, all categories disappear. Here's my code, what should I do to enable child_of?
function dropdown(){
...
0
votes
1answer
119 views
Get terms in hierarchical taxonomy which are associated with page and are children of a parent term
I have a hierarchical custom taxonomy ("photos"), with 3 parent terms ("color", "location", "year"). Each parent term has several children terms. I have associated the "photos" taxonomy with pages and ...
0
votes
0answers
16 views
Auto create child taxonomies when Parent taxonomy is created
As the title says...How can i have child taxonomies to be automatically created when a parent taxonomy is manually created, Like this
Parent Taxonomy : USA ------------------> Manually created
...
0
votes
1answer
139 views
Why does my taxonomy code display the first alphabetical term?
What i am trying to do is echo the last hierarchial child term for the taxonomy. My taxonomy is propertytype.
My hierarchial structure is:
Real Estate (Parent)
Commercial (Child)
Offices (Child of ...
0
votes
1answer
192 views
wp_list_categories, Add class to all list items with children
I'm using wp_list_categories(); to show a list of all the terms within a custom taxonomy but I need to style list items that have children differently to those that don't.
Is there a way, PHP or ...
0
votes
2answers
52 views
Get post by term from custom taxonomy in another blog on the network?
I'm having trouble getting post by term in a custom taxonomy I have set up. The catch is this is multisite and I'm getting this data from another blog on the network where the taxonomy is registered. ...
0
votes
0answers
27 views
Get posts under a category with SQL
How can I retrieve posts under a category with plain SQL with out using WordPress native api's like get_pages?
My Wordpress table wp_terms contains a term named Restaurants.
I want to list the post ...
0
votes
1answer
219 views
getting the parent from the wp_term_taxonomy
Is there a built in wordpress function that let's me look up the
"parent" field of the "wp_term_taxonomy" table if I pass the TT_ID to
it?
something like
get_value ( $wp_table_name, $id_fieldname, ...
1
vote
1answer
34 views
get_the_tags() not iterating through for/while loop, but will with foreach
I'm having a very peculiar issue with Wordpress right now that I can't understand, and hopefully someone here will have experience with it to help solve it.
I'm trying to iterate through the array ...
2
votes
2answers
2k views
Querying Multiple Custom Taxonomy Terms
I created a new taxonomy called 'country' and have two terms items inside it: 'USA' and 'Canada'. How do I go about querying this info? I have a filter page with two checkboxes:
<input ...
3
votes
1answer
105 views
Integrate post tags in Post Edit page with qTranslate
Summary
In the tags widget in the Post Edit page, I need to know a way to filter through:
the tags suggestions
the tag terms update when saving or updating the post
At least that is what I think ...
1
vote
1answer
42 views
Showing custom taxonomy column in taxonomy category listings immediately after create category
I add my custom taxonomy column with this code:
function manage_my_category_columns($columns)
{
if ( !isset($_GET['taxonomy']) || $_GET['taxonomy'] != 'products' )
return $columns;
...
0
votes
1answer
20 views
Get Link to Feed On Term or Taxonomy
Instead of building the link myself, I was wondering if wordpress has a function which generates a link to a given feed, be it a taxonomy, term, or post type. Perhaps it might even generate the little ...
0
votes
1answer
114 views
How to Order a list of taxonomies? orderby?
I am using this code to fetch a list of child taxonomies. I want the order displayed to be alphabetical, but it is not! Any help in figuring out how to do it? I guess ordering it before returning it ...
1
vote
1answer
30 views
Include custom post type in “all posts”
(Working of off an existing team that the client already purchase.)
I have a WordPress install with a couple of custom post types:
portfolio
testimonials
I've set the taxonomy to hierarchical' ...
1
vote
1answer
577 views
How to add terms to taxonomy with wp_insert_terms?
I have a huge excel database of locations which I want to add as terms to my current taxonomy.
However, i don't know the best way to do this, as inserting manually could take weeks : (
I have ...
1
vote
1answer
34 views
Custom dashboard menu does not stay open for the custom Taxonomy within it
Short Version:
Custom menu with a custom post type that supports a custom taxonomy. The custom post type works, the menu for it works and stays open. The custom taxonomy works, but the sidebar menu ...
0
votes
0answers
14 views
Display Term Metabox Only On Certain Term Edit and Add Pages In Admin
I have a simple metabox added to a taxonomy and in turn its terms, however I am looking for a way to only display the metabox on a single term of this taxonomy, is this possible?
This metabox with ...
2
votes
1answer
104 views
How to add terms to a post depending on its title?
I want to add all posts with keyword "Dog Training" in the post title to a specific category.
Reason: If you enter something into WordPress search it's not an exact match. Previous WordPress search ...
1
vote
1answer
96 views
Combine two taxonomies in a hierarchical tree
For example, I have WooCommerce products that have taxonomies:
brand (e.g. Converse, adidas, D&G) (taxonomy id: product_brand)
category (e.g. Boots, Sneakers, Sandals, Heels) (taxonomy id: ...
0
votes
0answers
34 views
Display parent taxonomy name and list child taxonomies below it?
I have the following taxonomy structure:
Rich Media
course prep
demo modules
Moodle Setup
reteaching an old course
teaching new course
I want to display the parent tax name, and the child ...
1
vote
2answers
139 views
Custom taxonomies making WP very slow - Way to fix?
I've set up three custom taxonomies within my theme for attachment post types within Wordpress 3.5.1. One taxonomy is non-hierarchical (i.e. tags) and has about 800 terms in it. (I'm using WP to build ...
0
votes
0answers
38 views
How to exclude 2 Portfolio Categories from page?
I want to exclude 2 Portfolio categories (IDs 4 & 23) from a page using the code below but it still displays all categories. Similar code works for 'Posts' but not for 'Port' - can anyone see what ...
2
votes
1answer
43 views
Filter WordPress posts by between parameter
How to filter WordPress posts by a taxonomy and between parameter? Consider a mobile website with "memory size" taxonomy, I need to show posts that have more than 256 mb memory and less than 768 mb.
...
0
votes
0answers
36 views
Modify wordpress plugin to auto complete on taxonomies instead of title
I've been trying for hours to modify this plugin to work with custom taxonomies instead of post titles and/or post content
http://wordpress.org/extend/plugins/kau-boys-autocompleter/
Added the code ...