The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

5
votes
2answers
308 views

Is There a Difference Between Taxonomies and Categories?

I've been reading the codex for WordPress closely and am confused about the vague definitions between what a Taxonomy is and what a Category is. For that matter, term is also a word that is used in ...
0
votes
0answers
13 views

Combined Category+Tag Archive Page

I am currently developing a music blog. I am using Wordpress categories for the artists and the Wordpress tags for featured artists. I want to combine the archive pages for artists and features into ...
1
vote
2answers
317 views

How to add shortcode tags in single.php

In my theme has one shortcode tags to display tags of post and function to load content post. But in function doesn't include shortcode tag. Now I want to add it to function but i don't know how to do ...
0
votes
2answers
427 views

WP Query - duplicated posts once including tags in search results

I running WordPress on IIS & SQL server. As some of the plugins do not work correctly with DB ABSTRACTION I am using a lot of functions.php filters as so on. To make my search results include ...
0
votes
1answer
670 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
0answers
9 views

Problem with multiple tags in URL

I used the link mydomain.com/tags/tag1,tag2/ on my Wordpress website with no problems whatsoever. But it doesn’t work from a certain moment. It displays error 403: Forbidden. I noticed that links with ...
0
votes
1answer
353 views

How can I add meta tags in the WordPress header?

I want add WordPress post tags in meta property="article:tag". Something like this: This site is optimized with the Yoast WordPress SEO plugin v1.4.25 meta name="robots" content="noodp,noydir" meta ...
0
votes
0answers
22 views

Display related posts with same category or same tag return blank

I'm trying to display 4 related posted in the same category or have the same tag with the current post on the single post page. The result is just blank. <?php $rCateogry = ...
0
votes
2answers
16 views

Get multiple tags by slug

