The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
1answer
440 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
78 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?
2
votes
1answer
2k views

Search doesn't find tags or categories in custom post types

I've added tags and categories to a custom post, but the search bar doesn't find them when I use it. It does find the 'uncategorized' category (default category) that's inherent in wordpress though. ...
0
votes
1answer
27 views

How can I count articles retrieved by tags

how can i get posts retrieved by tags, I want to count them. The code i want to use in tabs. Ex: Movies(3) , Articles(15) Movies and Articles are Tabs. I know how to retrieve the count of posts ...
0
votes
2answers
67 views

Plotting posts on a graph

Here is what i want to do: For a specific date i want the number of posts from a certain tag. For example: on 14th March i have a certain number of posts tagged "jazz". I want to plot that number on ...
2
votes
1answer
458 views

Change tooltip in tag cloud

How to change tag tooltip to tag Description? I tried and my code is mentioned below. function title_text( $description ) { return sprintf( _n('%s topic', '%s', $description), $description ); } ...
1
vote
1answer
31 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 ...
0
votes
1answer
127 views

Tag-post relationship problem

tag is not working in wordpress like it is supposed to. When I add tag to a custom post type it shows up in tags list and the relationship can be seen in the term_relationships table and the tags are ...
2
votes
1answer
35 views

Is it possible to generate an alternate structure for multi-tag urls?

I know that one can query multiple tags with the + syntax, as in www.example.com?tag=?test+test2+test3 I'm looking for a solution where the URL would be in this format instead: ...
0
votes
1answer
210 views

Display Posts Only with Specific Tag

I'm trying to only display posts with the tags Movie Trailers and Gaming Trailers but my loops are still displaying everything under the category /videos/ heres what I have category-videos.php: ...
1
vote
1answer
2k 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' ...
2
votes
1answer
1k views

How to get the url to tag & category base set by the user?

I'm searching for half an hour now on how to get the url/permalink base in Wordpress (the 'category' and 'tag' value set in the backend). Could you please point me in the right direction? I want to ...
2
votes
1answer
58 views

Category vs Tag vs Table

