A taxonomy is a generic "category" used to organize posts and custom post types

learn more… | top users | synonyms

0
votes
1answer
71 views

Prevent certain subscribers from seeing specific taxonomies (changes frequently)

I've created a taxonomy (let's call it tax). I need to limit what a user can see. The users can't edit anything, just read the blog. If it was just setting what they could see once, I'd probably just ...
0
votes
3answers
706 views

how can i display taxonomy instead of category on my web page?

I want to display taxonomies instead of categories on the homepage of my blog. What can I do to achieve this?
0
votes
1answer
188 views

Replacing a placeholder term with a session variable value in taxonomy filter

I have in my themes some code which will set a session variable. For the sake of example, it's a geolocation routine which will set to either USA, UK or ROW, resulting in: $_SESSION['region'] = ...
0
votes
2answers
166 views

How to display posts from two taxonomies?

I have site with rankings of doctors. Medical specialization and localization where doctors live is stored as a taxonomy. For example: city -> New York, London, Paris specialization -> surgeon, ...
0
votes
1answer
339 views

Bug using wp_insert_term with switch_to_blog

I'm running a network of about 80 sites using WP multisite 3.2. I'm experiencing irregularities using switch_to_blog whith wp_insert_term. To test this I have disabled all plugins, and am testing on ...
0
votes
1answer
3k views

How to get posts using category slug in ClassiPress?

I'm using the ClassiPress theme as a base for a new theme. If you have worked with classipress, you should know that classipress handles its own category using the taxonomy ad_cat. That said, I have a ...
0
votes
1answer
84 views

Using taxonomies to handle layout?

I need some tools to handle page/post layout in some specific cases -- for example, some post should render post thumbnail on the right side (not left), some "related post" item should not be linked ...
0
votes
2answers
143 views

How To Use Custom Tax of a Post Type

I've defined a custom post type. I've defined a custom taxonomy for this custom post type. I've populated the custom taxonomy. How do I make the list of custom taxonomy values show up in the admin ...
0
votes
2answers
184 views

Loop problem - Taxonomy

I think that I have a problem with the loop on my taxonomy page. On any part of the code (specially on the sidebar) that I need the permalink, it always return the link of the first item of the ...
0
votes
1answer
206 views

Best way to categorize/populate a magazine style layout

I'm taking the reigns of an existing Wordpress site that has a magazine-style home page with sections for featured articles, upcoming events, different categories of articles, etc. Currently, these ...
0
votes
1answer
1k views

Displaying taxonomies as category links within sidebar and creating pages for these

I've created a custom post type called 'work' for a portfolio section on the site I am working on at the moment. I have also registered the taxonomy 'workcategories' so that I can assign different ...
0
votes
1answer
170 views

How to output all taxonomy links from a custom post type in a menu?

I made a custom post type called Product. And a taxonomy with the name 'product-category'. These taxonomies have pages where we show a list of the products that have that taxonomy. Now my question is ...
0
votes
2answers
562 views

Query all posts under one taxonomy? Why is my code not working?

I'm trying to show all the posts associated with a Taxonomy (not a term) but it seems to not work. <?php $args = array( 'post_type' => 'projects', 'tax_query' => array( ...
0
votes
1answer
86 views

How to define %category% for custom taxonomies?

So when you put %category% in the permalink structure that tag will be replaced with the path from the root category to the furthest subcategory, where, when placed in multiple categories, it will ...
0
votes
1answer
1k views

Change or update WordPress loop based on dropdown selection

I have a Contact Us page which is showing 9 locations on the sidebar by querying the custom post type "Distributors." I want the user to be able to use a drop down that is populated by the taxonomy ...
0
votes
1answer
379 views

how to list parent terms only

I have the following code to list all terms, but I need a code where I can list only "parent terms" as they all have child terms too <?php // output quick links list of countries $terms = ...
0
votes
1answer
438 views

Display ONE taxonomy and its assigned pages

Quite a straight-forward question but I haven't been able to find a solution. I have created a page which lists categories within a taxonomy called 'Themes'. I now want each link in the list to point ...
0
votes
1answer
105 views

