0
votes
1answer
57 views

Is it possible to make tag archive page specific to Custom Post Type?

I want to create a tag archive page (or template) specific for some custom post type(CPT). I am little new to PHP and Wordpress, by the way. In my environment, I have CPT portfolio and custom ...
0
votes
0answers
35 views

Wordpress Custom Post Type and sort by Tags

I am currently making a custom Wordpress theme, but so far I am stuck at this little problem. I have created this custom post type. And in that page (media.php) I want to be able to click on the tags, ...
0
votes
2answers
49 views

Categories and Tags not working!

I'm at the final debugging stages for a major web design project I've been working on for the last 6 months. The site itself is based on the has become a bit of a behemoth (merging 4 existing sites ...
0
votes
1answer
31 views

Best way to specify “article type” in URL

I'm helping a small blog out that posts a few different "types" of articles. These article types are shared across categories. We want to put the article type in the URL. So the structure would look ...
0
votes
2answers
30 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
1answer
136 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
0answers
46 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
0answers
10 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
0answers
52 views

Query post names based on tags of current post

I have a custom post type called 'employer'. In some of my normal posts, I use the slug of an employer as a tag to link the two together. For example POST A mentions "Adidas" and therefore I add ...
0
votes
1answer
53 views

Custom post type tags not showing in search

I have a number of custom post types for which the admin can tag each separate posts. The problem : None of the posts show upon front-end search query with any of the tags... Is this normal ? have I ...
0
votes
1answer
113 views

Tag page only display 10 posts

I've had a problem with this for quite some time now and cannot for the life of me figure it out. I am using Multi-site and not sure if that has anything to do with it or not, so keep that in mind. ...
0
votes
1answer
78 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
54 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
173 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
28 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
93 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
176 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
3answers
84 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 ...
2
votes
4answers
2k 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
176 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
1answer
271 views

If tag exists and equals then

I have the following code and I'm trying to check to see if a specific tag exists and if so I need it to be echo'd once. The problem I'm having is when the tag exists multiple places it gets echo'd ...
0
votes
0answers
44 views

Use global query parameters in new WP_Query for presenting separate results in tag archive

wp_reset_postdata() does not seem to work here. I'm building a custom tag archive template, which should feature results from different post types in diferent boxes. <?php $query_stringa= ...
0
votes
1answer
163 views

Navigation menus not showing because of custom post type filter

I use this filter to show content from all custom post types in tags archive page function tagFilter($query) { $post_type = $_GET['type']; if (is_tag()){ if (!$post_type) { ...
1
vote
2answers
124 views

Where to store custom tagging data associated with a custom post type

My application allows users to add tags to an image (similar to facebook). Each tag can consist of up to 8 attributes and there is currently no limit on the amount of tags a user can add. At the ...
0
votes
1answer
21 views

Why is my taxonomy have a category style div id?

I created two custom taxonomies. I created them using identical code and then finding and replacing the "name" with "name2". I've then looked at the post type page and there are two tag boxes to ...
0
votes
2answers
1k views

Custom post type, taxonomy and admin bar

I have two kind of post types in my WordPress website: "Articles" which is the classic post type "Breves" which is a custom post type I want them to share the same standard categories and post ...
1
vote
1answer
2k views

Registering tags taxonomy for a custom post type

The actual post type support categories and I want to add also support for tags. I have this code: register_taxonomy( 'category_' . $slug, array( $slug ), array( ...
2
votes
1answer
150 views

Custom post type with tags

My understanding is, that custom post types can share tags with the posts also. I have created tags and applied them to a blog post and a custom post type. Yet when I click on a tag it only returns ...
3
votes
1answer
2k views

Get posts with tag all post types

I'm trying to get all posts that have a specific tag, regardless of what type of post that is. I've tried every solution I've found (here on SO and further), but nothing works: I always only get the ...
1
vote
1answer
133 views

How can I show 1 featured post in a styled element, and the next few below differently styled

I'm looking for some thoughts, ideas, and/or direction on what is the best way to accomplish this: Basically I want to have 1 "featured" post in a differently styled div, and then display the next ...
3
votes
3answers
2k views

Undefined property: stdClass::$labels in general-template.php post_type_archive_title()

I've got a custom post type with a standard tag taxonomy added to it like so: 'taxonomies' => array('post_tag'). I've added some tags to some posts of this CPT which are display on the front-end ...
0
votes
1answer
907 views

get tags from custom post type

I have a custom post type called "portfolio" with 2 registered taxonomies : portfolio_category and portfolio_tag. I'm using a custom theme that use a lot of javascript/jquery. So this is how the ...
0
votes
1answer
287 views

custom post type tags

I have this code: $args=array( 'post_type' => array ('portfolio'), 'orderby' => $orderby, 'order' => 'DESC', 'paged' => $paged, 'posts_per_page' ...
0
votes
1answer
107 views

Query Custom Post Type by Tag

Kinda confused on this.. hoping someone can help. I have custom post type named "Providers" that I want to pull entries from that are tagged "highlighted". I enabled tag support on the custom post ...
0
votes
1answer
163 views

display custom portfolio tags

This is a part from the code that is used to display portfolio categories: $post_cat = array(); $post_cat = wp_get_object_terms($post->ID, "portfolio_category"); ...
1
vote
1answer
314 views

search also in taxonomy, tags and custom fields

I have found many answers separately for Taxonomy, Custom fields and Tags, most of them outdated. But how to combine a search in: - designed custom fields of a custom post - custom taxonomy terms - ...
0
votes
1answer
130 views

Display by tag from different post types

I'm trying to display posts within the WP loop and am able to successfully do so with <?php query_posts('tag_id=10'); ?> Here the loop will display all posts with the tag ID of 10, but I'd also ...
0
votes
1answer
894 views

List all the tags from a custom post type

I'm looking for solution that will display all the tags that used on a custom post type.. I just want to list them all coz I'm going to add jquery code on each tag. :)
0
votes
2answers
764 views

portfolio custom type tags support

I have portfolio-post-type.php which contains this: <?php add_action( 'init', 'create_portfolio_post_type' ); function create_portfolio_post_type() { register_post_type( 'portfolio', ...
0
votes
1answer
871 views

Advanced archive url structure (category, tag and date)

Is it possible to create a permalink structure like this: mysite.com/category/books/tag/read/2010/01 Or at least something like this: mysite.com/category/books/?tag=read&year=2010&month=01 ...
1
vote
1answer
390 views

Why does querying on post_tags (which has been applied to custom post types) only return posts?

So I've created a little jquery cycle based feature rotator that pulls from the post_tags. I added the post tags to my other custom post types like this: register_taxonomy_for_object_type('post_tag', ...
0
votes
1answer
510 views

How can I create an automatic drop down menu with my tags?

I have another post type which isn't the default one. I have four taxonomies attached to that post type. And I have many tags attached to these taxonomies. I would like to create a drop down menu ...
0
votes
1answer
504 views

Tags and Taxonomy links not working for Custom Post Types

In my theme, I registered a taxonomy by the name of tax_groups for a custom post type named custom_items. So the following URL was returning the lastest custom_items ...
0
votes
1answer
119 views

Tag-post relationship problem

tag is not working in wordpress like it is supposed to. When I add tag to a custom post type it shows up in tags list and the relationship can be seen in the term_relationships table and the tags are ...
0
votes
1answer
333 views

Tag template not returning posts [closed]

I have the following code which SHOULD print out the title of all posts with the associated tag (in this case the tag is 'icon'): <?php $tagname = get_query_var('tag'); ?> <?php ...
1
vote
2answers
354 views

Custom post type getting wrong categories and tags

Ok i have a custom post type on my blog called videos, where i only post a video. There's a sceen cap below On the right are the latest post from the custom post type, on the left is the video, ...
0
votes
1answer
29 views

One post auto attached to many another items

Let's say I'm building site with mp3's. I'm adding every single mp3 as custom-post-type. I 'm also adding artists bio and its displayed on every single-mp3 post. What I want to do is add this bio just ...
1
vote
1answer
202 views

Does anyone have a plugin that could automatically tag custom post types in wordpress?

I was looking at http://wordpress.org/extend/plugins/web-ninja-auto-tagging-system/ and unfortunately, it wont work on custom post types. Can anyone suggest (with what changes are needed) to have ...
0
votes
1answer
52 views

Need help deciding on a taxonomy

I'm working on a project that mimics a product Catalog, all products belong to a Collection and they all have a Type and Attributes. For instance, a shirt belongs to the Apparel Collection, so I ...
0
votes
1answer
156 views

Navigate by Tags inside a custom Post Type

I want to have the possibility of navigate by 'standard Tags' inside my custom post type 'Car', like the following: http://www.example.com/car/toyota http://www.example.com/car/blue Of ...