Tagged Questions

The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
1answer
48 views

Wordpress Tags in class

I have added tags to my Custom Post Type. Now I want to use them to create a isotope portfolio, I can load all tags with this code: <?php $args = array( 'post_type' => 'portfolio', ...
0
votes
2answers
40 views

Tags not working in my custom post type

I created new post type and support tags like this: 'supports' => array( 'title', 'thumbnail', 'editor', ...
0
votes
2answers
61 views

Get Tag Slugs that start with a word

Is there a way to get all tags whose slug starts with a specific word? I tried to use the below code but doesn't output anything. What am i missing here? I am new to php so excuse if i am doing ...
0
votes
0answers
84 views

How to add an empty entry to masonry?

I am using masonry js library for display posts in my wp installation. The problem with it is that you cannot really add anything between posts entries because absolute positioning is used. So either ...
0
votes
1answer
77 views

Massive Tags Remove Using MySQL

I am using WordPress 3.4.2 for one of my site and currently it has 38,251 tags Now i want to remove all Tags from my site, so which way will be more safe to truncate every tags my site has.
0
votes
1answer
69 views

Display the first tag assigned to a post

This is what I'm trying to achieve: Originally I was trying to include the first tag of a post above the post on the homepage, using the following: $tags_i = 0; $tags = get_the_tags(); if ($tags) { ...
0
votes
1answer
78 views

How to change value in wp-include/taxonomy.php without exchanging the Wordpress-core

I had the problem that tags of private posts didn't show up in a widget tag-cloud even if the user is logged in. The reason seems to be the value of "post_status" in the function ...
0
votes
0answers
61 views

How to list categories/tags as a list in meta tags

I was wondering if there's any way to list all tags and categories of a posts in the header of that post. I want to list all the tags/categories via a plugin as a list in meta, similar to this: ...
0
votes
1answer
36 views

Add post tag without post id

How can I add a new Tag without an post-id? wp_set_post_tags() needs a Post-Id, but a client want import Post-Tags without assignment to a post (for choosing later into the posts).
0
votes
0answers
21 views

Specify which template to use by link?

Is there a way to specify which template I want to use when clicking a specific link? Specifically, I have my tag template listing all posts that have a certain tag. My page for the category ...
3
votes
1answer
150 views

In the tag archive - display count of posts for each category they belong to

I will try to be as explicit and short as possible. Suppose I have a site for books. I have three categories named adventure, romance and fantasy. Then, I have a tag called old books. In the top of ...
0
votes
0answers
61 views

Own Custom Tags/Category page ( posts)

I want to make a page where on each tags : My page should look alike : http://www.missmalini.com/aamir-khan-2/ Above page is coming from http://www.missmalini.com/celebrity-fan-pages/ this are ...
0
votes
1answer
33 views

Permalinks of archive tag wordpress

I try to add link of tag archive in text that contain tag. For example:- if i have tag that name "football" and in single.php i display the content like "the_content();", So now when article have ...
0
votes
0answers
27 views

Secondary loop cuts off at 10 posts?

I have a loop to get a tag name from the URL slug, and then show all the posts, grouped by category, that matched that tag. It works, but I recently noticed it only shows 10 posts despite my setting ...
0
votes
1answer
106 views

Display posts count in front of the tag, for each tag

I needed to list all existing tags so I have some code that does it. Now I would like to put the count (the number of posts the tag is associated with) in front the tag like in the example given ...
0
votes
1answer
35 views

Make WordPress search for only this tags or exclude certain tags from search [duplicate]

Is there something like a function for letting the WP search form search for ONLY some tags you fill in. in example: function wordpress_search{ //search for tagname1, tagname2, tagname3 } If ...
1
vote
2answers
2k views

Wordpress removing <p> tags?

I'd already come across a case where Wordpress added <p> tags. However now I'm dealing with the opposite situation. When I add [] shortcodes inside <p> tags WordPress automatically removes ...
0
votes
1answer
100 views

Removing a taxonomy term

There is a Wordpress function called wp_remove_object_terms that unfortunatly doesn't seem to work. I am trying to achieve the same ends using the following $post_terms = wp_get_object_terms( ...
0
votes
1answer
588 views

How can I add meta tags in the WordPress header?

I want add WordPress post tags in meta property="article:tag". Something like this: This site is optimized with the Yoast WordPress SEO plugin v1.4.25 meta name="robots" content="noodp,noydir" meta ...
0
votes
1answer
212 views

Query posts from a specific category and selected tag

I am trying to have a page (tag page) with this conditions: query posts from a specific category (for example : products) show only the posts with a selected tag (the tag is variable) not all the ...
2
votes
1answer
70 views

Combining tags from post types

I am trying to create a tag cloud that combines different post types. When I do a generic wp_tag_cloud, it only pulls the tag from posts, but if I add the custom post type that I want to include in ...
0
votes
1answer
383 views

Auto insert More tags in all posts

I have a theme for my mobile site that requires the <!--more--> tag in my posts for it to display an excerpt of my post's content. I've got over 2000 posts already, and its going to take ...
0
votes
1answer
76 views

htaccess redirect for all categories converted to tags now showing 404

I have a WordPress site which syndicates content from a number of sources and auto creates categories and tags. I have converted a large number of categories to tags which now leaves a ton of ...
0
votes
1answer
58 views

Retrieve all posts within tag OR category?

I've created a simple loop. And I have the following array for the query: $live_tags = array( 'tag' => 'live', 'showposts' => 5, 'post_type' => 'post', 'post_status' => ...
0
votes
1answer
293 views

post_tag tanonomy with custom post type

I'm looking all over google but doesn't find the way to do it. i've declared a custom post type (let's say 'job') with a custom hierarchical taxonomy ('activities'). I would also like to assign ...
0
votes
1answer
72 views

Change CSS on tag in tagcloud, if ther current post is tagged with the tag

My tagcloud are placed in the sidebar (outside the loop). I want to give the tags in the tagcloud a class if the current post is tagged with the tag. How do I do this? - something id wrong :( This ...
0
votes
1answer
17 views

Back up post tags

What is the best way to back up tags on posts? I want to delete all existing tags on all post types, but want to be able to restore them if something goes wrong..
0
votes
1answer
335 views

How to remove specific tag from multiple posts?

I am trying to find a method to delete a certain tag, that is used in my theme to display differently "featured" and "dont-miss" posts, from multiple posts and I was not able to find a solution. Or ...
0
votes
2answers
248 views

How to get Tags with specific post id

I have created one post and post ID is 34 and added some Tags and Now I want to retrieve all tags with post ID. Any Idea?
0
votes
0answers
65 views

Multiselect value in wp_query

i have been trying to display the post that contain specific tag. what i am trying is: if user search for post related to tagss for example: if user selects the tag Don after submition the query ...
0
votes
2answers
86 views

Add tags to post before it's created

Is it possible to add tags to a post, prior to its creation? Say if I have a link "/wp-admin/new-post.php?tags=a,b,c,d" and by clicking it, I want to enter the new-post page with the tags already ...
0
votes
0answers
33 views

Issue with “Search Everything” plugin

Trying to use this plugin to allow the admin to search uploaded media by tag ... it works fine on the media upload page but finds nothing when searching for the same tag in the Add Media popup. I'm ...
0
votes
1answer
74 views

Always show same size tags for Tag Cloud in Wordpress Admin

I wanted to know if there was a way to modify the back-end of Wordpress to do 2 things: Make all tags' font the same size, so none are larger than the others Always show the most used tags when ...
1
vote
2answers
556 views

How to add shortcode tags in single.php

In my theme has one shortcode tags to display tags of post and function to load content post. But in function doesn't include shortcode tag. Now I want to add it to function but i don't know how to do ...
0
votes
1answer
37 views

Show all videos by tag name

I need to get all videos by tag name, im using code like that $tax_terms = get_terms('media_category', 'orderby=count&order=DESC&hide_empty=0'); foreach ( $tax_terms as $tax_term ) { ...
-1
votes
1answer
66 views

How to add tags to identify custom post types in archives?

The most important thing I would like to add that is missing from my site is colored post type tags for each of my 7 custom post types within the category archives, search archives, and tag archives ...
0
votes
0answers
58 views

Update tags to 10,000+ posts with wpdb?

I have over 10,000 posts on a site which all need to have a tag added to them. WP_Query is either running out of memory or timing out on my server and in the past running large queries with this ...
0
votes
0answers
33 views

How to search my posts based on tags or keywords?

I am developing one wp site, in which I have to insert some tags and keywords and tags to my posts. I want those posts get filtered based on the keywords, for e.g. when I click on the link [Fresher ...
0
votes
0answers
33 views

Adding tag name to code

I want to add an event tracking code to the_tags on a single page. What I have done so far: //ADD EVENT TRACKING TO TAG LINKS function add_class_the_tags($html){ $postid = get_the_ID(); $html ...
0
votes
0answers
53 views

Custom Post Type Tags Showing Under Regular Post Tags

I have a CPT of Projects that uses the post_tag feature. My CPT tags are also showing up in my regular blog post area under Tags. I added a new "regular" post tag and it also showed up in the CPT ...
0
votes
1answer
18 views

Is there a way to retire old tags?

I would like to retire some old tags I used to use. Is there a way to migrate them to a new tag, or even better, remove them from previous posts?
0
votes
1answer
29 views

How to get tagged pages to show up with tagged posts?

I'm trying to implement tags on my pages, so pages show up in the tag clouds I have printing in various places on the site. The problem? If I tag a page, it doesn't show up in the list. Only posts ...
1
vote
1answer
61 views

Get tags for post_type

I have several custom post types that all share the same tags. On the archive for each custom post type I want to display a list of tags used, and the number of posts associated with each. get_tags() ...
0
votes
2answers
130 views

Using <!--more--> tag to output text in Genesis?

here's what i'm trying to achieve! HTML: some text <!--more--> some text when post is loaded: some text MY TEXT WHICH WAS ADDED TO THE MORE TAG some text on my old WP site, i used this to ...
0
votes
1answer
236 views

Custom WP_Query for current category (in category.php)?

I'm using a small code to display a tag list for the current categories like below: <?php $custom_query = new WP_Query('posts_per_page=-1&category_name=overnachten'); if ...
2
votes
1answer
80 views

Remove tags from the kses filter

I know one can modify the kses filter to add new allowed tags to it, but is there a way to remove some of them? I can't find how. I need to disallow DIV tags. Any ideas? Thanks
0
votes
0answers
11 views

Problem Wordpress redirection?

In my blogsite, we can view blogs from example.com/blogs/. In each blog, all related tags are displayed from example.com/blogs/tags/my_tag/. In tags page, there is pagination. If next is clicked in ...
0
votes
0answers
38 views

Wordpress Native Function To Show Publish Box, Select Categories Form etc On Plugin Page

The picture above showing the default forms those are available on metabox of wordpress post/page editor screen. Is there a wordpress native function to show those forms on a custom plugin page ...
0
votes
0answers
12 views

Organize a content site - should I use cpt and taxonomies or the theme?

I have built a content site which includes several types of posts: text article, video post, image gallery / presentation, audio, etc. I am using a theme for the front-end. the theme includes a page ...
0
votes
2answers
187 views

How to add class on term link?

I am looking for a way to add tag slug as a class. I can't figure out how to achieve this... Here is how I display the products tags <?php echo get_the_term_list( $post->id, 'product_tag'); ...