The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

2
votes
3answers
5k views

Display posts by tag on page

I'm trying to create an advanced WordPress page that shows the regular content, plus a second section on the same page that shows the latest posts from X tag. For example, a page is created about "...
0
votes
1answer
38 views

Having pages after specifying post_type post

I want to loop through all posts in category 4,but why is there still pages in the result after specifying post_type post? $homeNeWs = new WP_Query(array( 'post_type' => 'post', '...
0
votes
1answer
52 views

Find all strings between an enclosing shortcode

I want to look for all strings in my theme located between my enclosing shortcode [question] desired string [/question]. Then I want to output the so collected strings somewhere in my theme , e.g. ...
0
votes
1answer
38 views

How Do I Get My Post Tags to Alphabetize?

I'm using a self-hosted WordPress site with a Child Theme of Twenty Thirteen. After I requested the same question in the above title, the Child Theme's Developer suggested that I come here and attempt ...
1
vote
1answer
51 views

Cross reference custom post types

Just curious if can I autopopulate custom post fields (like checkboxes or select items) based on another custom posts setup? My goal is to create a custom post types "employees" which can have ...
0
votes
1answer
21 views

Do not output category and tag ulrs

I'd like to use WP as CMS without blog functionality. I use some custom post types with cats and taxonomies, just for building up an isotope filter. My question: Is it possible to do this without ...
1
vote
1answer
718 views

Tags as a dropdown with set tags

Sorry if this is a silly question but is it possible to have a taglist as a dropdown? I have a page where users can post theyre own content, and I would like them to be able to choose certain tags ...
0
votes
1answer
104 views

Include tags in WP_Query

I found several posts about it. Others said that you cannot do it without a plugin and others that it is possible. However, I am not sure what is true :P This is my query and unfortunately, I cannot ...
1
vote
1answer
4k views

Remove post_tag from default post type, add custom taxonomy

I've been searching for a while for an answer to this, but the results I find always deal with custom post types as opposed to the built-in 'post' post type. I want to remove the default 'Post Tags' ...
0
votes
1answer
46 views

Only display posts with a specific tag

How can I only display posts with a specific tag? This is my loop: <?php if ( have_posts() ) { while ( have_posts() ) { the_post(); get_template_part( '...
0
votes
1answer
134 views

Search for multiple tags?

So I have a page template that is setup as follows (using Kleo theme): Search template get_header(); ?> <?php //create right sidebar template kleo_switch_layout('right'); ?> <?php ...
1
vote
2answers
119 views

Searching multiple tags and adding jQuery dependant script onto page template?

I have this simple javascript file for checking boxes in a tree view menu: treeview.js $(".acidjs-css3-treeview").delegate("label input:checkbox", "change", function() { var checkbox = $(...
0
votes
0answers
50 views

How to create a custom permalink structure for taxonomies

I`m trying to achieve the following structure in urls for CPT`s: website.com/CPT - Lists all - OK website.com/CPT/post-slug - List the CPT with slug - OK website.com/CPT/tags - Lists all tags used ...
0
votes
0answers
23 views

Accessing tags from the front end

I would like to access the tags that are assigned to a post from the front end (JS). Is there a hook / object I can tap for these?
0
votes
0answers
151 views

Custom taxonomy not refreshing page on add

I have created a custom taxonomy for use with WP Job Manager. The taxonomy shows up, however when I type in my tag and click the "add new job title" button nothing seems to happen. If I click refresh ...
1
vote
2answers
678 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
503 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
0answers
17 views

Display certain content for a certain search query (does this code look OK)

I've been trying to work out how to display certain content if a certain search Query has been entered in the search box. To be more specific, I'm using buddypress with a tag feature, when someone ...
3
votes
1answer
62 views

Is it possible to put tags and category information in the post as text?

Is it possible to put tags and category information in the post area, so one doesn't have to click the appropriate fields and use the mouse? Ideally I just want to type "#art" "cat:painting" in the ...
0
votes
0answers
18 views

Getting Post Tags From Certain Categories

The site I am working on has about 4 different post categories. I need to output a list (unordered) of tags in that category so that a user can click on them and see posts in THAT category tagged with ...
0
votes
1answer
53 views

Prevent tag creation on the post edition page

Writers on my websites have no discipline. I told them to only use tags found via autocompletion, but they keep creating tags with mistake, typos and specially duplicate. The best could be to remove ...
0
votes
0answers
58 views

How display posts in current category by tag

I need to make a drop-down list sorting post on the tag in the current category. I use the Taxonomy Dropdown Widget plugin, but do not understand how use: The plugin utilizes WordPress's get_terms(...
1
vote
0answers
22 views

Which hook is fired when tag is added or changed? [duplicate]

I have a transient that collects WordPress tags with specific description. I'm looking for a hook name that fires when user edits a WordPress tag or creates a new tag in admin so I can delete my ...
3
votes
1answer
2k views

How important are WordPress tags for SEO purposes?

Am I missing out SEO-wise by not including any tags in general when I write posts on my blog? How do they help a site rank better?
0
votes
1answer
21 views

Show certain number of post from tags

Hi i am using the query below to display post from a certain tag term, but what I want it to show multiple post. So far the query is displaying only 1 <?php $args = array('tag_slug__and' => ...
0
votes
1answer
12 views

Editing the tag pages and using templates

Pretty simple question, but probably with a complex answer. I was wondering if there is a possiblity to customize a certain tag's page. I have a website where we I post music, and I tag the artists ...
0
votes
2answers
257 views

Display tags from specific category in select fields

I am looking to display all tags in select form that are from posts that have been assigned to a specific category. I am using the following code to generate every tag in a select form <div> &...
0
votes
0answers
31 views

navigation buttons in the modal window

I'm working on my dad's portfolio site, but there is something I cannot solve. On my site, photos open in a modal window when clicked. Photos are portfolio post type. Since it will be a tiring ...
0
votes
0answers
14 views

Count topics with specific tag

I'm using bbPress and need your advice on how to count the number of topics associated with a specific tag. This piece of data is needed for WP-REST response. Any help would be greatly appreciated. ...
0
votes
0answers
60 views

How to get popular post tags

I need to get post popular tags. Here what I found from https://codex.wordpress.org/Function_Reference/wp_tag_cloud $tag = wp_tag_cloud( 'smallest=8&largest=22&number=2&orderby=count&...
0
votes
2answers
155 views

Remove Categories and Tags from Admin Dashboard

I'm using my own taxonomy for blog posts and would like to remove Categories and Tags from the Dashboard. I've removed them from the Admin Menu and the meta boxes on the Edit Posts page from this ...
3
votes
3answers
2k views

Use tag interface for hierarchical taxonomy?

Custom taxonomies are great. I registered a bunch of new taxonomies and wrote an importer to import our hierarchical taxonomy into WordPress a la XML. The problem is one taxonomy has about 1,100 terms ...
0
votes
1answer
96 views

Remove 'style=' from Tag Cloud

I am attempting to style the widget tag cloud, however, it seems WordPress now adds style="font-size: 8pt;" automatically to the tag cloud class. Does anybody know how to remove this? Seems like a ...
0
votes
0answers
49 views

How Do I Include The Tag ID And Tag Name In My WordPress Tag Permalink Structure?

I have been searching forever and have come close to finding the answer, but not quite all the way. I have found this plugin: https://wordpress.org/plugins/permalink-editor/ and it allows me to create ...
0
votes
0answers
23 views

Post that looks like a tag cloud

I need a PAGE or a POST - the contents of which look just like a tag cloud. Not an image - but an actual TAG CLOUD (so I can easily add/remove terms that appear in the cloud). The post will not have ...
0
votes
2answers
537 views

Show all tags on custom post type

I'm attempting to show _all tags on the editing screen on a custom post type (products). Adapting these instructions I've created a simple plugin as follows: add_action( 'wp_ajax_get-tagcloud', '...
0
votes
0answers
12 views

Just showing tags in a single category

The code answered here works great.. I just need to now sort and exclude some tags. Creating a unique, linked list of tags from a specific category? Here is the modified code I'm currently using. ...
1
vote
2answers
3k views

Create subdomains for tags and categories

I'd like to find a way to make subdomain addresses work for some of my important tags and categories. For instance foo.thesite.com would show content for thesite.com/category/foo. I've been trying to ...
1
vote
2answers
4k views

Registering tags taxonomy for a custom post type

The actual post type support categories and I want to add also support for tags. I have this code: register_taxonomy( 'category_' . $slug, array( $slug ), array( 'hierarchical'...
1
vote
1answer
159 views

Tag.php not displaying posts with the tag

Ive got a CPT and in my CPT's argument I am calling the taxonomy post_tag. When I create a tag.php file it doesn't show any of the posts for said tag. My tag.php: <?php get_header(); ?> &...
0
votes
2answers
1k views

Displaying the post count of all custom taxonomy terms in a list format

I thought this would have displayed the post counts right next to the clickable links wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'format' => 'list', 'smallest' => 12, 'largest' => ...
0
votes
4answers
576 views

Function to echo (or display?) wordpress tags in the head section

I can't figure this out but I'm trying to echo the post Tags of the post in the <head> section. This code resides in the <head> section of the site. Basically I want the post tags to ...
0
votes
0answers
102 views

Show posts by tags excluding current post

I'm having some trouble trying to display current posts by tags and not adding the current posts. Here is my work in progress and I'm using a custom post type. I'm not exactly sure on what to add in ...
6
votes
2answers
310 views

How do the 'tag' and 'category' (default) taxonomies do 'save_post' action?

I am trying to replace the categories metabox with what looks and works like the tags metabox because there's too much hierarchy and scrolling to check the appropriate categories and sub-categories ...
0
votes
0answers
59 views

anchor link only works when on internal page, not external

I have anchor links, but it's only working when they're linking to the same page. If I'm linking from an external page I see it go to the page anchor but then immediately jumps to the top of the page. ...
0
votes
0answers
77 views

ACF filter Relationship field results based on tag

I have made a relationship field called cases_list. My page (archive-cases.php) looks like this: <?php get_header(); ?> <div class="cases"> <div class="grid"> ...
0
votes
1answer
21 views

Attach link to pages accoding to tags

I have a WordPress blog (local installation) and I'm trying to add the following functionality to it: Suppose I have a page on my blog entitled "Algebra", I want this page to contain a list of links ...
0
votes
1answer
87 views

Limit tags shown in post

How do I limit the number of tags shown using the code below, without having to add $count=0; or if ($count <= to the query, but only for the home page, and a different number for each set of post?...
0
votes
0answers
57 views

Categorizing or tagging post comments

To implement a particular requirement I want to be able to categorize/tag post comments as well. Is there any plugin that does it? Or is it even possible? For example: there might be a post and some ...
0
votes
1answer
85 views

Automatically add tag if a checkbox is checked

I'm looking for a simple function to automatically add a specific tag to a post if a checkbox is checked. For example: When creating a post there is a checkbox that says: "Add example tag to post" ...