I have a site that will hold roughly 1000 posts/articles from an in-house magazine dealing with Australian naval history. The articles cover a range of subjects (such as Aviation, Intelligence, Ship ...
1
vote
1answer
771 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 ...
2
votes
1answer
449 views

Plugin to auto convert custom fields to tag

I have 3 custom fields that i would like to have automatically converted to tags anytime the post has them. Custom field names: tag_name1, tag_name2, tag_name3 Is there a plugin or function that i ...
0
votes
1answer
21 views

Why is my taxonomy have a category style div id?

I created two custom taxonomies. I created them using identical code and then finding and replacing the "name" with "name2". I've then looked at the post type page and there are two tag boxes to ...
5
votes
3answers
684 views

Separate Media Library for each user

I'm creating a theme for a client and one of their requests is to allow users to upload images for their own use, but there may be an option to share the images. Here are some of the caveats: Each ...
0
votes
1answer
181 views

Tags meta box don't show when creating a new post type

After creating new custom post type with register_post_type() function, I don't see the Tags meta box when adding a page of new post type. It seems that tags metabox should be added manually. If so, ...
0
votes
2answers
210 views

How to get custom category's link?

I have created a custom post type and custom category for that post. There are some categories in that custom category. now I want to get the links for each category I have in that list. I just want ...
0
votes
2answers
2k views

Taxonomy count per Post type

Below is the code i use to output the post tag (taxonomy) count/number. I want to be able to split the count based on post type that the taxonomy features in (rather than the total number). So i ...
0
votes
1answer
153 views

How to create an overview of posts with the same tag?

At the bottom of each post, I want to display posts that have the same tag. Based on numerous examples of function doing something similar, I created the function below. I call it from with in the ...
0
votes
1answer
146 views

No line breaks in tags in tag cloud

I use the tag cloud widget on my site. I have some tags which consist of more than one word, like 'free will'. In the tag cloud, there sometimes comes a line break in those tags, between the words: ...
0
votes
1answer
20 views

where to find on backend to amend and edit title tage for each page on website?

I need to put a title tag on each page of my website but I can only seem to be able to do it for the home page, where can i set and edit the title tags for the other pages?
0
votes
1answer
56 views

Changing H1 to Normal Links

After following this tutorial -- Showing all the posts in one page? -- I was able to show all post links in one tag page. Example: http://blogote.com/tag/facebook/ Now I have several H1/H2 headers ...
0
votes
2answers
88 views

Showing all the posts in one page?

There are over 200 posts tagged with the keyword "Apple." Each tag page -- example.com/tag/apple/page/2/ -- shows 10 posts. So there are 20 tag pages. Is it possible to show all these 200 post ...
1
vote
1answer
112 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 ...
0
votes
1answer
168 views

Advanced permalinks structure

I would like to get this: mysite.com/category/tag/ example: mysite.com/news/sports/ News is a CATEGORY and sports is a TAG How can I do it? Thanks.
0
votes
1answer
311 views

Categorize wordpress tags

I have problem about categorizing wordpress TAG, in my case for language. for example: postA: englishtag1,englishtag2,englishtag3, chinesetag1,chinesetag2, postB: ...
0
votes
1answer
31 views

Should new posts already have tags?

When creating a new post on one of my multi sites post tags have automatically been added. This happens to some users on specific sites only. Has anyone seen this before?
0
votes
2answers
682 views

Displaying the post count of all custom taxonomy terms in a list format

I thought this would have displayed the post counts right next to the clickable links wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'format' => 'list', 'smallest' => 12, 'largest' => ...
1
vote
1answer
466 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
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 ...
0
votes
1answer
59 views

Tag Posts showing in wrong places

Am using a custom template (tag.php) to show posts related to tag. So when someone clicks on say tag ‘A’ then he/she gets redirected to my tag.php layout instead of default template for archives. I ...
1
vote
1answer
309 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 ...
0
votes
1answer
425 views

Search posts by Tag

I'd like my search forms to only display results organized by tag. I know you can add &tag=TAGNAME to the end of a search results URL, but how do I integrate it into a form so that my site only ...
0
votes
1answer
237 views

Filter categories/tags to display in multiple metaboxes for selection in back-end

My site uses a lot of categories and tags for author selection in the back-end. To make it more user friendly for authors I need to arrange the categories and post tags in numerous metaboxes for ...
0
votes
1answer
352 views

how to run loop in function.php that sends email based on specific conditions?

So far this code works if I run it as a page in WordPress. I am trying to send my user email updates when I publish a post with with a specific tag. The users can choose if they want to receive the ...
-1
votes
1answer
124 views

Custom message if tag returns empty results

Is it possible to return a custom message if the tag search returns empty? On my menu i have a link as: www.domain.com/tag/example I don't want to remove the link but also it's a bit annoying if the ...
2
votes
2answers
339 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
2answers
3k views

How to create wordpress page that shows posts with specific tags?

Like the title says, what code would I use on a wordpress page so that it will only show posts that have a specific tag?
0
votes
2answers
4k views

How to make tags show up in search results?

Im looking for a way to make tags a searchable object. To clarify, Im NOT trying to make the search engine search posts by looking at its tags, but I want tags to show up in the results just like a ...
0
votes
2answers
1k views

Custom post type, taxonomy and admin bar

I have two kind of post types in my WordPress website: "Articles" which is the classic post type "Breves" which is a custom post type I want them to share the same standard categories and post ...
0
votes
1answer
161 views

Remove short link tag from particular page

I want to remove the short link header tag from a specific page. Please suggest me a filter guys. I want to remove the entire <link rel='shortlink'... section from a specific page. Adding a ...
4
votes
3answers
498 views

Add tag to post api wordpress

I have been googling around but could not find the "add tag to post" api/codex. Does anyone know what it is ? Also, the "delete tag from post". Thanks.
0
votes
1answer
2k views

Create custom taxonomy and Display in metabox dropdown

I'm looking to create a dropdown in the post edit screen which contains 3 already existing tags. What's the easiest way of doing this? Basically all I'm looking for is a simple drop down which adds ...
1
vote
1answer
66 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 ...
0
votes
1answer
44 views

How to display articles based on composed tag

I'm encountering an issue when I want to display some articles based on a "composed" tag like "amnesty-international". The query doesn't return any results. The fact is I have two article tagged with ...
1
vote
1answer
343 views

Add relevant tag to search results

Tags are a major part of my platform. Using the default search, if the search term matches a tag, on the results page, I want it to display: <p>Are you looking for our <a ...
1
vote
1answer
2k 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( ...
0
votes
2answers
89 views

Recent comments per tagged post?

Could you please help me with some code to get all recent comments for posts that are tagged with for example "XYZ"? Thanks in advance, you guys are great!