The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

1
vote
1answer
37 views

Tags, use both union and intersection at the same time

I have tags on posts and I want a display based on the following logic: If it has the "biology" tag AND it has either the "female" or "male" tag. biology AND (female OR male) Here's what I attempted ...
1
vote
1answer
3k 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
3k 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( ...
1
vote
1answer
146 views

list tags with count in author profile page

I would like to list tags with count in author profile page just like this page If the user click the tag, then I would like to list the tagged posts. Can someone help me?
1
vote
1answer
47 views

Share Tags Between Custom Posts in Admin

Let's say I have several custom post types that all have support for post tags. Since these custom post types will all be tagged with mostly the same keywords, I'd like to know if there is a way to ...
1
vote
1answer
610 views

Get titles of all posts with current tags except current post

I am trying to print out a bulleted list of all posts in the current posts category (i.e. "siblings") except for the current post itself. I have been able to get the tags of the current bost and ...
1
vote
1answer
165 views

How to adjust code to refresh a dropdown box with tags that are active on filtered category listing

I have multiple custom tags setup (ptags) and custom posttypes (products) and made it so i can filters posts by multiple tags in a category. Currently the code retrieves tags from posts relating to ...
1
vote
1answer
235 views

How can I extend Quick Edit option with 2 more fields

I wonder if WordPress gives me the ability to add 2 fields (input and textarea) in the Quick Edits of Tags. Actually these 2 fields I want to add in Quick Edit which are available in Edit Tag page, ...
1
vote
2answers
216 views

Strict tag list - user should choose only existing tags for posts

While selecting tags for the posts the user is able to create new tags on fly. For example we have the tag 'animal' but the user misstpye it as 'aminal' - and Wordpress creates it. In our blog the ...
1
vote
1answer
153 views

Generating the ogp tags in theme

I use to generate the ogp tags in themes I code but this commercial one is beyond my knowledge. The client want to share a page but any image option shows up. Instead of a taxonomy-name.php template ...
1
vote
1answer
2k views

Display posts and thumbnails with certain tags

I want to display specific posts from an array with specific tags i.e. "Bolivia" and "Brazil" and then show the post thumbnail and permalink. This is the code I am using so far but as you can see I ...
1
vote
1answer
619 views

Search by keywords with boolean operators

Is there a way to tell WordPress to only search the keywords and nothing else? For example, if I searched "yellow, red, white" it would only display posts with one or a combination of those keywords ...
1
vote
1answer
237 views

Does anyone have a plugin that could automatically tag custom post types in wordpress?

I was looking at http://wordpress.org/extend/plugins/web-ninja-auto-tagging-system/ and unfortunately, it wont work on custom post types. Can anyone suggest (with what changes are needed) to have ...
1
vote
2answers
719 views

Are Category or Tag Archive Pages Possible?

Currently /category and /tag 404 if you hit them directly. Is it possible to create a theme template to handle what would display on it? Mark Jaquith - ...
1
vote
1answer
393 views

Add Post Tags to Body Class

Want to add post tag name to body class - I am successful in using the code below to add category to body class - //adds new body class for post category add_filter('body_class', ...
1
vote
2answers
3k views

Verify if tag is used on posts

I'm using site tags for a glossary. I would like to display a link to the tagged page if the tag exists, otherwise just display the tag title. Is there a check which would allow me to determine if the ...
1
vote
1answer
217 views

Wordpress as thesaurus/dictionnary: what approach?

I'm willing to develop a thesaurus/dictionary for the Berber language. A website that allows comunity members to add new words/synonyms/antonyms.. How to relate words (posts) to each other? by ...
1
vote
1answer
1k views

Creating custom tags

Hi there Best Wordpress Gurus, i've a question about using tags to simplify my HTML. For example if i want to ad a block of content lets say a contact form. I don't want to ad all the time my html ...
1
vote
1answer
549 views

Tags as a dropdown with set tags

Sorry if this is a silly question but is it possible to have a taglist as a dropdown? I have a page where users can post theyre own content, and I would like them to be able to choose certain tags ...
1
vote
1answer
403 views

How to customize tag and category post listings to show introductory content?

In wordpress, we allow google to index our category and tag pages. We don't use no-index for tag or categories, which results very high ranking in a lots of keywords and we are receiving very high ...
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
243 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
90 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
303 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
114 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
842 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
3k 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
2answers
726 views

How to remove tag cloud from taxonomy admin edit page?

On the page where one adds/removes/modifies taxonomies, what would I need to add to my functions.php file to remove the tag cloud?
1
vote
3answers
855 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
52 views

Display posts from only one post form in custom query and exclude in main query

I am trying to first display four posts with post-format-aside (all assigned to current tag) and then display the "real" archive (exclude post-format-aside) for the specific tag. Right now I am using ...
1
vote
1answer
32 views

sort tags by tag ID in admin panel

I want to sort tags list by tag id in my WordPress admin panel. There is 1000s tag in admin tag list and I want to know which are the latest added tags, but there are options to sort with Name, ...
1
vote
1answer
34 views

Offline Wordpress Application

I have to Document some Work and i thought to use WP as a platform to work with others. We have articles, pictures in different categoried and could use the tag function. A Search function is ...
1
vote
1answer
67 views

How to add a post or page tag to the list of classes appearing in the body tag's class attribute?

Good day, Perhaps you are willing to help out a php-beginner. I'm trying to add a post or page tag to the list of classes appearing in the body tag's class attribute. These classes are printed onto ...
1
vote
2answers
25 views

How can the user place a custom text string as a placeholder for a plugin

ex: like a user adds {{my-new-plugin}} somewhere in their post, the plugin will read it and add arbitrary text. I just need help finding the name for this. I can't find this the proper words to put ...
1
vote
2answers
207 views

Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname

I have a custom post type "news_updates" which I have not given custom tags or categories. I have however created a normal tag (not attached to a custom post type), and assigned it to a particular ...
1
vote
1answer
80 views

Get tags for current user

How i can get user tags list , i get list of all tags with this: <?php $tags = get_tags(); ?> <?php if (isset($tags)): ?> <ul> <?php foreach ($tags as $tag): ?> ...
1
vote
2answers
65 views

Show post tags on attachment page?

I use this code to show post tag(s) on single.php template: <?php the_tags('<div>Tagged with:<br> ',' | ','</div>');?> I wish to display post tags on attachment page too, ...
1
vote
1answer
165 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
33 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
1k 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
652 views

Hook to change Custom Tag Taxonomy Links?

I have a Custom Post Type named News that has a URL structure like this... domain.com/news/news-post-name I have also added a Custom Tag Taxonomy for my News Post Type. Here is my Re-write settings ...
1
vote
1answer
118 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
69 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
1answer
113 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
3answers
1k 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
1k 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
830 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
120 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 ...