Questions tagged [tags]
The built-in taxonomy 'post_tag'.
1,320
questions
0
votes
1
answer
40
views
How to Display Posts on a Tag Archive Page Based on Custom Field(term meta) Values in WordPress?
I am not sure whether this is possible with the current architecture of WordPress, but I think there should be a way.
I have a WordPress site with around 11,000 posts and have recently added about 60 ...
0
votes
1
answer
17
views
Insert Tag in WordPress Post
I have below code.
$args = array(
'post_title' => $this->h1,
'post_content' => $this->profile_text,
'post_status' => 'publish',
'post_type' => 'post',
'...
0
votes
0
answers
10
views
Getting checkboxes for some tags in a search box
I'd like to modify the following
$array = array(
210 => array(
'id' => '210',
'name' => 'animali permessi su richiesta'
),
216 => array(
'id' => '216',
'name' => 'aria ...
0
votes
1
answer
253
views
ACF - Tags not showing up in Custom Post Types
I have a tags taxonomy and then I've added it to my CPT, however it does not give me the option to add tags to my CPT now. How do I get it to do that?
0
votes
0
answers
26
views
wp_tag_cloud: list only general tags associated with a custom taxonomy tag
I have a custom taxonomy called, for example, "colour". And I have normal tags. I use them both on posts.
So, for a specific tag cloud I'm building, I want it to list all taxonomies that are ...
0
votes
1
answer
32
views
Search only by post_tags
Is it possible to search only by post_tags? If the tag is not found, no result is displayed.
Any modifications to functions.php or premium plugin?
I tried using WordPress Extended Search, but it ...
0
votes
2
answers
35
views
Count post with tags within one category?
I have a code that counts how many posts I have in with certain tags, is it possible to add the functions to count how many posts I have with a certain tag that's in a particularly category called &...
1
vote
2
answers
99
views
How to run this plugin every time a post is saved?
So far this is what I have... I'm new to developing plugins so I'm not sure how to make a plugin run code on a post save. I know that this would likely work if it was added to the post.php page but I ...
0
votes
1
answer
56
views
search filter for search and tag page doesn't work
Here is my search function in functions.php
function search_filter($query) {
if ( ! is_admin() && $query->is_main_query() ) {
if ( ($query->is_tag() ) || ( $query-> ...
0
votes
1
answer
64
views
Only an admin can add new tags
Hello,
How can I restrict the addition of new tags for users who are not administrators in Posts -> Tags?
1
vote
2
answers
57
views
Search for portfolio tags & mixing portfoliotags and post tags
I have been trying to filter my search result without success.
Here is my function in functions.php
I want to retrieve only post and portfolio posts (no pages).
Below is the code I found on your ...
0
votes
0
answers
25
views
Wordpress blog post tags in 2 rows
In the WordPress theme I use, I can usually add 5-6 tags in one blog post.
If I add more tags (7, 8, etc...), the tags continue to go under the sidebar, and don't make a second row (what usually the ...
0
votes
0
answers
23
views
Category and tags are not working properly
When click on cateory or tag they diplaying all posts in the every category but every categpry have different posts.Please help how to fix this.
Using Blockkit Corporate Theme
0
votes
0
answers
22
views
Add tags to blog-posts by php-script
I currently have a different blog software where the blog-post-keywords are in the database record of the blog post. So title, content and keywords are one record, not like in WordPress where each tag ...
0
votes
0
answers
36
views
How to change product title color in shop page if product has specific product tag (Woocommerce)?
How to make Woocommerce automatically change product title color for shop page if product has specific product tag (Woocommerce)?
Example: if products have tag "banana" or "melon", ...