The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

2
votes
1answer
17 views

How to make custom tags in wordpress?

I want to make custom tags for custom post type. For this i made custom taxonomy and pass 'show_tagcloud' => true, but it behaving like categories not tags.Please help me.
0
votes
1answer
13 views

Using wp_tag_cloud with only current post tag with special class

I am trying to output all the tags (custom taxonomy) without link, and add special class to current post tags. For example: if there are 10 tags but current post has 3 of them applied, then it should ...
-3
votes
0answers
27 views

Wordpress widget in sidebar based on post tag

I have a website which provides information of listed companies in the stock exchange. We post articles, announcements related to these companies on a daily basis. We have a page for each company, ...
0
votes
1answer
9 views

Remove from Google Tags with less than 2 posts

I would like to write some code that remove from google the tag pages which contains only a few posts. I can do it by modifying the meta tag and the HTTP response header to 410. But how can I ...
0
votes
0answers
12 views

WordPress Tags and Hierarchy (Parent - Child relation)

I'm curious why WordPress wouldn't support the parent->child hierarchy in tags taxonomy, so let's say if you have a tag: Cities (which is parent) and this one will have the cities listed as child ...
0
votes
1answer
15 views

getExcerpt: Make ellipsis appear only if character limit is reached

I have a function called getExcerpt that displays the first 140 characters of an excerpt and after that, an ellipsis appears. The call in my template is like this: <?php echo get_excerpt(140); ...
0
votes
1answer
23 views

Auto-Tagging a Custom Post Type

I have a custom post type called 'community' and I am trying to automatically generate the tag 'community' upon publishing anything from that custom post type. In layman's terms, a kind of 'if this is ...
0
votes
1answer
13 views

Shortcode tags appear on mobile themes

I want to use a mobile theme plugin for mobile formats. I tested five different mobile plugins and they all display my shortcode tags upon rendering on a mobile device. The user will see the ...
0
votes
0answers
14 views

Querying Product Tags - WooCommerce

I'm trying to return products based on tags, but my code does not seem to be functioning correctly. Products are being returned, but the query does not use the $tags or $cat variables and as a result, ...
0
votes
0answers
20 views

Neverending tag problem

I'm having an issue with post tagging on a site. Every time I enter a tag, it becomes part of the same endless string. Any ideas? Thanks!
0
votes
2answers
27 views

Creating attachments archive in tags and categories

Per this question (How to create an attachments archive with working pagination?), I've been using the following function to have archive pages display attachments as well as pages and posts. It was ...
0
votes
1answer
14 views

Separate the tag by comma [duplicate]

I am looking for a solution to separate the tag names by comma. The tag name i am using is without a link. Here goes the code: <?php $my_tags = get_the_tags();?> <?php echo ...
0
votes
2answers
48 views

Changing permalink from /postname/ to category/postname/

I have a website where it consists more than 800 posts, At present my permalinks structure is /%postname%/, but due to some reasons I want to change it to /%category%/%postname%/ I have implemented ...
0
votes
1answer
27 views

Exclude Custom Post Type & Pages From Auto-Tag Function