The following code works fine for me: $term = get_term_by('slug', ‘foo’, 'post_tag'); $args = array ( 'posts_per_page' => 5, 'paged' => $paged, 'post__not_in' => get_option( ...
1
vote
1answer
2k views

What are the Theme tags in style.css used for?

In the style.css file in the first comment block, there is a optional "Tags:" directive. What are these tags used for? When are they used?
0
votes
1answer
15 views

Would a “hub” page work better as a page or a post?

First of all, I don't know whether "hub" is the correct terminology, but it is how we've been describing it. I run a movie blog and would like to create a page for each movie we cover in depth. I want ...
0
votes
0answers
5 views

I want to display tag description and tagged attachment (without post if there isn't..) while using tag url

I am new to coding, but i do understand a little bit. Is there a way to edit tag.php to achieve this? I have added Shiba media library plugin to my site so that i can add tags and catagories to ...
0
votes
2answers
31 views

Advice on how to build multiple cross-tagged content types

From those who are more experienced with WP, I could use some advice on how to best set up a local history site to do the following: There will be a list of articles on different historical topics. ...
2
votes
3answers
38 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 ...
1
vote
1answer
190 views

Search Custom Post Type with all meta attached?

I'm currently have a search box that's supposed to search a certain post type. It's supposed to check the query against all standard cpt content, tags and the associated meta data. I'm wondering how I ...
0
votes
1answer
290 views

If tag exists and equals then

I have the following code and I'm trying to check to see if a specific tag exists and if so I need it to be echo'd once. The problem I'm having is when the tag exists multiple places it gets echo'd ...
1
vote
1answer
286 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 ...
0
votes
3answers
36 views

Tags outside the loop

I want to display the tags of the posts in my main page. I used: global $post; the_tags(); But it's only showing up for my FIRST page.
0
votes
1answer
29 views

Root level category, tag, author and archive pages to work

I want root level Wordpress urls to work for category, tag, author and archive page. For example right now categories pages are. domain.com/category/cat-name/ it shows posts under cat-name ...
1
vote
2answers
49 views

WP_Query: Mixing category__in and tag__in together

I'm creating a "Related posts" section for my theme, based on a tutorial from wpbeginner.com. It offered two options in selecting posts: those in the same category(ies), using category__in, or those ...
-1
votes
0answers
18 views

Page Tags Not Displaying [duplicate]

I'm trying to have tags for pages, but it's working. What I want to do specifically is display titles and tags of child pages of certain page. The titles are displayed, but the tags aren't. I have ...
0
votes
1answer
685 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 ...
1
vote
2answers
333 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
35 views

Conditional category & tag statement

I'm just working on a "quick" change to the blog-entry-subtitle of specific posts in a category on my wordpress website. I'm hoping to have "Published in Orchard and Vine Magazine on:" instead of ...
0
votes
1answer
68 views

Is it possible to make tag archive page specific to Custom Post Type?

I want to create a tag archive page (or template) specific for some custom post type(CPT). I am little new to PHP and Wordpress, by the way. In my environment, I have CPT portfolio and custom ...
1
vote
1answer
84 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
0answers
34 views

Strip <p> and <br> tags from a specific div

I don't know if its WordPress or TinyMCE but something always puts a crap load of paragraph and break tags everywhere which is incredibly annoying. I have a div with an ID of "hover" and I want to ...
1
vote
1answer
2k views

tag.php doesn't work with tags on a custom post type post?

here's another stumper. I have a tag.php page. It works fine, unless you click a tag that is in a post associated with a custom post type. Then it doesn't work. Its like that tag, doesn't exist. But ...
0
votes
1answer
33 views

WordPress SQL query to tag all posts containing a specific word on title

Is there a way to bulk tag all posts which have for instance "bottle" in their titles? Thanks!
0
votes
0answers
30 views

edit-tags.php in custom admin menu

For the plugin I'm building I have added a submenu as a child to a custom main menu item in admin. The submenu page is an edit-tags.php page. This shows up as intended under the main menu item. When ...
0
votes
0answers
25 views

Add Class to Tag Cloud Links and Change Terminology

Is there a way to use functions.php to add a class name to all the tag cloud links? This topic does what I need, but it's not through the functions.php file. I was also hoping to change the tag cloud ...
0
votes
0answers
17 views

Countdown to post date tag function?

I made an events post type and I wanna make countdown to post date, for example: Let's say the post is due 5 days later so it writes in the post '5 days remaining' Any suggestions?
0
votes
1answer
23 views

Use blog as base for tags and categories

I have a site: example.com build in wordpress. I set up the posts page as example.com/news. I want my tags and categories to be: example.com/news/tag/mytag example.com/news/category/mycategory ...
0
votes
1answer
27 views

Display a tag before the menu list content

Is that possible to insert a text before the menu items? In this case, I want to lead a <h3> tag for the list content (like a menu title). I tried the if/else to recognize that the menu have ...
1
vote
0answers
23 views

Total Word Count For Posts And Comments By One Author

How can I count words in posts + tags + comments and display the number of total words used by each author ?
1
vote
1answer
255 views

Require tags for bbPress topics [closed]

I want to require my forum members to enter at least one word into the "tags"-line, when they are creating a new topic. As regards plugins and solutions, what I found so far is the WyPiekacz-plugin ...
0
votes
3answers
45 views

How to separate the tags?

Ok I have searched and can't find. Here is what I'm trying to accomplish. I want to separate the tags in my post. For example, I want to show the first tag in my post but have all other tags show ...
0
votes
2answers
127 views

Quicktags on all textarea.. Not working on plugin?

I want to put a couple of quicktags/buttons on a textarea which is outputted by a plugin called user submitted posts. I have given this textarea an unique id and read this on the Quicktags ...
0
votes
1answer
51 views

RSS/XML of all Categories and/or Tags

Is it possible to get an RSS / XML feed of all WordPress Categories and/or Tags? I've searched the Codex, which was very helpful in giving examples on how to access specific, individual RSS feeds, ...
0
votes
1answer
32 views

How To get a list of popular tags by post views?

I am searching for a code, not a plugin, that will allow me to display the most popular tags based on post views for that day. Someone asked this same question but they asked about a plugin, my ...
0
votes
0answers
38 views

Wordpress Custom Post Type and sort by Tags

I am currently making a custom Wordpress theme, but so far I am stuck at this little problem. I have created this custom post type. And in that page (media.php) I want to be able to click on the tags, ...
0
votes
1answer
382 views

Automatically tag posts based on user-defined words [closed]

I want to systematically add tags (/custom taxonomy terms) to all previous posts, from a predefined set of tags (i.e., not Yahoo tags or tags from 3rd-party APIs). For future posts, I would like ...
0
votes
0answers
42 views

Hide Tag Title When No Tags

I'm using this Twig code to display tags on my posts. However, I can't figure out how to get the Tags: title to hide itself when there are no tags. If there's no tags, it just shows Tags: , which of ...
0
votes
1answer
26 views

Primary Taxonomy for Post

My blog posts have have multiple items from my custom taxonomy attached to them. For the sake of this post lets just use Tags taxonomy... So a post may contain 4 tags, is there a way I can select one ...
0
votes
2answers
50 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
0answers
30 views

How can I allow people to 'subscribe' to categories?

I would like for people to be able to subscribe to categories and tags, somewhat like Pinterest or Quora where you have to follow a minimum number of categories. After doing a plugin search, I can't ...
-1
votes
1answer
17 views

Tag page that displays specific posts

How would I go about coding a generic tag.php page that displays all the posts with a specific tag? For example, if I navigate to example.com/tag/your-tag, it should display all posts with the tag ...
3
votes
5answers
23k views

how to query posts by category and tag?

I am trying to show a list of posts that are related to category X and tag Y. I've tried the following code: $args = array( 'posts_per_page' => 4, 'tag_id' => $tag_id, 'cat' => ...
0
votes
0answers
11 views

WP_Query using OR arguments e.g. posts in Category OR has Tag [duplicate]

I'm wondering if it's possible to use WP_Query() to filter posts by multiple OR arguments. I'd like to retrieve all posts that are in a category OR have a tag. If this is not possible using ...
5
votes
1answer
1k views

Can't custom taxonomies have same terms (slugs) as categories?

I knew that it's not possible to have same terms (term slugs) under categories and tags, but surprisingly, as I realized today, that's the case with custom taxonomies as well. So for instance, if my ...