Taxonomies on Pages with Custom Formatting

guys, I'm fairly new to this so thanks in advance for your help and patience. So I've recently started using the WPAlchemy class on my site and it's really been an amazing time-saver. The main thing ...
0
votes
1answer
203 views

Combining these queries? (Same taxonomy term + same category as post)

I´m not to good at coding so I could use some help with this! I have a single page which below the post shows more posts from the same category. Then I have another single page which in a similare ...
0
votes
2answers
283 views

Select query with two and two related taxonomies

is this possible for 2 taxonomy and 2 terms $querystr = " SELECT * FROM $wpdb->posts LEFT JOIN $wpdb->term_relationships ON($wpdb->posts.ID = $wpdb->term_relationships.object_id) ...
0
votes
1answer
413 views

How to use taxonomy term as permalink folder

I've searched around and haven't found a way to do this yet. I'm trying to create a custom post type that will display a permalink structure that uses the term of a taxonomy as the folder name. ...
0
votes
2answers
255 views

How can I remove image taxonomy pages from my theme and from Google?

A lot of my theme's image pages are ranking on Google. I'd like to remove these pages entirely from my theme so they no longer rank. When a user hits these image pages the content is taken out of ...
0
votes
1answer
2k views

Return single taxonomy term outside the loop

I'm trying to list just the first taxonomy term outside the loop. This is working fine but it lists all terms, and I just need the first - any suggestions? $taxonomy = 'taxonomy-name-here'; ...
0
votes
3answers
139 views

Related Taxonomy Doesnt Show any Posts

