The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

4
votes
2answers
10k views

How to customize woocommerce related products?

I have the following lines of code in my website that will display the related products at the bottom of my single product page in WooCommerce... functions.php: // display upsells and related ...
0
votes
1answer
29 views

How to create a category or tag available exclusively to the admins and not to the users?

I would like to create a category or tag name that is available only to the admin(s) and not to the authors. For example, I would like to create a category or tag called Exclusive Content. Now only ...
0
votes
1answer
69 views

Is there an error in get_the_tag_list()?

I'm using the theme TwentyThriteen1.0 for my WordPress blog. I recognized that the tags in the meta-part of an article are not separated by a comma. I had a look at the function ...
0
votes
0answers
222 views

Woocommerce slider for related products based on category

I'm using the theme scrollider on a Woocommerce site. I want to display a slider with related products at the top of each category page, before the content. At the moment I've done it manually by ...
0
votes
0answers
15 views

Tags or categories referenced (accessed) via subdomains

Is there an easy way to add subdomain pointing to a particular tag or category in WordPress? So: accessing http://www.blog.com/ or http://blog.com/ would display all posts, http://tag.blog.com/ ...
0
votes
1answer
185 views

Exclude most recent posts from specific category in wp_query()

I have a featured posts slider, which uses the 'featured' tag. I have a query for this which grabs the 3 most recent posts with this tag and shows them in the slider. Below this, I have a list of 10 ...
0
votes
0answers
43 views

Exlude tag (but not whole post) from related posts list

I display related posts under each post, depending on tags. The problem is, I use tag 'featured' for my top featured slider. So 'featured' tag is the most popular tag on my website. And here is the ...
0
votes
1answer
179 views

display most popular tags in two columns

I have a section in my sidebar where I'd like to display my most popular tags in two columns. I found this post from WPSnipp that details how to narrow your list down to only the most popular, however ...
6
votes
1answer
1k views

Can't custom taxonomies have same terms (slugs) as categories?

I knew that it's not possible to have same terms (term slugs) under categories and tags, but surprisingly, as I realized today, that's the case with custom taxonomies as well. So for instance, if my ...
0
votes
1answer
160 views

List all posts of certain category which share some tags

My problem is quite simple: I've got a couple of posts in different categories that have several tags, some of them in common. When I load a post, in my sidebar (using PHP Code) I want to show a ...
0
votes
1answer
19 views

Wordpress - show all posts + ones with specific tag

I have 3 types of posts as below Normal posts without any tag With "featured" tag With "sold" tag On a page, I just want to show normal posts + ones with featured tag and don't want to show posts ...
0
votes
0answers
70 views

Hide or redirect the taxonomy/category/tag page

I created a taxonomy brand with two categories: nike and adidas. What I need is to prevent the creation of the page for each category, like www.example.com/brand/nike/ or www.example.com/brand/adidas/ ...
0
votes
1answer
48 views

Query pages based on tags

On a site that I'm working on I've added the ability to tag pages. These tags should then be used in a query to retrieve all associated pages of a tag. In my functions file - // Add tag support to ...
0
votes
0answers
96 views

How to sync to custom taxonomies (tag structure)

I have two taxonomies: "Contributers" and "Narrators." I want to sync the terms in these two taxonomies identically, so much so that I wish to be able to click on "Edit Term" and see the information ...
0
votes
2answers
844 views

How to get the excerpt of a page before more tag?

I have many pages in my wp installation. All I want is to be able to display the excerpt of any page, also on any page (before more tag). How do I go about it? I was fetching the content of the ...
0
votes
2answers
107 views

Clear custom field when new tag is added

When adding a new tag in the admin interface, WordPress doesn't reload the page. It appears to send the data with an ajax call, clear the fields and add the tag to the list on the right. I am working ...
2
votes
1answer
47 views

Why is WP creating both “/?tag=” and “/tag/” URLS for same content?

