Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
62 views

Get post ID and custom taxonomy of posts that belongs to certain category, efficient by SQL?

I have a large Wordpress site with almost 200 000 "posts" (everyday is aded more than 2000 new) and sppecific homepage with about 30 loops to get last 5 posts from every category (sngle loop = single ...
0
votes
1answer
17 views

Can I generate then display a mixed list of linked and unlinked terms

Does anyone know a straightforward way to display a mixed list of linked and unlinked (custom) terms, dependent on whether there is more than one instance of a term being used? i.e. I have an item ...
0
votes
0answers
118 views

How do I share categories across multiple post types?

I have three custom post types in my theme, and each of them have categories enabled. I want these post types to share the categories between them, so that when adding a category to one, the others ...
1
vote
1answer
393 views

get_post_terms not working as expected

I have a custom post type called "Fruit" and under this I have a hierarchical taxonomy called, "Fruit Categories" When I create a new post under Fruit, I am able to assign it to a "term" - like you ...
2
votes
2answers
153 views

Custom Author Fields + Existing Taxonomy - Integrating the Two Dynamically?

I am trying to integrate both the values from an existing custom taxonomy and custom author profile fields. I would like the values to be used as the options from which an author can select when ...
-1
votes
2answers
213 views

Pass data between pages

How would you solve this? On a post page (single.php) I need to echo out name of taxonomy that lead to it. So if I browse a list of posts from certain taxonomy and click on a post, I need on that ...
2
votes
0answers
201 views

How to display term description in empty terms archive?

I list all terms from a taxonomy, even the empty ones, but I found out that at least in 2010/2011 themes I got a 404-like message, the default seems to only display the term description when at least ...
0
votes
1answer
71 views

?taxonomy_name=slug shows both posts and pages

Visiting mysite.com/?taxonomy_name=slug, or otherwise querying for a taxonomy, lists both matching posts and pages. (My taxonomy applies to both posts and pages.) I would prefer that it listed ...
1
vote
1answer
146 views

Organize WordPress site, so it can maintain with huge database

Intro: Hello, I am making coupon website and I need an advise. So, the structure at the moment is like this: Coupons ( posts ) Categories of coupons ( categories ) Shops ( tags ) In the near ...
0
votes
1answer
34 views

get IDs from links categories

How can I get the IDs of all my links categories? I'm writting a plugin to bookmark more easy using wp_insert_link() function. Any ideas?
0
votes
1answer
197 views

Custom Taxonomy link out the loop

how can i get Custom taxonomy URL by taxonomy ID outside the loop like get_category_link();
1
vote
2answers
1k views

Use the_taxonomies() to create a simple list

I'm trying to create <div class="cat-hidden categories"></div> where categories is a list of the categories the current post is posted in. When just using the_taxonomies(), it outputs ...
0
votes
1answer
1k views

outputting posts' taxonomies: cant get 'get_the_taxonomies' working

I want to output the taxonomies associated with a post in a 'title' attribute, so it needs to be unformatted. I know about get_terms and get_terms_list, but the problem is that you need to provide ...
0
votes
1answer
937 views

Why does wp_get_object_terms add a period after terms are output?

I'm using the following line to output an unordered list of taxonomies and their associated terms for a custom post type. The only problem with it is that a period gets added after the term. ...