A taxonomy is a generic "category" used to organize posts and custom post types
0
votes
1answer
197 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
0answers
36 views
How to hide custom post types/taxonomies from permalink structure?
All questions about post types/taxonomies and permalinks seem to be about altering and changing the permalink. I wonder how to hide a post type or a taxonomy completely from search engines, prevent ...
1
vote
0answers
31 views
Sorting a specific taxonomy by archive date using URL
OK, so I'm looking for a way to sort a specific taxonomy by archive date using the site URL.
Say the custom taxonomy ("sort") value is "fruit" then then you would currently get all the posts marked ...
0
votes
0answers
110 views
Echo Custom Post Types - show project with taxonomy/category x on template y
I only want to show up projects with specific IDs. Now I have a filter, which allows me to select between different preseted taxonomies. Fine so far. On on specific template.php I want to show up just ...
0
votes
0answers
26 views
Trouble separating post types on taxonomy pages
I've created a custom post type "project" with custom taxonomies and am using those same taxonomies to categorize blog posts. I've figured out how to create my taxonomy.php page to list all things ...
0
votes
0answers
20 views
List category posts plugin - syntax for custom taxonomies
I am using the plugin 'List Category Posts' and have a custom taxonomy called 'sections' and within that a set of the alphabet A, B, C through to Z.
The id for A is 10 and the slug is a
Having ...
2
votes
1answer
51 views
Category page only displaying the posts from a custom type
Situation
I have two cpt:
Projects
Works
In these two CPT I share the same taxonomy 'Category', and the same terms:
Architecture
Landscape
Interior Design
I have URLs like
...
0
votes
1answer
48 views
Custom Taxonomy Page redirect 404
I have a custom post type 'BLOG'. I created archive-blog.php file to display archives. Also I register a taxonomy with it named as 'blog-category' and created a page 'taxonomy-blog-category' while ...
0
votes
1answer
42 views
Order taxonomy terms wordpress
It seems like something really simple, however I can't find a good solution to what I am looking for.
I created a page template that shows all my taxonomy term of a taxonomy called "news" eg:
paper1, ...
0
votes
0answers
54 views
get post types category links
I'm trying this to output the links from the post_type category.
<ul class="inline-catalog" id="i-cat">
<?php
$args = array(
'type' => 'product',
...
0
votes
0answers
17 views
Dynamically generating taxonomies
I'm writing a plugin to dynamically generate taxonomies. My question is should I write the register_taxonomy arguments to file or store them in the database? If I stored them in the database, how ...
0
votes
1answer
50 views
Apply custom taxonomy archive template to children
There is a slight problem that I cannot figure out by myself:
I created a custom post type (tours) with custom taxonomy (tour categories). I have created a taxonomy-tour-categories.php to display an ...
0
votes
2answers
90 views
100+ terms in any taxonomy slows down post updates?
I'm making a fairly large (for me) e-commerce shop with Woocommerce. The shop has ±1300 products and will be going to ±2000 products. There are also ±2500 Product Tags.
I've had speed problems on a ...
0
votes
1answer
96 views
Custom Field as Custom Taxonomy?
I have a custom taxonomy, "Country". I am using WP User Frontend to let users post to the site. Most data is saved as custom fields, so I have a custom field "cf_country". I want to be able to set ...
0
votes
1answer
43 views
Return selected categories only in custom page meta box?
I have a custom meta box added to the Page edit screen. I also have categories turned on for Pages.
I'm using get_categories($post->ID); to retrieve a list of categories, as you would in a page ...
0
votes
1answer
56 views
Select default taxonomy on dropdown
I have the following code for adding a dropdown box with a new taxonomy currently the default when I create a new post is None. Is there a way I can define a default, for example News.
function ...
0
votes
2answers
62 views
Get Taxonmy Term ID For Current Post
If I wanted to get the category ID for the current post, I would use something like this:
<?php foreach((get_the_category()) as $category) { echo $category->cat_ID . ' '; } ?>
How can I do ...
0
votes
1answer
109 views
Query Multiple Custom Post Types & Exclude a Taxonomy Term
I'm querying multiple custom posts types and I'd like to filter certain posts that are tagged with a specific taxonomy term.
The taxonomy is "content" and the term is "indy"
I'm using the the code ...
0
votes
2answers
84 views
Targeting categories in custom fields
I was hoping somebody could help me out with custom fields.
I created a custom post type called game-type in WordPress. In this I have the categories "Android", "iOS" and "PC", then within these I ...
0
votes
0answers
6 views
Taxonomy view page doesn't show terms with parents [duplicate]
I'm using a script that inserts a lot of terms at once. It always has a parent and child term and checks if they exists and add them. The problem now is that the term urls don't work and the taxonomy ...
3
votes
1answer
139 views
Custom taxonomy on permalink
I have a long time problem and look forward for your help.
I have a custom taxonomy of "city" (it is no hierarchical like tags).
I just would like my URLs to look like this:
...
-1
votes
1answer
38 views
Getting taxonomies specific to categories
I have categories set up for car manufacturers.
I have 4 custom taxonomies that are also set up: color, starburst, offer_type, and logo_count.
Each post I upload to my wordpress has values for all 4 ...
0
votes
1answer
388 views
List all custom post type posts from a given category?
I have a custom post type myposttype and it's taxonomy is called myposttype_categories.
myposttype_categories have multiple terms inside, such as foo and bar.
The tricky question is - how do I list ...
0
votes
1answer
179 views
SQL QUERY needed to get POST category (taxonomy) ? - MUST be SQL statement
Working on a tool outside of Wordpress to query the wordpress database by POST_ID and return the Category Name associated. This is for a real estate website, and the Categories are called ...
1
vote
1answer
68 views
Add a css class to a taxonomy permalink
I need to add a css class to every <a> element retrieved by the_terms() (or similar function) in order to open the taxonomy permalink in a fancybox modal window.
I've been searching this whole ...
-1
votes
2answers
123 views
Using 1 taxonomy for multiple post types?
I previously declared the taxonomy " artist " for a profile post type.
Now i am creating a CD post type and would like to use the same artist list from the profile post type
That is one example if ...
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
1answer
276 views
Setting selected term_id with wp_dropdown_categories?
I'm using this code to get the term_id of a custom taxonomy. The drop down does list the terms of the taxonomy Type. When I print the $terms variable I see the term ID of the post i'm editing on the ...
0
votes
1answer
115 views
Building a Data Intensive Website with Wordpress
I am an intemediate website builder and have been working with wordpress for a few years. I am attempting to build a website (for myself) that is data intensive. All I've built to date are sites ...
1
vote
1answer
78 views
Function to limit the number of posts in taxonomy.php
How can I change the post limit for taxonomy.php from that which is defined in the settings page?
Currently I have 10 posts displaying per page, which is fine for the blog part of my site, but I want ...
1
vote
2answers
42 views
How can i list the categories of a post type, the taxonomy
How can i retrive the categories from a post_type that i select.
I have a Custom_field - categorie_serial
<?php
$values = get_field('categorie_serial');
if($values)
{
echo '<ul>';
...
0
votes
1answer
44 views
Taxonomy list names with lowercase
I try to make custom taxonomies names to display with lowercase, but for some reason it doesnt work and show all taxonomy titles with big capital. Here is the code that i use:
$genre = ...
0
votes
1answer
72 views
Only display latest custom taxonomy post
I have a custom taxonomy set as a "splash" on my front page, I would like to only display the latest one of these taxonomies as a splash, and any older ones to be returned to the loop and displayed as ...
1
vote
1answer
41 views
How do I do this with WordPress? Taxonomies?
I was hoping to get some help with how I organise posts in WordPress.
I have 2 Custom Post Types called 'Places' and 'Events'.
In the Admin, I'd like to be able to create a 'Place' post and ...
0
votes
2answers
303 views
Custom post type, taxonomy and admin bar
I have two kind of post types in my WordPress website:
"Articles" which is the classic post type
"Breves" which is a custom post type
I want them to share the same standard categories and post ...
2
votes
1answer
151 views
New categories are now going to 404s
I have a WPMU site with hundreds of blogs on it. We are on 3.4.2 and this is the first time I'm seeing this issue within a few of my sites.
Basically, what happens is that I'll create a new category ...
1
vote
1answer
44 views
Taxonomy Tag Conditionals
I'm using jigoshop as main ecommerce plugin.
Jigoshop use Taxonomies call, product_cat and product_tag.
In my theme I use a default (h5bp) 404.php, so every time a tag doesn't exist I get the ...
0
votes
1answer
28 views
Categorize wordpress tags
I have problem about categorizing wordpress TAG, in my case for language.
for example:
postA: englishtag1,englishtag2,englishtag3,
chinesetag1,chinesetag2,
postB: ...
1
vote
1answer
55 views
How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
Now the order is: apples, oranges, pears.
But I want to be in a random order, for ex: oranges, apples, pears.
Or to write them in a order that I want.
Is this possible?
Taxonomy is like that:
...
0
votes
1answer
329 views
Get post-meta value of all custom-posts - lowest to highest year-count?
probably tough to describe:
I have a custom-post-type called wr_event and a custom-field for it called event_date.
I have a lot of posts and each of those posts has set an event_date. Pretty ...
0
votes
0answers
11 views
How to remove “Add new taxonomy” form in manage taxonomy page? [duplicate]
Possible Duplicate:
How To Remove The “+ Add New Category” Link From A Category Metabox
For this case in use taxonomy name "Country"
in the picture how to remove this form. So I can ...
1
vote
0answers
42 views
Flat category URLs but retaining hierarchy?
I have the categories as follows:
- Beauty
-- Hair
-- Makeup
WP expects the URLs to be:
/beauty
/beauty/hair
/beauty/makeup
Is it possible to have the following links while still keeping the ...
0
votes
1answer
181 views
Registering tags taxonomy for a custom post type
The actual post type support categories and I want to add also support for tags.
I have this code:
register_taxonomy(
'category_' . $slug,
array( $slug ),
array(
...
0
votes
1answer
113 views
How to display posttypes and taxonomy in standard posts, not in a separate label?
I want to display some taxonomies directly in "Posts" label, as standard post, not in a separate label like "Books" for exp., but i don't know how.
Is there a way to do this?
This is the code:
class ...
0
votes
1answer
300 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
2answers
128 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
2answers
143 views
WP Query with custom taxonomy
I'm just getting used to the WP Query and was hoping I could get some assistance on this.
I've created a custom taxonomy (theme) and now want to display the latest post with one of these taxonomies ...
0
votes
2answers
88 views
How can i count post from my post type taxonomy
How can i get the count for published post from my custom post type , from my taxonomy.
I have Custom Post Type : trailers, Taxonomy : trailere-noi
<?php
$items = get_posts( array(
...
0
votes
1answer
313 views
Create custom taxonomy and Display in metabox dropdown
I'm looking to create a dropdown in the post edit screen which contains 3 already existing tags. What's the easiest way of doing this?
Basically all I'm looking for is a simple drop down which adds ...
1
vote
1answer
69 views
Filter taxonomy terms using multiple id in the edit-tags.php
I want to use the edit-tags.php search function with multiple term id's. For example, if i type into the searchbox something like this: #1245&6832, it should display these two terms in the results ...