I've noticed that WordPress is generating duplicate content with slightly different URLs. For example: http://example.com/the-blog/?tag=santas-workshop ...
0
votes
0answers
48 views

404 Errors due to Tags Getting Converted to Categories

I am having problems on my site thehardtackle.com - webmastertools reports thousands of 404 errors. I have observed a lot of these, and it appears that all the tags on the Website are appearing to ...
0
votes
4answers
159 views

Function to echo (or display?) wordpress tags in the head section

I can't figure this out but I'm trying to echo the post Tags of the post in the <head> section. This code resides in the <head> section of the site. Basically I want the post tags to ...
0
votes
1answer
18 views

How to get links to user and tag by its name?

For example i have the name of user or the name of tag. Is it possible to get direct link to the author or tag? I need something like get_permalink for posts.
0
votes
1answer
31 views

Tags not appearing in “Add New Post” Page

I'm working on a mag website. I'm using Tags to group some content. For this I have added all the required tags from the Tags section under Posts. But When I go to Posts -> Add New, the Tags panel ...
0
votes
1answer
82 views

Return all wordpress custom posts in specific multidimensional array

How can I get all custom posts (post_type=family_guy) with their ID and all of their tags in multidimensional array? Here is exactly how I would like my array to look like: $array = array("1" => ...
-1
votes
1answer
63 views

Attaching multiple custom taxonomies to one CPT?

So I've been developing a complex CPT lately and something came up that made me realize I need a second custom Taxonomy on the CPT. Is this impossible? Also I'm currently using tags as well, so the ...
0
votes
1answer
38 views

How to store category and tags separatly on wordpress?

I am trying to insert data manually on all tables on the back end. I am facing a problem while inserting data to wp_terms. I can successfully insert category into wp_terms and define relationships in ...
1
vote
1answer
196 views

Highlight Current Tag in wp_tag_cloud

I'm in the middle of building a website and one of the pages will be a glossary. The first page of the glossary will display a list of all the words, which are custom post types assigned into a custom ...
0
votes
1answer
196 views

Custom Taxonomy - Tags Metabox is showing instead of Categories

So I have a weird thing going on. Usually by default when you create taxonomies a categories metabox is made automatically (right?). For some reason that's not showing up but Tags metabox is showing ...
0
votes
1answer
368 views

Query Posts by Tag and exclude

Is it possible to only include posts with a specific tag in this query? <?php $query = new WP_Query (array('showposts' => 5, 'orderby' => 'date', 'order' => 'DESC')); ...
-3
votes
1answer
241 views

Get all posts without tags

I'm working with a tag plugin. Is there a WordPress way to get_posts or query all posts that have no tags?
0
votes
1answer
39 views

scaleability of tags

I had seen a post by Wordpress where they mention that they support unlimited 'tags' (as opposed to categories). Since php is driving Wordpress, would you mind explaining how/why they can make such a ...
0
votes
1answer
31 views

Issue with Custom Post Type Tags

I cannot get TAGS to work within my custom post types. I have the following to establish my custom post type: function Work() { $labels = array( 'name' => _x( 'Work', ...
0
votes
1answer
19 views

Add a tag like a post

For days I'm looking at different threads Stackexchange, but I can not find the solution. I hope you can help me out. I created a post_type called "bands". I'm trying to, from another post_type (eg ...
0
votes
1answer
106 views

How to list tags from custom post type attachments?

So I am trying to list out all the tags created for images uploaded within my custom post type only. I added in a snippet of code to my themes functions.php file to enable media categories and tags: ...
1
vote
1answer
19 views

Line of Tag information Is Formatted Strange

I'm placing a tag list in the post footers on a blog. You can go to this specific post: http://www.smallfryblog.com/2013/09/03/small-fry-films-midtown/ and scroll down to the post footer see what ...
0
votes
1answer
89 views

altering theme - content generated by PAGES not PORTFOLIO

I bought the Hardy theme from Theme Trust thinking that the content below the home page slider would be generated by page content NOT "project" or portfolio content. Turns out, the content below the ...
0
votes
1answer
26 views

Tag URLs load a single post

I recently rebuilt a WordPress install (maintained database, replaced WordPress/plugins/theme files) after the site was compromised. It is working more or less correctly now, with the exception of tag ...
0
votes
1answer
71 views

How to take list of words and insert them as terms to become tags of a post

I am working on a plugin that will take words with a certain number of characters from a post title and create a list of suggested tags in my Tag Suggester meta box. I have created the function to ...
0
votes
2answers
203 views

Exclude page name from loop

I'm currently using this loop: if (is_single() || is_page() ) : if (have_posts() ) : while (have_posts() ) : the_post(); How can I exclude multiple pages within the loop? For an example, ...
0
votes
1answer
673 views

Strip shortcode from excerpt [duplicate]

I have this challenge, that i've found out that i'm not the only one in the WEB with the same issue, nevertheless, there are no solutions yet. I'm trying to remove shortcodes from my custom post ...
0
votes
1answer
31 views

Tag selection while adding new post

In Wordpress CMS, In the "add new post" page , I just wanna let users select suggesting tags in the "tag selection box" and cannot add new tags. How can I do that?
1
vote
1answer
220 views

Search Custom Post Type with all meta attached?

I'm currently have a search box that's supposed to search a certain post type. It's supposed to check the query against all standard cpt content, tags and the associated meta data. I'm wondering how I ...
0
votes
1answer
263 views

Highlight current tag using get_tags()

I'm nearly there with this, but I need to highlight the current tag link/archive being viewed: <ul id="blog-tags"> <?php $tags = get_tags(); if ($tags) { ...
0
votes
1answer
66 views

Need to display tag group as first name, last name but sort on last name

The reviewers for our site are listed as filtered tags by first name then last name. How would I keep the display list as is but sort by last name? I have now: Aaron Smith Bob Jones Carl Harrison ...
0
votes
1answer
879 views

How can I filter posts by tag on the fly

I need to create a catalog of posts that use lots of categories and sub categories but that can be filtered by tags. I have created a custom post type and assigned custom categories and tags to it. ...
0
votes
6answers
85 views

Create three unique tag page templates

On my site, users can view content on the blog or on a cartoon index page. Both these pages aggregate posts and custom post-types. The cartoon index differs in that it has an image slider before ...
0
votes
0answers
32 views

How do I output a list of categories from a tag?

I want to show a list of categories associated to a tag. So say now I have two posts: Brown Sneakers which is in the Category GOLF child of SPORT and tagged USA and Pink shorts which is in the ...
0
votes
1answer
470 views

Theme Check gives: Required: This theme doesn't seem to display tags?

I am testing my theme with Theme Check plugin and it shows this message: Required: This theme doesn't seem to display tags? Picture: How can i fix this?
0
votes
2answers
141 views

stripping tags from excerpt in Wordpress is not working

I am using this snippet <a href='<?php the_permalink() ?>' title='<?php echo strip_tags(the_excerpt()); ?> with which I am intending to remove all ellipses, <p> tags and other ...
0
votes
3answers
91 views

Strip Characters From Tag Name

I am having some difficulties trying to strip out special characters and spaces from my tags. Using the below code: <ul class="work_tags_nav"> <li><a ...
1
vote
1answer
768 views

custom post type taxonomy “tag” archive : no post found

I've registered a custom post type "object" and registered the taxonomy "post_tag" so that these objects can be tagged. register_taxonomy_for_object_type('post_tag', 'object'); When I visit ...
0
votes
1answer
179 views

How To Add One Tag to Multiple Posts?

I have nearly 1500 posts in my wordpress blog. Before moving to a new design, I need to tag all these posts with one tag 'old'. How can I do this? I tried to bulk edit posts and it will always go only ...