The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
1answer
83 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
165 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
50 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
265 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
477 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
80 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
3k 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
117 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
54 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
31 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
35 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
35 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
1answer
284 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
58 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
164 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
119 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
51 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
69 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
400 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
53 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
37 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
95 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
62 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 ...
4
votes
5answers
26k 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
13 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 ...
0
votes
0answers
25 views

Bulk Edit Tags in WordPress?

I would like to have the ability to bulk edit post tags in WordPress. I found an article here which uses a very old version of WordPress (the article published in 2011) and it appears that back then ...
0
votes
0answers
46 views

Is There A Way To Add Weight Or Order To Tags?

I'm wondering if it's possible to add a 'weight' value to tags... similar to how one can specify an 'Order' for pages to indicate their placement on menus. Eg. I may have dozens of keywords but I ...
0
votes
0answers
42 views

Related Post ignore certain tags?

I'm seeking some help, I want my related pages to ignore a certain tag in my pages. How can I get it ignore tags with "sports" in it for my related posts, below is the code I use for related posts on ...
0
votes
0answers
54 views

Show posts with specific tag in a category page

I have a website which belongs to a magazine. I want do something like this: I want to create a link that refers to /category-slug/tag-slug. in that link, I want to show all posts with "specific tag" ...
0
votes
0answers
35 views

Delete Categories and Tags from frontend

There is a function to generate post delete link from frontend: get_delete_post_link( $id ); Are there any functions to generate categories and tags delete link on frontend? I have been looking for ...
0
votes
1answer
28 views

The Tags are not displaying when creating a post

When creating a post, there is not an option to designate tags for that post. There is still a checkbox for displaying tags under "Screen Options," and when checked, it still does not display. It is ...
0
votes
1answer
32 views

Wordpress tags as twitter sharer URL hastags

I want to share a wordpress post on twitter. I'm using this : <a href="https://twitter.com/share?url=<?php the_permalink() ?>&text=<?php the_title() ?>&via=<?php ...
0
votes
1answer
791 views

Strip shortcode from excerpt [duplicate]

I have this challenge, that i've found out that i'm not the only one in the WEB with the same issue, nevertheless, there are no solutions yet. I'm trying to remove shortcodes from my custom post ...
0
votes
1answer
33 views

Best way to specify “article type” in URL

I'm helping a small blog out that posts a few different "types" of articles. These article types are shared across categories. We want to put the article type in the URL. So the structure would look ...
0
votes
1answer
46 views

Feedburner closing </head> error

This is the error I get from feedburner. "The URL does not appear to reference a valid XML file. We encountered the following problem: Error on line 573: The element type "link" must be ...
0
votes
0answers
33 views

Adding post tags without capability edit_posts

I have a custom role called Event Contributor whose capabilities are limited to the post type "events". The role does not have the capability "edit_posts". The post type "events" has custom ...
0
votes
1answer
43 views

Insert wordpress tags below posts via functions.php

I'm in the process of building my own Wordpress theme from scratch and my knowledge of PHP is limited. What I'm trying to do is insert tags below each post. I can do this by inserting code into my ...
0
votes
1answer
49 views

wordpress the_tags not in alphabetical order

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
0answers
46 views

Access WordPress Tag Function From Modal

I am currently working on a plugin that will require the use of the Tag library inside the given WordPress installation. From a page, the user can click a button from the editor, which then opens a ...
0
votes
1answer
33 views

Mapping external data to tags via term_id

I'm looking at migrating a custom CMS with about 40k posts and about 100k tags into WP. The site covers news about the concert industry and will use tags as artist names associated with each post. ...
3
votes
1answer
51 views

How to allow user to perform search by more than one tag

I have a few dropdown select option in my wordpress sidebar: Whenever a user selects an option from any of the dropdown, they are directed to the search result page: ...
0
votes
0answers
86 views

Tag search not working after permalink structure change

I recently changed my permalink structure from the default one /?p=123 to Post name, /sample-post/. That went well except that now the tag search doesn't work. Previously, when I clicked on the tag ...
0
votes
0answers
26 views

How to disable tag url rewriting on homepage (on others it works)?

Wordpress is able to handle posts selection by multiple tags: This url shows all posts from category fruit AND (with tags apple OR orange) http://www.example.com/category/fruits/?tag=apple,orange ...
0
votes
1answer
69 views

Use Tag input metabox style for Categories

I am using Categories to create news timelines, For example http://newslines.org/misha-collins/ (check the cloud at the bottom of the page for more examples) The problem is in the Add Post screen. ...
0
votes
1answer
43 views

How do I Redirect Tags from Old Joomla Site to New WordPress Site?

I've recently converted a site from Joomla to WordPress. I'm down to polishing up the old Joomla site links that don't match the WordPress structure, and I've run into a problem where I need some ...
2
votes
4answers
3k views

show tags of custom post type ONLY

I have a custom post type with tags included as a taxonomy, I am trying to display a list of all the tags that are in the custom post type only. I initially used: wp_tag_cloud(); which generates ...
0
votes
2answers
42 views

How to get any tag ID

I want to exclude a certain tag from my home page not a category only post that hold the tag for example "olive"; I found a function for that which is like this function exclude_tag($query) { ...
0
votes
1answer
48 views

Wordpress Tags in class

I have added tags to my Custom Post Type. Now I want to use them to create a isotope portfolio, I can load all tags with this code: <?php $args = array( 'post_type' => 'portfolio', ...
0
votes
2answers
67 views

Get Tag Slugs that start with a word

Is there a way to get all tags whose slug starts with a specific word? I tried to use the below code but doesn't output anything. What am i missing here? I am new to php so excuse if i am doing ...