I am happily using this bit of code to auto-tag posts by author (thank you again cybmeta): add_action( 'save_post', 'add_authors_name'); function add_authors_name( $post_id ) { $post = get_post( ...
0
votes
0answers
12 views

Hide Certain Tags on Single Post Page

I'm trying to hide certain tags from single posts pages. I've googled and found 2 codes but both are hiding the whole post page. I'm using a theme that needs using 2 tags ticker and slider to show ...
0
votes
0answers
9 views

Can I set a permalink that filters by three categories and a tag, and will be recognised for caching?

I run http://www.oldies.org.uk, a charity website for rehoming elderly dogs. It's been running on Wordpress since 2005 and has only recently begun using permalinks instead of the default query string ...
4
votes
3answers
170 views

Better way to get tag stats?

I have over 4000 posts. I am trying to query all the posts and get the count of tags each post has and sum up posts count based on number of tags the post has in dashboard. The posts count shows up ...
0
votes
0answers
19 views

register portfolio tags taxonomy

I need to add a tags system in the portfolio. I found similar requests but I found some conflict in adapting solutions to my theme. This is my code: // titles $labels = array( 'name' ...
0
votes
1answer
23 views

In what context should Categories and Tags be used

I was thinking on writing up a post called "Review: Ni no Kuni" which would be a personal review on the title game having finished it. Under categories i could make a "Reviews" Category to group all ...
0
votes
1answer
68 views

Adding An Author Tag To Posts Automatically

I have been researching how to automatically tag a post by author, so if "Peter Parker" authors a post, that post would automatically show up with a tag "Peter Parker." This is because I will have a ...
2
votes
2answers
51 views

Convert IPTC keywords to blog post tags

I'm a total newbie regarding to wp or coding or anything like that but I manage to get things done with a bit of reading. I need a way to convert IPTC extracted keywords that are attached to it's ...
-1
votes
1answer
27 views

Search and replace titles of posts with specific tags

I'd like to do a search and replace of post titles but only affect those with a specific tag. Eg, Change post title: This is a new post to: This is an old post but on only on posts that have the ...
0
votes
1answer
63 views

Woocommerce Filter Main Loop by Tag [closed]

Two questions: How can I modify the query results of the archive and search pages exclude the product-tag "audio"? How can I make the Recent Products shortcode of Woocommerce exclude the product-tag ...
0
votes
1answer
19 views

Creating a unique, linked list of tags from a specific category?

I am hoping to make a custom tag widget which displays all tags from a specific category. The code I am currently using is working correctly, but it is displaying duplicate tags. I would like to ...
0
votes
1answer
21 views

add custom tags for custom post type in wordpress

I have many custom post type and I want two of them to be relate by tags. These tags are only useable to these two custom post type only. like I have two custom post type 1. books 2. writer and I ...
0
votes
0answers
10 views

wp_tag_cloud based on user id

I am using the wp_tag_cloud, however i want to filter this by the taxonomy and a user id, thus having a user tag cloud, I have seen a few hooks but not had much success. So wanting to keep this on the ...
0
votes
0answers
13 views

how to get Tag in menu populated with recent posts submenus

I would like to know if it would be possible to implement an option to "populate" each tag menu items of my WordPress site automatically with links to recent post as submenus. In other words, when ...
0
votes
1answer
10 views

Issue attempting a wp_query_posts with tags

Having an issue trying to query the most recent posts using the tag, in this case, trending. I used the following code but I get no results. If I switch out 'tag' to 'post_type' it will work: ...
0
votes
2answers
42 views

How to selected which tags to print, instead of printing the whole tag list?

When having this: $tag_list = get_the_tag_list( '', ', ' ); I substituted the meta print: printf( $tag_list, $category:list, etc ); by this: $printArray_tag_list = explode(', ', $tag_list); ...
0
votes
0answers
12 views

Two or more tag inputs

I wonder if this thing is possible in wordpress post. Two or more input tags in a single post. basically they have different names. or if not, how to make it using advanced custom fields? Please help ...
1
vote
1answer
83 views

Sticky posts on home page, search, tag and archives without plugin

I have a question today. I am looking for a solution to make sticky post available on my website. But, i just got it work on homepage with the code below. function wpb_latest_sticky() { /* Get all ...
0
votes
0answers
28 views

Custom tag archive not working on second page

Here is what I'm trying to accomplish: I have a custom post type called entry. When users click a tag in the site's tag cloud, I want to show them all posts of the type entry with that particular tag. ...
0
votes
1answer
23 views

Track tags in Google Analytics? [closed]

I'd like to track tags for our posts in GA. Is there a way to submit them and have them associated the same way they apply in Wordpress, so that you can see how a particular tag is doing? For ...
0
votes
1answer
29 views

Custom display for homepage, tag and author pages

I need to have pages where the first post on the page has a special format. I've figured out how to modify loop-home.php to get the result I want outputted on the homepage. I want to have the same ...
0
votes
1answer
15 views

Remove Url from Tag

I've google searched and i cant seem to find what i hope to achieve. I'm trying to display the tags without the hyperlink, that is this: <a href="blalblalba.com/tag/tagname/">tagname</a> ...
-1
votes
1answer
16 views

How to do query_posts on tags pages

So I am using the tags.php on my WordPress site to create special featured pages; what I would like to do is create a featured area on the index of every page that contains the first five posts. I ...
0
votes
1answer
31 views

Use Tags to Query Associated Multiple Posts and Get The Average Of Custom Field Values

I have created a custom post type named “Rating” that I’m using to add customer rating sections to my website. Each rating post has the ability to have a: Title Comment section Featured Photo ...
0
votes
0answers
31 views

How to display Category name in tag's URL

Iam displaying tag's in my sidebar of blog page now I need to have post category name in tag's url for example we get url like this http://example.com/category/blog/testpost when we click on post ...
0
votes
0answers
73 views

How to get all tags of a custom post type by id

simple question, how to get all tags of a custom post type by id? post_type=product. i have tried with http://codex.wordpress.org/Function_Reference/wp_get_post_tags in my post loop and the print_r ...
0
votes
1answer
11 views

How to restrict users in edit post that can just select exists tags? not add new

How to restrict users in edit post that they are just can select exists tags in select box and can not add new tags in Tags meta box?
0
votes
0answers
20 views

Show related posts by tag on a page

I've enabled tags on pages to help with a website which features mountains and walks. Each mountain has its own page. Walks are done via posts. I'd like on each mountain to show any walks which have ...
0
votes
0answers
40 views

Add Tags to Post from Multiselect form field

I create for my project Frontend submisson form. And want allow user before posting select Tags for post from dropdown list. List of Tags I call: <select name="post_tags" id="post_tags" ...
0
votes
1answer
23 views

Exclude Tags by Array

and thanks for any help!. I'm trying to display all of the tags except ones that start with a token ("Author: "). I have figured out how to exclude a single tag (just typed it into the exclude ...
0
votes
2answers
42 views

Echo tags with an if statement and display php inside of the IF?

I am having issues displaying tags only if there is tags and including php inside of it as well. This is what I tried but nothing is showing. <?php if( has_tag() ) { ?> <!-- Start of ...
0
votes
1answer
83 views

Organizing The Custom Post Type with Taxonomies / Parent Posts

I am trying to make a custom post type called 'Songs'. It will have only two fields being 'Title' & 'Audio File'. I would also be creating a tag taxonomy field called 'Genres' so that admin can ...
0
votes
0answers
34 views

Manually add URL for Post Tag Links

I want to be able to set a custom URL to tag links, I've checked in the tags section under post but there isn't a box for me to put a custom URL in. Is this possible with WP out of the box, or does ...
0
votes
1answer
35 views

How to remove specific categories from tag archives?

I need tag archives don't display specific categories. Thanks!
0
votes
0answers
34 views

Tags and Templates with Plugin Conflict [duplicate]

I am using WP Courseware (www.flyplugins.com) for a client's site and my basic understanding is that the course units are basically a custom post type ('course_units'). The course units can be created ...
0
votes
3answers
135 views

Display only current page -> posts tags in page

I am having one page for example sample page. I am displaying 3 posts in that page. All 3 posts having 2 tags so total 6 tags. Now I want to display all those 6 tags in sample page , I have tried ...
0
votes
0answers
21 views

Add a Tag to each Post in a Category

I have large number of posts in a certain category. I wanted to add a tag to each post in that category. Here is the procedure to try but not work. Create the new tag. Get the new tag’s ...