The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
1answer
16 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
9 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
7 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
138 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
17 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
21 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
55 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
39 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
24 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
0answers
12 views

Design: year of work creation: custom field, tax, something else?

Let's say I have to build a site for publishing old books and manuscripts or histories about those books and manuscripts. For many of them they knows a year of creation/publication, but for many ...
0
votes
1answer
23 views

Woocommerce Filter Main Loop by Tag [on hold]

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
12 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
14 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
8 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
5 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
40 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
10 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
43 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
17 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
20 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
23 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
12 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
27 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
24 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
51 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
7 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
16 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
24 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
16 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
32 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
65 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
32 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
31 views

How to remove specific categories from tag archives?

I need tag archives don't display specific categories. Thanks!
0
votes
0answers
33 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
87 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 ...
0
votes
1answer
93 views

Custom post types and tag archive pages/permalink structure issue

I've been struggling to get the permalink structure to be correct on my custom post types (at least, I believe this is what I believe the problem is at this point - please correct me if you think ...
1
vote
1answer
37 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 ...
0
votes
3answers
54 views

Sort and display pages with specific custom field (not tag)

What I need basically is to display child pages on a parent. But I want to split the list of childs to, lets say, 'important' and 'non-important' to display it at the beginning and at the end of a ...
0
votes
2answers
29 views

How to add Post Tags to a new <meta> element in header.php?

How to add Post Tags inside a new element in header.php? I'm probably overlooking an obvious function in the WordPress Codex. I have tried adding these to header.php: <meta name="page-tags" ...
1
vote
2answers
99 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
52 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): ?> ...
0
votes
1answer
62 views

Change Widget that display posts from categories to tags

I have a theme with a widget that display posts from category and I wanna change it to posts from tags if it s possible. Here is the code : // NewsInPictures Widget class NewsInPictures extends ...
0
votes
1answer
31 views

A Space being added to url generated by custom plugin

<?php /* Plugin Name: Convert Comment tag to link */ add_filter( 'comment_text', 'mh_commenttaglink' , 5000 ); function mh_commenttaglink( $text ) { // RegEx to find #tag, #hyphen-tag with ...
0
votes
1answer
64 views

How to “group” (categorize) the Pages together?

I have a lot of Pages which can be (need to be) grouped under a number of different Categories. ** Then the more important thing is, i need to control those pages (of different groups) programatically ...
0
votes
0answers
12 views

Converting hashtags into search friendly term (%23) in a widget

The plugin Hashtag can achieve this within a posts text, so surely its possible on a widget? I have no idea what I'm doing here, specifically its the widget 'Popular searches tag cloud' I am trying ...
6
votes
1answer
189 views

Show all post tags on post edit screen/sidebox

I am looking for a way to show all post tags on post edit screen/tags sidebox in WordPress admin section. By default WordPress shows 45 most used tags but I need a way to list all tags there or at ...