The built-in taxonomy 'post_tag'.

learn more… | top users | synonyms (1)

0
votes
1answer
83 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
65 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
39 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
213 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
223 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
449 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
276 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
32 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
111 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
99 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
72 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
221 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
794 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
245 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
306 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
69 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
1k 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
89 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
35 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 ...
1
vote
1answer
563 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
168 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
102 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
851 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
216 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 ...
0
votes
1answer
86 views

Wordpress “Add new tag” button is not working

I really dont know where else to look at :( When I try to create a new tag in wordpress from back end under post column, it wont save the tag. However when I tried to save a blank it prompts me an ...
0
votes
1answer
41 views

Tracking multiple tags or categories

I'm trying to find a way to track the popularity of multiple categories, tags or custom taxonomies. On our site we often use multiple categories for a single article - e.g. an article would be ...
0
votes
2answers
226 views

Search in Archive Pages by subcategory, tag, custom field and year

I've been struggling to find the best solution for a better (custom) search. I'm using WordPress for a large Media Catalog, so my intention is to provide better search options. So far I've been able ...
0
votes
1answer
50 views

Function filter breaking tag archive menus

Ok, I'm setting up a site with a some CPT's. When creating posts under said CPT's, we added tags. When viewing the posts results after searching, tags were displayed, but upon clicking the archive ...
0
votes
1answer
53 views

Retrieve post tags from from main wp_query

I'm running a custom WP_Query and find the following SQL running as part of it. SELECT t.*, tt.*, tr.object_id FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON tt.term_id = t.term_id INNER ...
0
votes
1answer
634 views

May I change the order of the tags?

I have a list of all tag. I want set a order for them, form example, as order of slug? Here is the code for get all tags. <?php $tags = get_tags(); foreach ( $tags as $tag ) { $tag_link = ...
0
votes
1answer
65 views

Featured Images for Tags?

Is it possible to somehow create featured images for tags or custom taxonomies. For the sake of explanation, I will give an example of the possible functionality. Say I am running a website that ...
-1
votes
2answers
48 views

Can't seem to get an else statement correct? [closed]

I'm learning my ways in PHP lately and play allot with WP and PHP. I've created a some PHP that fetches some posts with the same 1th tag. This with some help with a tutorial here and there. The thing ...
0
votes
1answer
276 views

Wordpress editor, change code wrap (bbpress?)

I am developing a theme and using jquery prettify to style code tags. Sofar I love prettify, and for the most part wordpress is cooperating. When text is wrapped in <code> tags everything ...
0
votes
1answer
38 views

Add # before each tag

How can we add # before each tag with both the_tags( ) and wp_tag_cloud( )?
0
votes
1answer
2k views

how do I get the tag name from tag id?

I have the tag ID, in integer format. I want to convert this to the tag name. e.g. "cars" How do I do this?
0
votes
0answers
205 views

How to load jquery tag-it plugin into admin?

I'm trying to load tag-it jquery plugin into the wordpress back-end for the category edit page, but for some reason I can't. The following are snippets of my code: function ...
1
vote
1answer
197 views

Creating a Lightweight Media Tags Plugin with a Custom Taxonomy

We’ve been using Media Tags ( http://wordpress.org/plugins/media-tags/ ) for a while, particularly for the dashboard media management features rather than any of its front end display features. It ...
0
votes
1answer
47 views

show tags on “single”-template sidebar only

If a post has tags, I would like to show only those tags as a list in the sidebar when viewing the single post; how do I do this? I have searched to find a suitable plugin, but didn't find one, as ...
0
votes
1answer
46 views

Assign classes to Custom fields

I have a post with 4 custom fields, and I am using the_meta( ) to display these. I want to add an image to the list items, but a different image for each item eg. key "Client" will have a small image ...
3
votes
2answers
1k views

Using URL parameters, list posts from category and custom taxonomy

For example, http://example.com/?cat=6&tag=books lists posts that belong to category ID 6 and tagged 'books' (i.e. posts that satisfy both conditions). Similarly, ...
0
votes
1answer
455 views

How to check if post has any tag?

I am displaying post tags like this: <div class="tags"><?php the_tags('<span>Tags</span>' , ' '); ?> </div> It works fine, but if the post does not have any tag, then ...
0
votes
2answers
80 views

List posts with same tag?

Is there any way to list my posts by tags ? i need to alter the URL too... like mysite.com/tags/mytag will list all the posts having 'mytag' as tag.
2
votes
4answers
3k views

show tags of custom post type ONLY

I have a custom post type with tags included as a taxonomy, I am trying to display a list of all the tags that are in the custom post type only. I initially used: wp_tag_cloud(); which generates ...
0
votes
1answer
276 views

Change Permalink Structure for Tag.php template

Im using a custom post type to build a filterable gallery and taking advantage of the tags taxonomy within it. I am also using a custom taxonomy called years. at the moment, the permalink structure ...
0
votes
0answers
21 views

Assign tags records that have a keyword

I have a lot of records without labels, I want to assign a specific tag such records. If the name of the record found a certain word, then it is assigned a specific tag. I think it can be done through ...