The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

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
36 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 ...
0
votes
1answer
51 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. ...
1
vote
1answer
40 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 ...
0
votes
3answers
102 views

Exclude a specific tag from the get_the_tags list

I am building a child theme for my personal use. Not very familiar with php, can only do basic things based on logic. I need to exclude one tag from being displayed on the tag list on a single post. ...
0
votes
1answer
76 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 ...
0
votes
1answer
41 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
113 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
103 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
47 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
22 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
103 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 ...
0
votes
0answers
25 views

How to let users “follow/subscribe” tags (part is working)

I've searched for this for a looong time; My users should be able to follow/subscribe a tag than on a second front page, they only get posts from the subscribed tags. In the following example, in the ...
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 ...
0
votes
0answers
17 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
39 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
49 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 ...
1
vote
0answers
21 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 ...
0
votes
1answer
20 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
195 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
19 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
46 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( ...
0
votes
2answers
119 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 ...
0
votes
1answer
78 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
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. ...
3
votes
1answer
61 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 ...
1
vote
1answer
123 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
0answers
93 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 ...
0
votes
0answers
53 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. ...
6
votes
2answers
301 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
70 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
20 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
0answers
52 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
77 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 ...
0
votes
1answer
71 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" ...
0
votes
3answers
34 views

Order post by taxonomy

I am trying to write a get_posts() query to retrieve 7 posts per page. The retrieval of these posts are based on 3 different tags, "Featured","Highlighted", and "News". Now the "Featured" post take ...
0
votes
1answer
46 views

how to print post tags [duplicate]

I want to list tags of my current post I am using below code <?php $tax_tags = get_terms(array('post_tag')); foreach($tax_tags as $tag){ ?> <p> <?php echo ...
0
votes
0answers
18 views

Single query using Tags(Priority) and Category(Backfill)

I'm working on a widget that I would like to be populated by (a) the same category as the current post and (b) any post found to have a specific tag. So The query would return 10 results always, but ...
0
votes
1answer
317 views

Allow visitors to search by multiple tags (specific IDs)

I'm trying to create a search form/filter that allows visitors to search by specific tags. I've implemented this solution: <form method="get" action="<?php bloginfo('url'); ?>"> ...
0
votes
1answer
71 views

How to exclude category and post_tag taxonomy while displaying custom taxonomy?

The code i'm using for displaying custom taxonomies is as below: function custom_taxonomies_terms_links(){ // get post by post id $post = get_post( $post->ID ); // get post type by post ...
0
votes
1answer
12 views

Saving and using Custom Field in user settings/profile “Checkbox list”

Referencing this question: How to add/save Custom Field in user settings/profile "Checkbox list" I've been trying to get this working, but am having a few issues. I'm using the following ...
0
votes
1answer
48 views

Custom post tag images not displaying with ACF

Using ACF i've added a custom image field to a particular set of custom post tags. The problem I have is that I cannot get the images to display. Yes, I have added an image to the tag and updated. ...
0
votes
1answer
49 views

Search Page: activate html code if the tag is on the page

this is the first time that I write here and my English is not very good, I will try to explain as best as possible. I want to activate some html text if in the result page, the results, has a ...
-1
votes
1answer
215 views

Default post_tag for custom post type

Is there a way to set a default post_tag to all posts within a custom post type. I would like all my posts from a custom posts type assigned to one tag displayed in the wp_tag_cloud. Is there a way ...
0
votes
1answer
358 views

CDATA removing new line in script tag in wordpress

I am getting this error in 4.1.6 suddenly. The code below when put in the editor <script>// <![CDATA[ alert('hello'); //]]> </script> gets converted to // <![CDATA[ ...