The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
2answers
200 views

How to add class on term link?

I am looking for a way to add tag slug as a class. I can't figure out how to achieve this... Here is how I display the products tags <?php echo get_the_term_list( $post->id, 'product_tag'); ...
0
votes
1answer
19 views

Loops in category description

I would like your help to find how to do a thing I need: I have some posts, for example: Article Title: Banana Article Title: Orange Article Title: Lemon Article Title: Strawberry All this ...
0
votes
1answer
117 views

Display posts containing at least 1 from a list of say 10 tags but not containing other tags

Difficult to explain and maybe totally impossible but I have say 30 tags in total. I would like to output all posts that contain at least one from a list of say 10 tags but do not contain any of the ...
1
vote
1answer
127 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 ...
2
votes
1answer
73 views

Unable to delete a Category and Tag that share same slug

In my wordpress site I have a category (e.g Animals) with slug (anim) and a tag with name (Animals) with the same slug (anim). My problem is that I want to delete the category but keep the tag. ...
0
votes
1answer
55 views

Is there a way to randomize and connect a background and header image?

Right now I am using a different CMS, and I wrote a little bit of PHP which helps me (by using content from hidden pages) bring in a connected background and header and randomly display them, UNLESS ...
3
votes
3answers
2k views

Undefined property: stdClass::$labels in general-template.php post_type_archive_title()

I've got a custom post type with a standard tag taxonomy added to it like so: 'taxonomies' => array('post_tag'). I've added some tags to some posts of this CPT which are display on the front-end ...
0
votes
4answers
59 views

How to find the number of Tags a post has?

Is is possible to find how how many tags (and categories) a post has and to display it? something like this: when a post has three Tags and two categories, at the end of the post show that number ...
1
vote
2answers
252 views

Mass remove a number of tags from a number of posts

i am having a wallpapers site. I was having lots of posts with no tags and i tried some plugins to auto add tags like simple tags where you need to set some tags and it will auto use those tags for ...
0
votes
1answer
45 views

Create another TAG widget for posts

Currently, Posts have "tags" and in the post edit page you can add and remove tags using the widget. I would like to add another such tag-system (say, keywords) and I would like for it to use the tag ...
1
vote
1answer
209 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?
0
votes
0answers
53 views

Query post names based on tags of current post

I have a custom post type called 'employer'. In some of my normal posts, I use the slug of an employer as a tag to link the two together. For example POST A mentions "Adidas" and therefore I add ...
4
votes
3answers
3k views

Display list of most used tags in the last 30 days

I am looking for a way to display the most used tags over the last 30 days. I am no coder, but I have come up with this mashup to display a list of the most used 28 tags (preference to fit my theme). ...
0
votes
1answer
42 views

Display custom post taxonomies

This should be fairly simple and Im not sure what I'm doing wrong. I am trying to display the tags associated with my custom post. I have registered it like so // Initialize Taxonomy Labels ...
1
vote
1answer
70 views

What tags should be used for themes to show the type of layout?

In the Tag Filter the old tags 'fixed-width' and 'flexible-width' were renamed to 'fixed-layout' and 'fluid-layout'. Also new 'responsive-layout' tag appears. Should users duplicate new tag ...
0
votes
1answer
162 views

term/tag not being saved for custom post type

I have been using a chunk of code as a plugin that was suggested in the answer to this question. Please check the code provided below instead of the one in the question, as I may have modified it a ...
0
votes
1answer
43 views

Add post tags to previously created custom post type

I am trying to add post tags to the custom post types bbpress creates, so that I can do some "related topics" kind of stuff. Is there a function that adds a post support like 'taxonomies' => ...
0
votes
1answer
95 views

Include either name or slug in the include parameter using wp_list_categories?

I'm working both locally and remotely, pushing code via git. I have the current code set up below, which looks for tags and outputs them as a list using wp_list_categories. I need to use the include ...
0
votes
1answer
301 views

How to Override “Blog pages show at most” in tag.php [duplicate]

I'm in the middle of developing a site (http://he.leavingworkbehind.com/) which features a single post on the home page, as determined by the "Blog pages show at most" option in Settings > Reading. ...
0
votes
1answer
57 views

Custom post type tags not showing in search

I have a number of custom post types for which the admin can tag each separate posts. The problem : None of the posts show upon front-end search query with any of the tags... Is this normal ? have I ...
0
votes
2answers
412 views

Wordpress query_posts by tag doesn't work anymore(?)

I had this code running fine forever. Some days ago it just started outputting nothing (just the <ul></ul>). No errors in logs: <ul style="margin-left:0"> <?php ...
0
votes
1answer
42 views

Post order by selected tags

Let's say you want to show posts tagged with tags : "HTML, CSS". I want to order posts in tag archive in the following order: Post tagged with only exact two tags - HTML,CSS Post tagged with only ...
0
votes
1answer
130 views

Tag page only display 10 posts

I've had a problem with this for quite some time now and cannot for the life of me figure it out. I am using Multi-site and not sure if that has anything to do with it or not, so keep that in mind. ...
0
votes
1answer
29 views

How to create a category or tag available exclusively to the admins and not to the users?

I would like to create a category or tag name that is available only to the admin(s) and not to the authors. For example, I would like to create a category or tag called Exclusive Content. Now only ...
0
votes
1answer
72 views

Is there an error in get_the_tag_list()?

I'm using the theme TwentyThriteen1.0 for my WordPress blog. I recognized that the tags in the meta-part of an article are not separated by a comma. I had a look at the function ...
0
votes
1answer
180 views

Do not run this code on posts with a specific tag!

This is sort of complicated. I am looking for some php help related to WordPress blog. The basic requirement is that some HTML code (ad code) is not supposed to run on posts with a specific tag. ...
0
votes
1answer
231 views

