Questions tagged [tags]

The built-in taxonomy 'post_tag'.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Wordpress tag hyperlink creation in the content when a post is saved

I am managing one website. When I create a post i will enter tag keywords in tag section of post in WordPress. When i save the post I need php/javascript function to get the current post’s tags and ...
user3365200's user avatar
0 votes
1 answer
18 views

Tag template for Custom Post Types

I have setup a Custom Post Type called 'Sports Clubs'. These use tags. I need a page to display a list of posts associated with the various tags. I'm currently doing this for standard posts via the ...
Gareth Roberts's user avatar
1 vote
1 answer
82 views

disable adding new tags on the edit and add post

I use the admin menu editor plugin. I have not allowed editors and authors to access the tags section But they can add a new tag in the post edit section This is not good for our site We want them to ...
Ali Kiani's user avatar
0 votes
1 answer
22 views

Wordpress converting ' to ’ and - to –?

When I create a post (or whatever) in wordpress if i type - wordpress converts it to – on site for public users. as you can see left one is bigger than right one (i added right to just show what i ...
Maria's user avatar
  • 1
0 votes
0 answers
48 views

REST API not returning all tags - is there a way to return all tags even ones that are not part of published posts?

I am using the REST API to upload posts and I include tags with them. I get existing tags and check them to ensure I am not trying to upload a duplicate tag. However, the new posts are uploaded in ...
MattE's user avatar
  • 101
0 votes
2 answers
84 views

Error while add Category or Tag in Wordpress

When I want to create a new category or tag on the Wordpress site. I encountered this error. Empty Term. As usual, My theme and Plugins are updated. I disabled all plugins. The error was not resolved. ...
Pouya Zehfroush's user avatar
0 votes
1 answer
92 views

Adding tag slug to post permalink

I'm trying to create a permalink structure for regular posts that looks something like this: /category-name/tag-name/post-name I've been using an AI friend that insists I simply use custom ...
LexGear's user avatar
0 votes
0 answers
16 views

Using categories and tags

I want to create a directory. The categories are the niches. the sub category of each niche are the cities that have those niches in the state. So for example in California, say we have chiropractors. ...
Rich's user avatar
  • 1
0 votes
0 answers
22 views

What file is responsible with tags displaying on the post?

The tags are not diplayed on my blog post What file do I need to edit or how to fix this issue ? Update I found the page is post.php <?php /* translators: used between list items, ...
Crypto Coupons's user avatar
0 votes
2 answers
55 views

Adding support for Post Tags to a CPT added by a plugin

I have a plugin that adds a CPT, but it does not support Tags (normal post tags), which I need it to. SO what I need is a code snippet to add to my Child Theme's functions.php so that as the plugin ...
Trisha's user avatar
  • 418
0 votes
0 answers
18 views

wordpress assign all existing tags to a specific post

I'd like to assign all existing tags of my posts automatically to a specific post! The idea is to make a array of all tags from all posts and then assign them to the specific post! I image that this ...
S.E.M Digital's user avatar
0 votes
0 answers
69 views

How to remove category and other tags from posts page

On my website I have a primary menu. Under this menu, I have links for categories. When a user clicks these menu links, they're redirected to a landing page with all posts that are marked for that ...
Pitmaster's user avatar
0 votes
0 answers
29 views

Need help to be able to searching by tag and title

Hello I am trying to get my search bar to search by titles and tags. I have a function working to search by titles but I cant seem to figure out how to search by tags. I have added the code below to ...
catsanddogs90's user avatar
4 votes
1 answer
316 views

Get related posts matching most of the provided tags using WP_Query

I need help in getting related posts using multiple tags. I have posts with the tags poetry, motivational, attitude, rules, lines, sigma and inspirations. I want related posts matching most of these ...
Ghost's user avatar
  • 43
1 vote
0 answers
81 views

Enable Gutenberg Editor when editing tags

My content creators love the Gutenberg editor in Wordpress. However, they now want to write extensive descriptions for the tag pages for SEO reasons, and WordPress only offers the old default editor, ...
Sorcy's user avatar
  • 145
0 votes
0 answers
14 views

Attachment tag archive

I have found very useful code that creates attachment tag archive function ahub_query_attachments() { global $wp_query; { $wp_query->query_vars['post_type'] = array( 'attachment', 'page', '...
Conrad Mafer's user avatar
0 votes
0 answers
110 views

How to export post tags from wordpress

We want to export WordPress tags, there is no such feature in the default of WordPress wp-admin/export.php. How can we export? Are there any plugins for this?
Navid's user avatar
  • 1
0 votes
0 answers
29 views

How to make attachment tag archive visible on page

I want to make my images displayed on archive by tags, but found only this code: add_action('parse_query', 'hijack_query'); function hijack_query() { global $wp_query; // When inside a custom ...
Conrad Mafer's user avatar
0 votes
0 answers
21 views

get_the_tags($ID) is empty during publish_post callback

I am using the ActivityPub plugin as an end user, I don't own the project. On my site when I add tags and publish, the post correctly ends up in Mastodon but does not include the tags. The Github ...
GenioDiabolico's user avatar
0 votes
2 answers
155 views

How to get a list of pages (not posts) with specific tags?

I am using the Pages with category and tag plugin to assign tags and categories to pages. And now I would like to retrieve a list of items with specific tags associated with a page and can’t seem to ...
Giacomo1968's user avatar
0 votes
1 answer
54 views

Real estate schema markup not showing up on Rich Results test

I am not very techy, but I am trying to add schema markup to real estate listings automatically. The site is built using MyHome theme. Here is an example of a listing that I want to add schema markup ...
3vanse's user avatar
  • 13
0 votes
0 answers
41 views

Custom Titles for Multiple Tag Taxonomy Page

Let me explain what I want to achieve. Normally WordPress allows "filtering" tags with multiple tags. It goes like this: https://example.com/tag/tag1+tag2 It's useful when tag1 has a lot of ...
Recofa's user avatar
  • 67
0 votes
0 answers
14 views

Hiding a tag from display

I kind of dug myself into a hole. My client has three discrete blogs. We'll call them A, B and C. I did this using categories because they all have to appear together chronologically on a generic blog ...
Walk The Dogs's user avatar
-2 votes
1 answer
115 views

How to get tags only with custom meta field and display them randomly?

I'm trying to have a function to display only the tags with custom meta field tax_image_url_universal and display them randomly, which means when page reloads different tags to be displayed. Currently ...
ooneland's user avatar
0 votes
1 answer
22 views

Can I create my own query in wordpress with traditional methods?

I am new to developing themes with wordpress, so here's my question. Can I create my own query in wordpress with traditional methods? I know we use the WP query methods, but what is the most efficient ...
Rookie Recruits's user avatar
0 votes
0 answers
351 views

In my wordpress admin panel Suddenly The Category, tag and featured Image Option are not showing

In my wordpress admin panel Suddenly The Category, tag and featured Image Option are not showing. I write blogs in my wordpress blogs but suddenly there are missing three options for adding The ...
Md. Sabbir Al Mamon's user avatar
0 votes
0 answers
30 views

How do I keep raw HTML in my RSS feed and not lose my paragraph breaks?

My blog posts have paragraph breaks, but my RSS feed does not. Here's a screenshot of the Code Editor for a post that shows paragraph breaks. And the rss feed which doesn't seem to have them: https://...
Katy Kauffman's user avatar
1 vote
1 answer
68 views

See when a tag was first added

Does anyone know how to determine the time/data when a tag was added to the site? Is this even kept in the database?
Matt's user avatar
  • 163
0 votes
2 answers
40 views

Can Wordpress show posts based on a button that the user clicked 2 pages back?

For a new website, I need to show posts based on age category (Adult or Kids), this input should be remembered until the user arrives on specific page a few clicks later, input can also be changed on ...
Tjorven Dewulf's user avatar
0 votes
0 answers
38 views

Get all taxonomy terms for attachment, get_terms does not work for me [duplicate]

I have created tags and category for my media attachments with a function like this register_taxonomy( 'gallery-tags', 'attachment', array( 'labels' => array( 'name' ...
zac's user avatar
  • 640
0 votes
1 answer
36 views

Code to check how many posts a tag has?

I would like to noindex any of my /tag/ pages that have less than three posts attributed to them. Any idea how I would go about doing that? I know is_tag() of course, but am not aware if there is any ...
Matt's user avatar
  • 163
0 votes
1 answer
590 views

wp_get_canonical_url showing first url of the post for custom page

I have created a tag.php page in the theme. It's working perfectly. I am getting the tags post on the page. Now I have added the below link to the header.php page. <link rel="alternate" ...
user9437856's user avatar
0 votes
0 answers
146 views

Show Posts via cat+cat in URL that are in both Categories doesn’t work

it seems like i am the only person on this planet currently experiencing this issue. When i search for www.gooloo.de/category/balea+vegan, it should only show posts, that are in BOTH categories, but ...
gooloode's user avatar
0 votes
1 answer
605 views

Include results with tags relevant to the search keyword with JSON rest API v2

Wordpress doesn't natively search for tags so I need to install WP Extended Search and add post_tags as one of its parameters so whenever I search for keywords natively, posts with that tag will ...
mark-in-motion's user avatar
0 votes
1 answer
736 views

How do I add a tag slug to a category URL to filter posts?

I want to add an option to my site to filter posts by one specific tag on the category page and at the same time have a nice URL (no query strings). So something like this: https://example.com/%...
Rafaucau's user avatar
  • 173
0 votes
1 answer
32 views

For each loop on every word in post

I'm having a recipe site where every post naturally contains ingredients. Every ingredient is a tag, and I would like to automatically link every ingredient so the user can click on it and see all ...
Fernando Redondo's user avatar
0 votes
1 answer
18 views

How can I automatically hyperlink tag names that are in my post body to the tag page

I have a number of sports sites with hundreds of thousands of existing news posts. The site also has a custom post type for team and a custom post type for person. I wish to be able to somehow ...
Stewart Robinson's user avatar
0 votes
0 answers
70 views

How to exclude labels from certain categories in a shortcode?

Good afternoon. There is a shortcode [alltags] that displays ALL site tags on a separate page of the site in alphabetical order with a letter. function wph_alltags_shortcode( $atts, $content ) { $...
mEdvEd's user avatar
  • 1
0 votes
0 answers
51 views

Is it possible to embed a wordpress tag page on wordpress?

I'm trying to use the "Embed URL" block to include another WP site's tag page on my WP page. It seems like I'm able to embed individual posts from that site (so the theme supports embedding)...
milpool's user avatar
  • 101
0 votes
1 answer
111 views

Display list of only specific tags on product

Good afternoon, I know I'm doing this wrong, looked at all the other questions but can't get it figured out. I have a tag list with images assigned that are displayed in a separate area of my site. I ...
CSPoirier's user avatar
0 votes
0 answers
43 views

Best approach to make all tags searchable by the wordpress search function

I have over 2000 tags on one of my sites and I like them to be searchable by the wordpress search function. The problem is if I use a plugin, the time it takes to search them all is enormous. I think ...
bpy's user avatar
  • 299
0 votes
1 answer
78 views

Save all the post tags inside a custom field

I'm having some trouble to add_post_meta using the code below with all the post tags inside a custom field. The code works to echo all the tags, but not for saving them because it only saves the first ...
bpy's user avatar
  • 299
0 votes
1 answer
317 views

Filter products on category AND tag

I want to be able to filter products based on category AND tag, as well as sub category AND tag. From my research I heard that I must write some kind of rewrite rule in functions.php for this to be ...
Fernando Redondo's user avatar
0 votes
1 answer
17 views

List latest post for each tag with a category

I have a page where the latest posts are displayed from within a specific category. array( 'posts_per_page' => -1, 'post_status'=>"publish", 'post_type'=>"post&...
Gareth Roberts's user avatar
0 votes
0 answers
40 views

How can I combine Wordpress default Tags and bbPress tags into one archive page?

I'm trying to figure out how to combine two taxonomies? I've got three things going on: Tags from Buddyboss's Forums (Buddypress/bbpress) Tags from The Events Calendar Pro Tags from Wordpress's ...
Alex Abell's user avatar
0 votes
1 answer
396 views

How to get and set the post tag value within WP Query from URL?

This is new grounds for me. I'm on a hunt trying to figure out how can use a WPQuery to list all posts, that are filtered by the tag which the user clicked on. So for example if the end-user is on ...
klewis's user avatar
  • 845
0 votes
1 answer
540 views

Help to display the current categories and tags of a post

I am using a shortcode to try to display the tags and categories of a post. Specifically, this is a portfolio post, so when a user visits a post they will see the associated categories and tags. ...
Georgeand's user avatar
-1 votes
1 answer
197 views

How to remove a specific script from bulk wordpress posts and images description?

My site got hacked and I found on the end of each post and image description. Is there any way to remove it? Thank you Gusti
Gusti's user avatar
  • 1
1 vote
0 answers
81 views

How to Disable auto id attributes in Heading tag?

I don’t know why but WP is automatically adding id attributes to h2 tags. I am not supplying any id or class attribute and I don’t need it. Also, it’s adding type="1" to <ol> tag that’...
Freya West's user avatar
0 votes
1 answer
79 views

Set two terms for a post when they differ only by an accent

I face the following situation: after manually adding (in the backend) the terms with names (not slugs) Mânie and Manie, that differs only in an accent/diacritic (they are totally different words with ...
Yurié's user avatar
  • 1,101

1
2 3 4 5
27