A taxonomy is a generic "category" used to organize posts and custom post types
0
votes
2answers
90 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
316 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 ...
0
votes
1answer
66 views
query posts returns 10 records
I am using the following code to fetch records from a custom taxonomy.
if ($_GET['post_type'] == "developments"){ ?>
<?php
global $wp_query;
...
0
votes
1answer
91 views
Automatically show 'taxonomy' meta box by default in Appearance > Menus?
Is there a way (with code) to automatically show the 'taxonomy' meta box in Appearance > Menus ?
This way, the users don't have to click on the 'Screen Options' tab > 'Show on screen' > 'taxonomy' ...
0
votes
0answers
34 views
Getting custom post type listed by tags [closed]
I have a custom post type which has a custom taxonomy,
custom post type: Cars
Taxonomy name: Make
Taxonomies: BMW - Mercedes - Toyota ,...
I need a query to get all posts under "custom post type: ...
0
votes
1answer
197 views
Remove quick edit for custom post type
Is it possible to remove the quick edit function for a custom post type?
I have 14 custom taxonomy with hundreds of terms in each and it takes too much time and resource to load all of them into the ...
0
votes
0answers
49 views
Why is my taxonomy archive content only visible to logged in users? [closed]
UPDATE: Resolved
A plugin called Press Permit was auto-filtering the content types. I checked some boxes and it magically started working.
I have a custom built taxonomy. When I view the archive ...
0
votes
1answer
97 views
Custom columns for taxonomy list table
I have the following code to add a new column to my taxonomy edit screen (edit-tags.php?taxonomy=book_place&post_type=books)
function add_book_place_columns($columns){
$columns['foo'] = ...
0
votes
1answer
284 views
Display custom taxonomy attached to the post on post single page
I need to display the first custom taxonomy attached to the post on post single page. The custom taxonomy is similar to category attached to the posts. I need to display the first custom taxonomy with ...
0
votes
1answer
39 views
How to use this $tax_selection variable in this custom loop?
I took this code from this question (which shows how to let users choose which posts to display by choosing categories and tags):
Filter index page plugin
function.php
add_action( 'pre_get_posts', ...
3
votes
2answers
89 views
Taxonomy + post_type
I'm quite lost with taxonomies and custom post type.
I have a taxonomy -> auteur
I have custom_post-type -> citation (quote in french).
I just want list all citations (quote) from an auteur ...
-1
votes
1answer
492 views
Isotope Drop Down Categories Filter Function
I have a code in my functions file that I am using to generate a list of categories so that I can use isotope to filter the current page. However I need to know how to -
How to make it a drop down ...
0
votes
0answers
12 views
Is it possible to display posts of a certain tag ordered by their category?
I have posts with the following Categories:
Restaurants
Bars
Nightclubs
At the same time they can be tagged as:
Train Station 1
Train Station 2
Train Station 3
I'm not sure if this is possible ...
5
votes
2answers
707 views
How it is possible to use taxonomies on attachments?
With WordPress 3.5 was changed the media management and edit screen use the default of edit post type UI. The taxonomies is very usefull for WP installs, there have different users and attachment to ...
0
votes
1answer
111 views
ISOTOPE - Missing/Invalid Arguement Get Terms
I am trying to use the isotope plugin for sorting on my taxonomy page and even though I don't know much about how to set it up, I tried using some advice found on here.
Wordpress and isotope ...
0
votes
1answer
152 views
Filter/Sort Post Form On Taxonomy page
I am trying to create a form on the taxonomy template that will be able to filter the posts the current user is viewing. I want to use a few drop downs and submit button to do so.
My code looks like ...
0
votes
1answer
121 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
1answer
57 views
Add URL field to wordpress taxonomy
Like the title states I'm trying to add a URL field to taxamony.
function create_post_type() {
register_post_type( 'brands',
array(
'labels' => array(
'name' => ...
0
votes
1answer
75 views
WP native tag suggest metabox. How does it process tag id?
As you know, there is a metabox that suggests tags as you type to input box. Is anyone knows how this function gets the tag's ID (term_id) which is selected? I have looked at some of the core files ...
1
vote
1answer
132 views
How can I hide tags on a child-category page, if that tag has not been used?
I have a section of my site where I'm using child-categories and tags to sort content.
I'm have a tertiary navigation for the tags (templates/nav-tags.php):
<nav class="side left">
<ul ...
3
votes
1answer
42 views
Custom taxonomy: same terms, but for different years
I'm building a directory of people in a boarding house. What I'd like to do, is to be able to assign the following metadata to each person:
Room number
Parking space number
Leadership positions
...
0
votes
1answer
220 views
Archive template for taxonomy terms
I have registered a custom post type [equipment] and have a taxonomy of [equipment_type] within the taxonomy I have parent and child categories. For example:
Equipment (Custom post type)
Equipment ...
1
vote
1answer
47 views
How to get the id from the custom category?
How do i get the ID from the current custom taxonomy (category) the user is browsing?
It uses a custom post type called "products"
The categories are called "pcategories"
With normal categories i ...
1
vote
1answer
58 views
Show Available Taxonomy List with Current Category
As you can see from the image, I am listing all categories and the cities (taxonomy list).
What I want to do is :
If Car classifieds is selected on cities list show the city name which has car ...
0
votes
1answer
107 views
creating categories programmatically
I'm creating a batch uploader and it would be good if I could also add categories with parent categories to my posts.
I have the following code:
$my_cat = array(
'cat_name' => ...
2
votes
0answers
71 views
Post Link Filter Help
I Am probably being a complete tool here but I am trying to change the permalink on my custom post type to a particular category child. The code in essence works but I cannot for the life of me figure ...
4
votes
1answer
179 views
Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
I have registered a custom post type 'Clients' and a taxonomy for this post type for categorizing posts. There are currently 3 categories for a Client: 'Logo Project', 'Video Project' and 'Web ...
0
votes
1answer
89 views
Wordpress Taxonomy Menu
I have got the following simple code.
<ul id="filter"><?php
echo '<li class="active"><a href="#" class="all">All</a></li>';
if ( $count > 0 ) { ...
0
votes
3answers
159 views
Using get_terms for custom taxonomy in functions.php
I`m trying to retrieve the names of taxonomy items and include them into a theme admin panel.
function retrieve_my_terms() {
global $terms;
$terms = get_terms('taxonomy');
foreach ...
0
votes
1answer
116 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 ...
0
votes
1answer
105 views
List of taxonomy archive index page links
I want to show all my post taxonomies on the left side of the web page in such a way that when a person click on it the post can be displayed according to the taxonomies.is there anyway to display ...
1
vote
1answer
57 views
Listing taxonomies from custom post type
I have a custom post type with several taxonomies within it
Eg. the post type is called campsites and the taxonomies are various counties: cheshire, staffordshire etc.
What I want to do is: list all ...
1
vote
0answers
41 views
List posts in a category grouped by other categories?
I have posts of stores and restaurants in my area. Each post is marked by category of type (e.g. Restaurant, store) and town.
What I am trying to do is create a page for each town (with intro text ...
2
votes
1answer
151 views
Taxonomy terms with edit/filter link in wp-admin, in the list of custom posts
I'm using get_the_term_list and manage_posts_custom_column to display the terms of a custom taxonomy in the list of custom posts, in the WordPress Admin.
add_action( ...
0
votes
1answer
89 views
Natural sort / ordering wp_dropdown_categories
I'm using the following code to display an archive dropdown:
wp_dropdown_categories( 'taxonomy=week&hierarchical=1&orderby=name' );
However the format of the taxonomy is week-1, week-2 ...
5
votes
3answers
336 views
Separate Media Library for each user
I'm creating a theme for a client and one of their requests is to allow users to upload images for their own use, but there may be an option to share the images.
Here are some of the caveats:
Each ...
1
vote
1answer
64 views
Custom Taxonomy Query
I have setup two custom taxonomies for a custom post type that I have created. The post type is called beer, and the two taxonomies are country and brewers.
I would like to list them like this.
...
0
votes
1answer
34 views
Can I connect a page to a taxonomy?
I'm creating a website for a soccer club. It has news, reports and media custom post types. There you can connect the post to the Team taxonomy. But I also need to have a page for that team where I ...
0
votes
1answer
132 views
get a specific taxonomy term name
I need to print a specific term with its id. I get that for categories with this code:
<a href="<?php echo get_category_link(1); ?>" title="<?php echo get_cat_name(1);?>"><?php ...
0
votes
1answer
31 views
Get Posts with matching lowest taxonomies
I have a post type called venues, and each post type has a list of values to choose from in my custom taxonomy 'location'.
E.g:
London (top level)
West London (2nd level)
North London (2nd level)
...
1
vote
0answers
86 views
URL Rewrite with Custom Variables
I right now have a custom post type with a url structure like:
example.com/videos/taxonomyname/
I have a custom variable that I am detecting in the template file to switch layout views which works ...
1
vote
1answer
69 views
Taxonomy in URL
I have a huge problem: I want to have nice URL's on my Homepage. I got a custom post type and taxonomies. Now I want to have a URL like that:
www. mydomain ...
0
votes
1answer
140 views
Custom Post Type order Title ASC
I´d like to display all car manufacturer in order by title (e.g. "Merecedes") and order from lowest to highest values (e.g. "A-Class") "ASC", too. It should looks like a glossary.
Page: Cars
A
...
...
0
votes
1answer
30 views
Declaring arguments for taxonomy
Just a bugbear about declaring taxonomies, reading Justin Tadlocks article about Taxonomies
and want to find what does the 0 mean in this snippet from the above article:
add_action( 'init', ...
0
votes
2answers
92 views
Creating “static” taxonomies to choose from, inside custom post type?
Alright, so i have a custom post type called Blurbs (translated, sort of). I want to add a static set of categories for the posts within Blurbs (i don't want the user to be able to create custom ...
1
vote
1answer
92 views
Modify “View” in admin panel for custom taxonomy
Fristly, sorry for my bad english.
Secondly, I can't find a solution for my problem since 2 weeks. It's a simple things but I can't find how to do it.
I explain my problem :
I got 2 custom taxonomies ...
0
votes
1answer
342 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 ...
2
votes
1answer
119 views
Permalink Rewrite for Custom Taxonomy
I have added a custom taxonomy called 'Boards' with the following code
function add_custom_taxonomies() {
register_taxonomy('board', 'post', array(
'labels' => array(
'name' ...
1
vote
1answer
83 views
Advanced Taxonomy Queries Wordpress
I am working with wordpress and business listings. I have about 5000 business listing all over the usa. Each business listing has a custom field for state, county and city and brands.
My business ...