The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

1
vote
1answer
144 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
549 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
228 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
677 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
365 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
2k 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
203 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
996 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
493 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
401 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
232 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
88 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
291 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
113 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
811 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
3answers
851 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
39 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
22 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
119 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
57 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
44 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
112 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
25 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
115 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
62 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
110 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
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
941 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
773 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
118 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
216 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
1answer
390 views

search also in taxonomy, tags and custom fields

I have found many answers separately for Taxonomy, Custom fields and Tags, most of them outdated. But how to combine a search in: - designed custom fields of a custom post - custom taxonomy terms - ...
1
vote
2answers
216 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
311 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
563 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
484 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
242 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
415 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
544 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
232 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
521 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
965 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?