Exclude most recent posts from specific category in wp_query()

I have a featured posts slider, which uses the 'featured' tag. I have a query for this which grabs the 3 most recent posts with this tag and shows them in the slider. Below this, I have a list of 10 ...
2
votes
1answer
48 views

Why is WP creating both “/?tag=” and “/tag/” URLS for same content?

I've noticed that WordPress is generating duplicate content with slightly different URLs. For example: http://example.com/the-blog/?tag=santas-workshop ...
3
votes
2answers
1k views

Using URL parameters, list posts from category and custom taxonomy

For example, http://example.com/?cat=6&tag=books lists posts that belong to category ID 6 and tagged 'books' (i.e. posts that satisfy both conditions). Similarly, ...
0
votes
1answer
186 views

List all posts of certain category which share some tags

My problem is quite simple: I've got a couple of posts in different categories that have several tags, some of them in common. When I load a post, in my sidebar (using PHP Code) I want to show a ...
0
votes
2answers
113 views

Clear custom field when new tag is added

When adding a new tag in the admin interface, WordPress doesn't reload the page. It appears to send the data with an ajax call, clear the fields and add the tag to the list on the right. I am working ...
0
votes
1answer
208 views

display most popular tags in two columns

I have a section in my sidebar where I'd like to display my most popular tags in two columns. I found this post from WPSnipp that details how to narrow your list down to only the most popular, however ...
3
votes
2answers
956 views

get_post_ancestors returns empty

I'm using WordPress to organize documentation for a software product I'm supporting and have hit a bit of a snag. I have multiple FAQ documents (saved as pages) that I need to be separate pages but ...
0
votes
6answers
89 views

Create three unique tag page templates

On my site, users can view content on the blog or on a cartoon index page. Both these pages aggregate posts and custom post-types. The cartoon index differs in that it has an image slider before ...
0
votes
1answer
19 views

Wordpress - show all posts + ones with specific tag

I have 3 types of posts as below Normal posts without any tag With "featured" tag With "sold" tag On a page, I just want to show normal posts + ones with featured tag and don't want to show posts ...
0
votes
1answer
50 views

Query pages based on tags

On a site that I'm working on I've added the ability to tag pages. These tags should then be used in a query to retrieve all associated pages of a tag. In my functions file - // Add tag support to ...
0
votes
0answers
110 views

How to sync to custom taxonomies (tag structure)

I have two taxonomies: "Contributers" and "Narrators." I want to sync the terms in these two taxonomies identically, so much so that I wish to be able to click on "Edit Term" and see the information ...
1
vote
1answer
37 views

how to add text to posts from tags

How can I add custom generated text to posts using text from tags? Something like: [Post Title] + custom text + tags + custom text .... Or is there a plugin which does this ?
2
votes
2answers
875 views

Is it possible to filter get_adjacent_post() with tags?

I've been using get_adjacent_post() to determine the previous and next posts. How would I go about determining the next and previous links to posts matching the same tag as the current post? It seems ...
0
votes
0answers
50 views

404 Errors due to Tags Getting Converted to Categories

I am having problems on my site thehardtackle.com - webmastertools reports thousands of 404 errors. I have observed a lot of these, and it appears that all the tags on the Website are appearing to ...
0
votes
4answers
195 views

Function to echo (or display?) wordpress tags in the head section

I can't figure this out but I'm trying to echo the post Tags of the post in the <head> section. This code resides in the <head> section of the site. Basically I want the post tags to ...
0
votes
1answer
18 views

How to get links to user and tag by its name?

For example i have the name of user or the name of tag. Is it possible to get direct link to the author or tag? I need something like get_permalink for posts.
0
votes
4answers
297 views

100+ terms in any taxonomy slows down post updates?

I'm making a fairly large (for me) e-commerce shop with Woocommerce. The shop has ±1300 products and will be going to ±2000 products. There are also ±2500 Product Tags. I've had speed problems on a ...
0
votes
1answer
32 views

Tags not appearing in “Add New Post” Page

I'm working on a mag website. I'm using Tags to group some content. For this I have added all the required tags from the Tags section under Posts. But When I go to Posts -> Add New, the Tags panel ...
0
votes
1answer
83 views

Return all wordpress custom posts in specific multidimensional array

How can I get all custom posts (post_type=family_guy) with their ID and all of their tags in multidimensional array? Here is exactly how I would like my array to look like: $array = array("1" => ...
-1
votes
1answer
65 views

Attaching multiple custom taxonomies to one CPT?

So I've been developing a complex CPT lately and something came up that made me realize I need a second custom Taxonomy on the CPT. Is this impossible? Also I'm currently using tags as well, so the ...
18
votes
5answers
14k views

Adding Fields to the Category, Tag and Custom Taxonomy Edit Screen in the WordPress Admin?

The question is "How do I add one or more fields to the Category, Tag and Custom Taxonomy Edit Screen in the WordPress Admin?" This question was asked on the wp-hackers list August 1st 2010 and I ...
0
votes
1answer
39 views

How to store category and tags separatly on wordpress?

I am trying to insert data manually on all tables on the back end. I am facing a problem while inserting data to wp_terms. I can successfully insert category into wp_terms and define relationships in ...
1
vote
1answer
212 views

Highlight Current Tag in wp_tag_cloud

I'm in the middle of building a website and one of the pages will be a glossary. The first page of the glossary will display a list of all the words, which are custom post types assigned into a custom ...
0
votes
1answer
220 views

Custom Taxonomy - Tags Metabox is showing instead of Categories

So I have a weird thing going on. Usually by default when you create taxonomies a categories metabox is made automatically (right?). For some reason that's not showing up but Tags metabox is showing ...