Doesnt Show Any Results <?php $query = array( 'tax_query' => array( 'relation' => 'AND', array ( 'taxonomy' => 'location', 'field' => ...
0
votes
1answer
416 views

How to relate to 2 taxonomy with category

I really need your help my question is this, is it possible to relate to taxonomies? This is My Problem sample: My post type is "show" taxonomies and the categories location (Taxonomy) Categories ...
0
votes
1answer
1k views

Taxonomy with_front causes all

I have a custom taxonomy, which sets the with_front to false to try and get the URLs to look like /%type%/%brand%/%product%/, degrading as we go down. This however is driving me nuts. Everything in ...
0
votes
1answer
1k views

How to order a taxonomy's terms numerically, from lowest to highest using get_terms

I'm using get_terms to output a taxonomy's terms, which are all numbers: For example: 4, 6, 8, 10, 12 How can I order these numerically, so they appear exactly as above? What I'm getting is ...
0
votes
2answers
116 views

Geting error in post and category [closed]

Hallo, I have in my blog now add a Plugin [Custom Post Type UI] and have great a Post type movies and taxonomies like genre,actors,directer..... like this all ok now i have great a test post min add ...
0
votes
1answer
118 views

sidebar troubles, taxonomy trouble

can you help me with two things : i have different movies, to classify into different "genre", should i use "taxonomies" or the already built in "category"? is taxonomy more appropriate in this ...
0
votes
1answer
3k views

Custom post type and taxonomy page templates

This is my first real delve into custom post types and taxonomies, i suppose it will all come to me in a flash of inspiration but right now i have confused myself beyond all realms of possibility and ...
0
votes
2answers
85 views

Get something out from taxonomy

I like to use the new taxonomy to make a little CRM, really simple contact - name - tel - email - company Fine, the secretary will enter all the name in the database of the cms (WordPress), and i ...
0
votes
1answer
1k views

Query multiple taxonomy in Custom Post Type

Currently I use: query_posts("post_type=listing"); to pull all entries of my custom post type. But I have a taxonomy called status with the values of Available, Pending, Sold. I only want to show ...
0
votes
2answers
263 views

Taxonomy Dropdown Question

I need to replace the show_option_all (which show all my taxonomies), with: a command to show three taxonomies (ID 14, 15, 16) and label this 'all' Basically, when someone selects 'all' i only ...
0
votes
1answer
2k views

Use wp_list_categories to list parent categories from actual term

I currently have a taxonomy called wpsc_product_category. Under that taxonomy I have several terms used as sub-categories, and finally each sub-category has a number of products. I'm trying to use ...
0
votes
1answer
991 views

get_term_by with a variable

I have a Custom template with a custom query. I want to use additional information about the current taxonomy > description and name (and use it in the HEAD, desc, keywords, etc...) <?php ...
0
votes
1answer
994 views

Displaying Custom Taxonomy Children in Dropdown

I have a question I hope you can help me with. I have a custom taxonomy called locations and on the first level I have the areas (Asia, Europe, etc) and under each area I have countries (England, ...
0
votes
2answers
457 views

Custom Taxonomy With Author?

I have a picture website that has about 300 contributing authors. I want to have it so any author can submit a request of pictures that they want on a list. The list then would be credited to that ...
0
votes
1answer
597 views

Display Post by taxonomy and taxonomy child

This is a follow up to Display Post by taxonomy and taxonomy child if exist I need to display a list of Accomodation, first by Type of Accomodation, then by Regions. I have a post-type, called ...
0
votes
2answers
1k views

WP Search using taxonomy terms

I have been looking for hours for an example on how to do this. I have 2 simple taxonomies, Type, Size. I need to create a custom form with the 2 taxonomies available as Select list/filter. Please ...
0
votes
1answer
932 views

How to link categories to custom taxonomy terms?

In a site I have registered some custom taxonomies. I want to have sort of a linkage between one of the custom taxonomies and the categories (which is, also, a taxonomy by itself), in such a way: If ...
0
votes
1answer
278 views

Displaying posts of given category

I'm facing a strange problem: <?php $loop = new WP_Query( array( 'post_type' => 'ff', 'orderby' => 'menu_order', 'order' => 'ASC', 'posts_per_page' => 10 ) ); while ( ...
0
votes
1answer
10 views

Programatically added attribute, set to 'show on product page' automatically. Woocommerce

Ive written a script to import products to a new install of Woocommerce. The products have attributes set up in the admin. This bit of code adds the attributes on import. ...
0
votes
0answers
15 views

Get 1st child of category only

At the moment, I'm using get_term_children() to get the children of a category. The problem I'm faced with now is that I only want the first child. I assume I would use get_terms() instead, but I've ...
0
votes
0answers
10 views

How to use one taxonomy for different needs?

I have a taxonomy called "Names" (like tags) where I store people names and for example, I have a custom post type called "Photography" where I want to tag people who appears in each photography and ...
0
votes
1answer
24 views

Sorting on Taxonomy in archive page

<?php get_header(); ?> <?php //Define the function function customize_customtaxonomy_archive_display ( $query ) { if (($query->is_main_query()) && (is_tax('employee'))) ...
0
votes
2answers
29 views

Admin: Navigation Menus do not show empty categories/taxonomies in the list's search tab

This is referring to the Admin area of Navigation menus It seems the normal behavior for building out Navigation Menus (Appearance>menus) is that when you expose categories or custom taxonomies, that ...
0
votes
0answers
14 views

I want to list my custom taxonomy with a custom post type in a plugin

I've created a simple plugin for a custom post type. What fully works with an arhive page and a single page. Now I'm trying to add ann taxonomy to the custom post type. // Register Custom Taxonomy ...
0
votes
2answers
21 views

Custom Taxonomy Terms in Menu lead to which page?

Hello All I was wondering if someone could help me out. I have created a custom post type along with a custom taxonomy. In this custom taxonomy I have created custom terms through the wp dashboard. I ...
0
votes
1answer
16 views

Unable to link categories to custom post type using standard function

I see a couple similar questions here, but they appear to be either directed at registration process, and involve editing core plugin - or they reference what I am already trying to do (but for me its ...
0
votes
0answers
15 views

How to create Custom Taxonomies & Display them in posts with Custom CSS/HTML values? [closed]

OK, I have searched high & low for this 2 part question all over google without a result. Firstly i got my inspiration from an old blog theme no longer live on the web as my Blog is going to be a ...