A taxonomy is a generic "category" used to organize posts and custom post types
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:
...
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
...
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.
...
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 ...
1
vote
1answer
584 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
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.
1
vote
1answer
126 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?
1
vote
1answer
194 views
How can I add a meta-box to the posts editor containing all items of a custom taxonomy as checkbox?
I have a custom hierarchical taxonomy containing only two levels of items. First Level the title, second level items of the taxonomy.
Is it possible to add a "meta box" to the posts editor of ...
1
vote
1answer
94 views
How to output the taxonomy term name in a widget
I have a taxonomy for example "country" and I want to simply display the term in the side bar eg. New Zealand.
There is only one possible taxonomy per post so I don't need to create a list or ...
0
votes
1answer
10 views
How do I add tags/taxonomy to images + a query field on page to query 'albums' (images with same tag/taxonomy)
I've got lots and lots of photos on my site and I want to seperate them into albums. Every album is a client album (photoshoot).
Though.. I want all my clients to query their album on my site. ...
3
votes
0answers
178 views
Best way to programmatically link to multiple categories (union/intersection)
This question assumes that you know about the various complex taxonomy queries available from the WP_Query API. I know about tax_query as well as about things like category__and, which allow you to ...
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 ...
2
votes
0answers
50 views
How can I get WP to build a feed based on multiple taxonomy terms
Currently, the best way to get a feed generated for a single taxonomy term is by letting wordpress generate the content automatically:
example.com/wordpress/feed?tax_slug=term_slug
However, is ...
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 ...
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 ...
1
vote
0answers
42 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 ...
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
0answers
53 views
register_taxonomy() take much queries
Sorry for my poor English, I'm russian.
I have a problem by adding a lot of taxonomies.
When I added about 80 taxonomies, I get the following results(without caching):
before: 44 queries 0.352 ...
1
vote
0answers
30 views
UI for taxonomies & query vars
I'm building a review category on our site and I'm wondering what would be the best way to build an UI for sorting the reviews.
This is how it will be setup:
A archive of reviews at /reviews/
The ...
1
vote
0answers
109 views
Show Custom Taxonomy Categories, Listing of Posts, and Single Post via AJAX
I need to be able to do the following:
List all terms in a custom taxonomy (categories for custom post type)
When a user clicks on a category, a listing of all posts in that category appears
When a ...
1
vote
0answers
29 views
How do I list terms of a custom taxonomy at i.e. domain.com/brands/
I have a custom post type 'products' with custom taxonomy 'brands'. My URL structure should be:
domain.com/brands - should list the brands
domain.com/brands/brand/ - should list products of the ...
1
vote
0answers
70 views
How to get posts which must match both custom taxonomies?
I have searched in the stackexchange site for an answer for this question. However, I did not find any posts can help me solve the following problem:
I have 2 custom taxonomies named tax1 and tax2
I ...
1
vote
0answers
116 views
Multi-select field for Taxonomy can't save the value
I'm trying to create a multi select field for Taxonomy pages,
and the problem is in saving all the selected values, for example if I choose couple of elements in the select field and save it, it will ...
1
vote
0answers
181 views
Exclude posts with taxonomy term from appearing on home page query
I am really confused about this one, I am usually pretty good at working out basic queries but I can't seem to work this one out.
Please see below my index.php query. Now it is not your basic query ...
1
vote
0answers
34 views
new site admin not able to browse categories in wordpress multisite
I am working on wordpress multisite. The site i am working on was coded by someone else and made lots of changes in admin. He also made changes in the capabilities and roles. I created an user and a ...
0
votes
0answers
5 views
Insert custom taxonomy into post programmaticlly
i am trying to insert post from Android app via web services. i am using "wp_set_object_terms" for this purpose. when i perform it on my localhost it insert the post and taxonomy ids and tick the ...
0
votes
0answers
23 views
Creating taxonomy.php
I trying to create my taxonomy.php from this code:
<?php
$posts_per_row = 4;
$posts_per_page = -1;
$pageURL = 'http';
$post_type = 'radio';
if ($_SERVER["HTTPS"] == "on") ...
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
0answers
18 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
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
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
0answers
30 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
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 ...
0
votes
0answers
35 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 ...
0
votes
0answers
39 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 ...
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 ...
0
votes
0answers
45 views
Saving term using “suggest” script and “ajax-tag-search” action
I am building a front-end post edit / create form. The form uses an auto suggest for taxonomy, powered by built in suggest script & the ajax-tag-search action. The script is working fine, but I am ...
0
votes
0answers
47 views
Special Query: Title, Terms, Content - %LIKE%
I'm working on a them theme that is search-heavy, and my users are putting huge priority on an improved search function.
I think I will have to use a special direct query to search these things:
...
0
votes
0answers
12 views
Let users create a new custom taxonomy entry from frontend
I had created a custom taxonomy "group", and new post type named "topic". there are some terms under custom taxonomy "group".
Use the following code, i can create a new entry from frontend in ...
0
votes
0answers
41 views
How to create a structure in wordpress for parent and child relationships contents
Could any one tell me how to do the following structure in wordpress whether using taxonomy, term , post or page
Example :
Parent
A -- Title -- Description
B -- Title -- Description
C -- Title -- ...
0
votes
0answers
38 views
Custom Taxonomy Terms Pagination Not working
I am trying to create a pagination for terms and not for the pages. Earlier I was successful in it but when I added new terms then the links started giving me 404 error. Here is the code to of the ...
0
votes
0answers
23 views
Tags with multiple words won't display
I'm working on a custom wordpress theme and I'm having a weird issue with post tags. At the bottom of a post the user can attach tags to link to related content. single word tags work just fine ...
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 ...
0
votes
0answers
111 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
27 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 ...
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
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 ...
0
votes
0answers
66 views
How to get the hierarchy position of a taxonomy term? (how many children after / how many ancestors before)
I have a taxonomy "location"
In this taxonomy I list locations, hierarchically, from country to state to city. For example, consider the following terms nested like so:
1. European Union
...
