The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

1
vote
1answer
2k views

tag search using WP_Query

I need to find only posts with a tag forest gump. I've tried: new WP_Query('tag=forest+gump');, new WP_Query('tag=forest gump');. However they both return ALL the posts and not only the posts with ...
1
vote
1answer
218 views

What is the best way to create a menu item that links to all posts with a certain tag?

I guess the title says it all. Short of creating a page with a custom template that links all the posts with a given tag (this is NOT a scalable solution, particularly if you want to let a customer do ...
1
vote
2answers
85 views

Is there a Filter that I can use to filter the tags before they are inserted in to the database?

I want to filter the tags before they are inserted into the database. I'm aware of the pre_insert_term filter. But what I need to do is to see all the tags at once. I need to limit the number of tags ...
1
vote
1answer
272 views

Efficient Tag Management?

I am the admin for a blog with around 20 authors contributing articles. Have just migrated from Wordpress.com. The problem that started to happen at WP.com, was different authors would use tags ...
1
vote
1answer
105 views

When are tags counted? Can it be trigered manually?

I'm using a feed aggregator combined with an auto-tagger for tracking words in a stream. I'm using WP-Cumulus to generate a pretty tag cloud based on these. However, I want to keep the tag cloud ...
1
vote
1answer
686 views

query if on page/2/?

hey guys, is there a way to check if i'm currently not on the frontpage of my blog? I know there are conditional tags like is_home(). However that won't work if I'm on myblog.com/page/2/ I have a ...
1
vote
1answer
2k views

What are the Theme tags in style.css used for?

In the style.css file in the first comment block, there is a optional "Tags:" directive. What are these tags used for? When are they used?
1
vote
1answer
1k views

Tags to Post-ID mysql query. Tag Search

Im trying to implement a tag-based search. When i specify certain tags, tagged posts will be searched and the post-id will be displayed that matches the searchcriteria. Currently it only works for a ...
1
vote
3answers
806 views

Show posts on a page based on a category and tag(s)

I have been looking all over the internet for this, and have not yet found an answer I could use. Found out that I may can use something called query_posts or get_posts, but I have no idea how to use ...
1
vote
1answer
19 views

How to display tag cloud without links

How can a tag cloud generate a list of tags WITHOUT the links? This works fine for me, but I just don't want the links: wp_tag_cloud('smallest=10&largest=10&number=0&format=list'); ...
1
vote
1answer
21 views

Find out which user created a category or tag?

We recently had an employee create inappropriate categories on our site as a way to retaliate against one of our managers. We are looking to figure out who is responsible. I have super admin, as well ...
1
vote
1answer
242 views

Edit tag cloud widget number

By default, the WordPress tag cloud widget has a set amount of 45 tags to display. This can be seen in the wp-includes/category-template.php file. By default, the WooCommerce plugin which I have ...
1
vote
1answer
19 views

Line of Tag information Is Formatted Strange

I'm placing a tag list in the post footers on a blog. You can go to this specific post: http://www.smallfryblog.com/2013/09/03/small-fry-films-midtown/ and scroll down to the post footer see what ...
1
vote
1answer
1k views

Remove post_tag from default post type, add custom taxonomy

I've been searching for a while for an answer to this, but the results I find always deal with custom post types as opposed to the built-in 'post' post type. I want to remove the default 'Post Tags' ...
1
vote
1answer
109 views

Limit Tags display and ad Drop Down Menu

Does anyone have any idea on how i can limit the number of tags shown in a post and if there is more it's a drop down menu. Here's an example of what i mean. Se where it sats "More On" those are ...
1
vote
2answers
55 views

Automatically add a tag according to custom metadata

I'm trying to figure out how to make a function to automatically add a "featured" tag to a post, based on a checkbox in a metabox I've added to the edit screen. I think the function I need to use is ...
1
vote
2answers
280 views

Given a WP_Query, how can I get a list of tags?

I have a new WP_Query that I use to generate a custom loop and display a set of posts. One of the things the query does is provide pagination. Before I display the queried posts though, I'd like to ...
1
vote
1answer
102 views

Frontend tag edit/submit form

I would like to have a separate page to submit/edit tags. Any user can edit or submit tags. But it should be published only after admin approval. Is there any function available like ...
1
vote
2answers
966 views

Stop wordpress from removing HTML attributes

I try to insert a post with html tag with class attribute, like this: <dl class="dl-horizontal">, but after saving the post, WP removes an attribute. How can I fix it? The only way I've found, ...
1
vote
2answers
721 views

Is is possible to rebuild wp_term_relationships table?

Stupidly, I truncated my posts table with out thinking about the term relationships. Now I have a bunch of 404s because there are broken term relationships. Is is possible to rebuild the table with ...
1
vote
1answer
634 views

Get Tags specific to Category using WooCommerce plugin

Could anyone help me to implement this code in WooCommerce, ie instead of categories to use product categories, and instead of tag to use product tag. In functions.php : function ...
1
vote
1answer
113 views

Metabox to list/store a certain type of post tag

I'm at an impasse here. I'm admin-ing a food blog for a friend. She enters the ingredients for each recipe post as post tags. Down the road I'm going to create a page where a user sees a list of all ...
1
vote
1answer
206 views

reducing the amount of wp_query calls

I'm working on a site where we're introducing drop down panels from the menu which will display thumbnails from various tags on the site. Each panel has a left column displaying a featured post, and ...
1
vote
2answers
192 views

wp_tag_cloud() and the_taxonomies() work but not the_tag()

wp_tag_cloud() and the_taxonomies() work in a widget I built but I can not get the_tags() to work. I want to display the tags assigned to the current post. I built a widget to do this. the widget ...
1
vote
1answer
264 views

How can I make an auto-fill search box auto-completing with the tags?

I want to mimic stackexchange's method of selecting tags by typing first letters. Any ideas? All instant search plug ins I tried dont work, dont know why. I have latest WP version.
1
vote
1answer
61 views

Should I use posts or pages in this scenario?

I'm considering using WordPress as the CMS for the website of a small clinic. There are only two sections with sub-sections: team and methods. Team contains each of the team members and Methods ...
1
vote
1answer
439 views

Why does querying on post_tags (which has been applied to custom post types) only return posts?

So I've created a little jquery cycle based feature rotator that pulls from the post_tags. I added the post tags to my other custom post types like this: register_taxonomy_for_object_type('post_tag', ...
1
vote
1answer
420 views

Set attachment tags from attachment's custom field data

I currently have a custom field added to my attachment's form called artist_credit using the hook attachment_fields_to_edit. When a person enters a name into the artist credit field, I want it to (if ...
1
vote
1answer
1k views

How to create a linked tag list in my sidebar

I'm looking for a solution to display a tag list that shows how many times the tag has been used in posts as well as link to a list of results. I found a php code snippet you posted on the Wordpress ...
1
vote
1answer
229 views

How can I make a post that belongs to a category or have specific tags, display different from the other single posts?

How can I make a single post display different from the other single posts when I add it to a specific category. example: I have a post that is in 3 categories: music, songs & video clips. I ...
1
vote
2answers
373 views

Custom post type getting wrong categories and tags

Ok i have a custom post type on my blog called videos, where i only post a video. There's a sceen cap below On the right are the latest post from the custom post type, on the left is the video, ...
1
vote
2answers
460 views

Using permalinks, category slugs, and tag slugs

I'm trying to set up some permalinks for my site. Right now all the posts are under sitename.com/blog/, which is fine. But the category pages and tag pages show as 'sitename.com/blog/category/catname' ...
1
vote
1answer
216 views

Listing tags from a custom post type

The topic custom post type: register_post_type( $this->forum_post_type, $bbp_cpt['forum'] ); /** TOPICS ************************************************************/ // Topic labels ...
1
vote
3answers
482 views

“more” tag doesn't appear when browsing category achives or search

Almost finished my website, but ran into one problem: When you view the archive of a category or do a search, the "more" (or "continue reading") link/ tag doesn't appear. It words fine on the ...
1
vote
2answers
822 views

How to hide certain tags from the_tags()?

I need to assign some tags to my posts (for external use), but I don't want them showing anywhere that tags are listed. Can someone tell me how to do this?
1
vote
1answer
87 views

Is there a quick way to find out what posts haven't been tagged?

Basically exactly what the title says, I am running 3.0.1 and want to be able to quickly flag up posts that have no tags currently assigned to them.
1
vote
1answer
167 views

How to make 2 tag feeds show up on 1 page?

I'm looking to create a page within my site that looks like this: Tag/Category: News News Post a News Post b News Post c Tag/Category: Events Event a Event b Event c I'm new to Wordpress. I may ...
1
vote
2answers
460 views

How to add shortcode tags in single.php

In my theme has one shortcode tags to display tags of post and function to load content post. But in function doesn't include shortcode tag. Now I want to add it to function but i don't know how to do ...
1
vote
1answer
61 views

Get tags for post_type

I have several custom post types that all share the same tags. On the archive for each custom post type I want to display a list of tags used, and the number of posts associated with each. get_tags() ...
1
vote
1answer
85 views

Adding a class to tag list in a function

How can I add a class to the function so I can style the output tags as boxes in css? <?php if(get_the_tag_list()) { echo ...
1
vote
1answer
220 views

Search Custom Post Type with all meta attached?

I'm currently have a search box that's supposed to search a certain post type. It's supposed to check the query against all standard cpt content, tags and the associated meta data. I'm wondering how I ...
1
vote
1answer
59 views

How to add additional search terms (e.g. synonyms) to the search?

I'm running a blog about different software tools. I frequently use the search to find articles that I wrote for the blog. I also wrote an article about latexdiff, but always forget the name and try ...
1
vote
1answer
77 views

How to use all tags in post permalinks

My site with pictures is set up so that the posts do not have a title and have only tags. I would like to know how to use all tags in permalinks settings?
1
vote
1answer
313 views

non-hierarchical custom taxonomy using checkboxes on edit-screen -> saving issue

I registered a non-hierarchical custom taxonomy ('property_features'). There is a checkbox for every terms of this tax in a custom meta box on the edit-screen. All terms are displayed and all terms ...
1
vote
1answer
64 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 ...
1
vote
1answer
269 views

Require tags for bbPress topics [closed]

I want to require my forum members to enter at least one word into the "tags"-line, when they are creating a new topic. As regards plugins and solutions, what I found so far is the WyPiekacz-plugin ...
1
vote
1answer
729 views

How to add tags (custom taxonomy) to post class css?

I am trying to figure out how to add my custom taxonomy for tags to the post class css when I already have added the custom taxonomy for categories. The code Im currently using to add the category ...
1
vote
1answer
264 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 ...
1
vote
1answer
138 views

How can I show 1 featured post in a styled element, and the next few below differently styled

I'm looking for some thoughts, ideas, and/or direction on what is the best way to accomplish this: Basically I want to have 1 "featured" post in a differently styled div, and then display the next ...
1
vote
1answer
200 views

Get Adjacent Post By Tag

In this answer -- How to Get Next or Previous Post in a Specific Tag? -- a working function is provided to generate "next/prev" links by tag rather than category. How could one make this so that you ...