The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

1
vote
1answer
11 views

Create single.php for specific tag by tag id or name

i have multiple tags and want to create multiple single.php for everyone tag. How create single.php for tags?? This code working well for category, how to edit it for tags?? function ...
0
votes
1answer
13 views

how to get title to custom tags page

how to get title to custom tags page ? & how to make if condition like to my taxonamy if ( is_page() ) { the_title(); } elseif ( is_tag() ) { single_tag_title(); } tax: add_action( '...
0
votes
1answer
12 views

Custom Tags Archive - permalinks not working

I need to create Custom tags archive like normal tags in post_type "post". ex: i need this http://sitename.com/mtag/test work like http://sitename.com/tag/test add_action( 'init', '...
1
vote
0answers
19 views

Post tags saving as both tag name & tag ID on post update when tags are displayed as checkboxes

I've created a custom non-hierarchical taxonomy and changed it to display as check boxes instead of a tag cloud. However when I am in the post editor and select on of the available tags then update ...
1
vote
2answers
552 views

Non-hierarchical custom taxonomy using checkboxes on edit-screen -> saving issue

I registered a non-hierarchical custom taxonomy ('property_features'). There is a checkbox for every terms of this tax in a custom meta box on the edit-screen. All terms are displayed and all terms ...
4
votes
2answers
2k views

Widget to display custom taxonomy tag cloud

How to alter the default widget to display a tag cloud of a custom taxonomy?
-2
votes
0answers
20 views

IPTC tags for WordPress developers/users [closed]

Are there any tools that automatically tag content with IPTC news-codes (topics from the IPTC hierarchy), and if not, would such a tool be of interest to the WordPress community?
2
votes
2answers
849 views

Pagination problem after WP_Query with tag filtering

I have a problem with a custom WP_Query. I want a page with all posts with a specific tag. This is the code I'm using: <?php //save old query $temp = $wp_query; //clear $wp_query; $wp_query= ...
0
votes
1answer
21 views

Is there a way to change the Tag selector from text input to checkmarks?

I am using tags (in a disciplined way) as a hack to manage categories with multiple parents. It would be nice to be able to select tags using the checkmark UI, the same way categories are selected. ...
2
votes
4answers
2k views

How to display post tags

I'm converting an HTML template into a wordpress theme and I'm having some trouble displaying the post tags within the functions.php file. What I would like to do is add the following code into the ...
0
votes
2answers
4k 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 ...
0
votes
2answers
415 views

Categories and Tags not working!

I'm at the final debugging stages for a major web design project I've been working on for the last 6 months. The site itself is based on the has become a bit of a behemoth (merging 4 existing sites ...
0
votes
2answers
217 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 ...
0
votes
1answer
433 views

display custom portfolio tags

This is a part from the code that is used to display portfolio categories: $post_cat = array(); $post_cat = wp_get_object_terms($post->ID, "portfolio_category"); ...
3
votes
1answer
3k 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 ...
0
votes
1answer
13 views

Display list of categories that contain products with a specific tag

I've tagged some products with 'tag1', 'tag2' or sometimes both. I want to list the categories that contain products with a specific tag, so 'Cat1' will only be listed if it has a product that is ...
-1
votes
0answers
12 views

Topic tags deleted by other participants in bbpress

I am running bbpress(Version 2.5.9) + buddypress(Version 2.5.3) on wordpress version > 4.5.1. In bbpress there are users with Forum Role as Participant and site role as Participant. I have observed ...
0
votes
2answers
2k views

Filter categories using tags

I have a website with the following categories: Videos Pictures Stories And I have a lot of tags like: Funny, Awesome, Mind Blowing, Crazy, etc. Is there a way I could filter lets say: Videos ...
0
votes
1answer
613 views

/tag/tag_name/page/2 gives a 404 error

I created my own template for list of entries for certain tag (tag.php), It will shows up 10 entries, and with Previous & Next link. <?php $paged = get_query_var('paged') ? get_query_var('...
-1
votes
0answers
11 views

Create dynamic webpages of images based on image tags [closed]

I have a database of pictures associated with different tags. I want my website to dynamically create a webpage based on a specified tag. For example, if one clicks on "Puppies" I want all the photos ...
0
votes
1answer
14 views

Tag Menu items based on their categories

Suppose I have a site with this menu-structure: food banana carrot apple lettuce where the fruit-items belong to fruit and the vegetables belongs to vegetable. Now ultimately ...
-1
votes
0answers
27 views

Related post by tag?

I would like to ask that what code should i add in order to make my related posts by tag ? This is my code, but it ordered by category global $wiles_option; $categories = get_the_category( $...
4
votes
3answers
4k views

Custom columns on edit-tags.php main page

I am trying to add custom columns to edit-tags.php for a custom taxonomy that I have created. This custom taxonomy is called equipment-types and it only applies to one custom post type called ...
0
votes
0answers
21 views

Prevent the Loop from running on tags page

I wrote a custom post query for the tags page (tags.php), which queries all posts. I therefore do not need the Loop on that page, because it only queries those posts related to the tag. Is there any ...
0
votes
2answers
36 views

How to exclude a specific tag from the list of tags for the current post?

I would like show a list of tags assigned to the current post, but exclude one by tag id. I tried excluding it from the array of objects returned from wp_get_post_tags, something like this: $tags = ...
0
votes
0answers
32 views

get_the_tags function not retrieve all tags for specific category

I use this code below to retrieve all tags from a specific category. The code is working correctly, but only returns three tags in stead of all tags (I assigned six tags for this category). These ...
2
votes
1answer
30 views

Get all tags not just first 10 with wp api 2.0

if I do /wp-json/wp/v2/tags I only can get first 10, and seems the adding per_page=0 no longer work on it for getting actually all tags. Anyone knows how to actually get all the tags with wp-api 2.0?
1
vote
1answer
530 views

the_tags() : display the tags by the order they are typed in in the backend, not alphabetically

I'm using WordPress' the_tags() to display the tags of each post on a single side. What I intend to do is to display the tags by the order they are typed in in the backend, and not by alphabetical ...
0
votes
1answer
482 views

How to add tags to post from frontend?

I am working on a site where visitors will be able to add tags to post from frontend without being able to edit the already assigned tags. It basically will be a add tag button where upon clicking ...
0
votes
0answers
29 views

Pre_Get_Posts: You can not group by tags in posts within a category?

With pre_get_posts you can group posts within a category: Example: Movies Category: tag Comedy Comedy Post 1 Comedy Post 2 Comedy Post 3 tag Action Action Post 1 Action Post 2 Action Post 3 And ...
1
vote
1answer
26 views

How do I add a related tags list to a wordpress tag page

I would like a tag list that shows related tags on a tag page. For example when on the tag page for the tag "Technology", I would like a tag list of other popular related to that tag based on other ...
5
votes
2answers
58 views

Checklist of selected categories

On my blog I have a large number of categories >500, so I need to have some kind of checklist which categories are already selected to continue selecting. For example, if we have cat1, cat2, cat3......
4
votes
2answers
100 views

How to remove Nextpage tag inside posts text depending of utm_campaign

Is it possible to remove "nextpage" tag inside posts text depending of utm_campaign ? Depending of where my visitors are comming from, I want to remove the <!--nextpage--> of my post. I ...
0
votes
0answers
31 views

How to add an “All” category to the tag cloud?

I'm using the tag cloud widget in my sidebar that displays my categories and would like to include an "All" link at the top. Any ideas how to accomplish this? Note, I would like to keep using the tag ...
1
vote
2answers
429 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
0answers
11 views

Category related tags

Is there any work around for relating tags to specific categories? Not been able to find one. I have a range of tags which only belong to certain categories. These tags are used in an advanced search ...
3
votes
2answers
111 views

Sort posts by tags in category pages

I would like to sort posts by tags in category and archive pages. (Unfortunately there isn’t an orderby parameter for tags. That would make things so easy!) So a category page would be like this: ...
0
votes
1answer
22 views

Category page with thumb is ok but can't do the same with tags

I got a wp theme that can display a category page with thumbs (of posts) $cat_args = array( 'orderby' => 'name', 'order' => 'ASC', // 'number' => $num, 'child_of' =&...
4
votes
2answers
121 views

Load custom posts with same tag as page

I'm using this plugin to add tags for a page: http://wordpress.org/extend/plugins/post-tags-and-categories-for-pages/ And I've added tags support for the custom post: function codex_custom_init() { ...
2
votes
2answers
367 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 ...
-1
votes
1answer
30 views

how insert how many post type in this function?

I have two type post and i want display both in tag. this function i can insert one post type, how insert two post type in this function function post_type_tags_fix($request) { if ( isset($...
3
votes
2answers
4k views

How can I include custom post types on a tag page?

I'm using custom post types, but they don't appear on tag pages along with regular posts and i'd like to include both standard and custom post types on tag or category pages. What would be required ...
0
votes
1answer
44 views

How to get a post's content? [closed]

I'd like to known what is the best solution for getting a sepecific post's content. By slug, tag, id or category ? Or template assigned to this post ? I don't like the way to find this post by its id ...
1
vote
1answer
40 views

How to build a WP_Query using mulitple tags and using AND or OR operator between them

I'd like to craft a query to return posts based on the conditional presence of certain tags. The pseudo query is: return posts with "((tagA OR tagB) AND (tagX OR tagY))". But I'm having issues ...
1
vote
0answers
13 views

How to list categories within tags?

I'm currently working on an ecommerce site with WooCommerce. I'm using product categories for product types (e.g. cards, DVD's), and product tags for topics/themes (e.g. Christmas, children). What I'...
1
vote
1answer
26 views

Echo tags used to describe the theme

I've got a plugin I am working on to return an instance of the WP_Theme object properties. The plugin essentially allows for a simple child-theme creation. /* Theme Name: <?php echo $...
2
votes
4answers
4k views

Wordpress removing <p> tags?

I'd already come across a case where Wordpress added <p> tags. However now I'm dealing with the opposite situation. When I add [] shortcodes inside <p> tags WordPress automatically removes ...
0
votes
0answers
17 views

Multiple tags to create an RSS feed not working as docs describe

I'm trying to create an RSS feed that is based off of AND not OR with tags. In the codex https://codex.wordpress.org/WordPress_Feeds it says that you can use the format: http://www.example.com/tag/...
4
votes
1answer
41 views

Executing Queries in tag.php

I'm probably being dense, but I can't seem to figure out what the issue here is. The site I'm developing uses a custom loop, with a query that excludes any posts ticked as archived. The reason I ...
1
vote
2answers
903 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 ...