The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
0answers
26 views

Exclude one tag while calling another one from the same post

I have a very specific problem. While displaying posts from one of my categories, I want to display below a selection of related posts using the same tag. The problem is that my posts all have two ...
0
votes
0answers
9 views

I want to do required field Tags Meta_box before publish a new post

I´m trying to doing a "required field" for the "Tags Metabox" when the user posting a new post, like the featured image metabox. But I'm not sure which is the best solution, via jQuery? or by hooking ...
-1
votes
0answers
19 views

list of recent post by specific tag or taxonomy

<?php $catquery = new WP_Query( 'category_name=s&showposts=10' ); while($catquery->have_posts()) : $catquery->the_post(); ?> <li><a href="<?php the_permalink() ?>" ...
-1
votes
0answers
14 views

Convert wordpress tags & categories to woocommerce tags & categories?

With the ref of Convert WordPress posts to products in WooCommerce I have learnt how to change wordpress posts to woocommerce products. How can i change wordpress categories to woocommerce ...
0
votes
0answers
15 views

Assigning custom title in tag template

Wordpress (at the moment of writing the question): 4.4.1 The task: create tag pages with the following features: tag page URL ends in .html tag page display posts marked with the tag in specified ...
-1
votes
2answers
35 views

Tag custom loop show posts

i have a posts tag with 'php'.....i am using this code to show all posts tag with 'php' but it not work <?php query_posts('tag=$tag'); if ( have_posts() ) : while ( have_posts() ) : the_post(); ...
0
votes
1answer
15 views

Querying for specific tags

I currently have this code that pulls all of the tags and creates a list with links for them: <?php $tags_array = get_tags(); foreach( $tags_array as $tag) : $tag_link = get_tag_link( ...
1
vote
1answer
12 views

Search Posts / Pages with multiple options?

Here is what I am trying to accomplish. Need to design a website for Alcoholics Anonymous (local Chapter) to search for meetings. Need to search for multiple choices of meetings for example. Men's ...
0
votes
1answer
31 views

Exclude posts with certain tags in category archive

When we click a category link we find all posts under that category. I would like to hide posts from specific tag within that category, and to show a link which enable us to show the posts on that tag ...
0
votes
1answer
26 views

Wordpress title as keywords (tags) with excluded stop words

How to change normal sentence WordPress title to "tag like" list with excluded "stop words". Example: "This is one test post title about something." To: "one, test, post, title, something" This ...
1
vote
1answer
21 views

How get permalink for the current category or tag?

There was a problem in which it was necessary to get permalink of the category/tag viewed. I have not found standard functions, everything other authors offered was only for categories. I resoved the ...
0
votes
1answer
22 views

Hide category name using mod_rewrite

I have a website with at least 3 categories. I have set one of them as the default category. Next step was that I need to have the category slug of the default category to be hidden from the URL ...
0
votes
1answer
33 views

Include tags from array, ignore the rest in get_the_tags

I'm trying to exclude a large amount of tags from being displayed in get_the_tags function. I have successfully excluded tags using this code: <?php $links = array(); foreach ...
-1
votes
1answer
28 views

How can i get tag without />?

I see that wordpress make tag meta, link, style, img, ecc.ecc. like theese: <img /> <meta /> <link /> <style /> with the /> at the end of the tag. How can i get tags like ...
-1
votes
1answer
18 views

Show all tags but exclude a certain tag

I'm trying to get it work with tag__not_in but it doesn't work. $args = array('order' => 'DESC', 'orderby' => 'count', 'number' => '70', 'taxonomy' => 'post_tag', ...
1
vote
2answers
40 views

Script to duplicate categories as tags

I have a site with 900+ posts, each with about 3-5 categories. I would like to copy each of the categories to be a tag and am looking for the SQL code to do just that. I do not want to delete or ...
1
vote
2answers
34 views

Must Use Plugin Causing Query Error

I created an MU Plugin which will only display the posts from certain tags in the loop like this: function custom_tags( $query ) { $query->set( 'tag', array( 'custom', 'general' ) ); } ...
2
votes
1answer
39 views

Displaying Only Certain Tags in Loop

What I'm trying to do is alter the loop across my site so it will check the site URL so it will know which tag to display. For example, if I give some posts the tag "golfclubs", I want it to work ...
1
vote
2answers
30 views

Replace taxonomy permalinks

I have this permalinks settings: /%postname%/ I have a custom taxonomy issue. I want replace all my taxonomy links (site.com/category/wordpress) to (site.com/category/wordpress/issue/any-child). ...
0
votes
0answers
27 views

WP tag slug name in URL

I want display tags from specify category. My code is: $query_args = array( 'category__in' => $category->term_id , 'posts_per_page' => -1 ) $query = new WP_Query( $query_args ); ...
-1
votes
2answers
54 views

Trying to prepend a Hashtag symbol to the_tags links [closed]

I want to prepend a hashtag (#) in front of the tags on my post pages in Wordpress using jQuery. This code is not working: $('div.tags a').prepend('#'); This is the php: <div class="tags"> ...
0
votes
0answers
15 views

Tags & categories in post not found how can I fix?

I am setting up a custom theme with as base template underscore. New I am completing the last bits and bolts ... but it seems that the categories and tags are not working: ...
0
votes
1answer
36 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
29 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
50 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
32 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
20 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
2answers
53 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
48 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
37 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
59 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
77 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
38 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
20 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
60 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
18 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
14 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
15 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
21 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
29 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
18 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
11 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
112 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
11 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
13 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
37 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
69 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
46 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
46 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 ...