The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

1
vote
2answers
1k 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 ...
2
votes
2answers
381 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
698 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
2answers
466 views

Can't Find a “Most Popular Tags” Hack Anywhere [on hold]

If anybody knows where to find a most popular tags hack, I would be forever grateful. I've searched and searched to no avail.
0
votes
2answers
33 views

Sort tags by first letter or included number

I have 200 tags i am building movie directory website some tag as example The Wolf of Wall Street (2013) Goodfellas (1990) Catch Me If You Can (2002) Monster (2003) The Bling Ring (2013) Devil's Knot ...
0
votes
0answers
10 views

Sort tags by first letter or included number v 2.0 [duplicate]

my previous question Sort tags by first letter or included number I found this solution <?php $tags = get_tags( array('name__like' => "A", 'order' => 'ASC') ); foreach ( (array) $tags as ...
0
votes
1answer
457 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
1answer
18 views

Creating a search with tag variable also added for more detailed results

Wordpress search results is definately not the best indexing and search function we have seen.. If adding multiple tag variables in the search in order to get a more precise result work? For example: ...
0
votes
2answers
449 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 ...
1
vote
1answer
17 views

Find out which user created a category or tag?

We recently had an employee create inappropriate categories on our site as a way to retaliate against one of our managers. We are looking to figure out who is responsible. I have super admin, as well ...
0
votes
1answer
317 views

If tag exists, then echo once

I have the following code and I'm trying to check to see if a specific tag exists, and if so, I need to echo it once. The problem is when the tag exists in multiple places, it echos multiple times. ...
0
votes
1answer
21 views

How to Display the tag content of Custom Post?

I have a custom post called "Portfolio" whith the taxonomies: - Categories - Tags (tag clouds) I want to show the Tag content inside the custom post. Thanks.
0
votes
0answers
14 views

Show different number of posts per page in tag archives

I am using the following code out of loop to show one post per page in tag archive. <?php query_posts($query_string."&showposts=1") ?> However, I want to show recent posts as 10 posts ...
0
votes
0answers
10 views

Wordpress tags select [on hold]

I want change the default Wordpress tag feature to something different. 1. Create two types of tags- 'Parent' Tags and 'Child' Tags. To make it clear, Say, the parent tags are Fruits, Animals, asian ...
3
votes
1answer
1k views

Exclude Specific Term from Search

It is possible to search for posts with a specific term by appending the URL with: ?&term=abc Is it possible to do the opposite and search excluding a specific term? Something like: ...
0
votes
1answer
70 views

How to change value in wp-include/taxonomy.php without exchanging the Wordpress-core

I had the problem that tags of private posts didn't show up in a widget tag-cloud even if the user is logged in. The reason seems to be the value of "post_status" in the function ...
0
votes
2answers
29 views

Add Tags to custom post type

I'm using the cherry framework on a WP site. It comes with a custom post type that can be used to add 'Team Members' and create staff pages etc. I need to expand this so that I can add tags to each ...
1
vote
1answer
299 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
1answer
27 views

get_the_tag_list() returns bad links

I have created a custom post type named 'portfolio' and assigned the default 'post_tag' taxonomy to it. In single-portfolio.php template I'm using the following code to view each post's tags: echo ...
0
votes
0answers
17 views

Drop-down list of article tags

How would I get a list of all the tags on a post-type archive page and display the tags not in a tag cloud but in a multi-select drop-down list. When the user selects tags, then filter which posts ...
0
votes
1answer
57 views

edit-tags.php in plugin admin menu hides when is the active page

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
1answer
278 views

Auto insert More tags in all posts

I have a theme for my mobile site that requires the <!--more--> tag in my posts for it to display an excerpt of my post's content. I've got over 2000 posts already, and its going to take ...
0
votes
0answers
15 views

Archive page display all posts which are listed under multiple categories or tags

Say I have some posts that I want to display which are listed under the categories "Video Games" and "Reviews". Or I have some posts under the tags "Mario" and Four-Stars". I initially came to ask a ...
6
votes
2answers
583 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
2answers
20 views

Conditional tag for attachment posts

In Wordpress single.php post pages are both for media attachments (e.g. http://domain.se/postname/imagename/) and blog post pages. What conditional tag can I use to determine if a post is not a media ...
0
votes
1answer
34 views

How to create tag.php

How do I create a tag.php template that will work for every post that contain tags? I created few Tags like = Food, Drink and Fruit post 1 have Food and Drink tags post 2 have Food and Fruit ...
0
votes
0answers
16 views

Get Posts by tag from a custom taxonomy

I have a custom post type called product, which have two custom taxonomies named as product_tags & product_categories. In My Product Categories archive page, I am listing tags. My requirement ...
0
votes
0answers
24 views

Archive.php is not displaying tags

I have a fairly standard "if" construct to detect what archive.php should display (see below) I also have a custom post type and a custom category. When a user clicks a displayed category (taxonomy) ...
0
votes
0answers
31 views

Cherry Framework Categorys not working on custom post type

I am using the Cherry Framework. In a child theme i have added a new custom post type and set it to use the built in category and post-tag taxonomies. I have added this to my theme.ini in my child ...
0
votes
0answers
14 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
381 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
0answers
10 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
0answers
37 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
21 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
16 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
35 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
46 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
204 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 ...
-1
votes
3answers
39 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
42 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
75 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 ...
0
votes
1answer
38 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
91 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
159 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
47 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
60 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
36 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 ...