Tagged Questions

Since WordPress 2.3, plugin and theme authors have had the ability to create custom taxonomies-- essentially specialized "categories"-- to help organize information.

learn more… | top users | synonyms

0
votes
1answer
29 views

Insert form checkbox at bottom of taxonomy edit term page

I have created a custom taxonomy 'provider'. I have also added a checkbox to the add and edit term pages. The problem is that the checkbox I have created is showing at the very top of the page - right ...
0
votes
1answer
29 views

How to change permalinks to taxonomy and post type's posts

Hello I want to change my taxonomies and posts permalink. I have taxonomies like that; Audi A1 1.4 TFSI 1.6 TDI A3 1.2 1.4 ...
0
votes
1answer
39 views

Display taxonomy term slugs

I'm looking to display a slug list of the taxonomy term for the current post within the loop. <?php $terms = get_the_terms( $post->ID, 'wpsc_product_category' ); if ( !empty( $terms ) ){ $term ...
0
votes
1answer
42 views

How to show post for a particular term of custom taxonomy?

I have created a custom taxonomy for a custom post. Now i want to show all post related to a particular term. Suppose i have two terms term1 and term2. When click on term1 then all post related to ...
0
votes
1answer
44 views

Generating List of Tags from Custom Post Type

I have created a Custom Post Type "model" with corresponding tags "model_tag". I am trying to generate a list of tags chosen for the post. I am able to generate a string using the code below, however ...
0
votes
0answers
46 views

If taxonomy has child-category then show child else taxonomy post

i have a custom post type name 'post_type' => 'albums' and taxonomy 'taxonomy' => 'albums_cate'. i have 4 parent taxonomy name -"personal,happy,smile,cry" and "personal" have 2 children(sub-category). ...
0
votes
0answers
18 views

how to store wordpress terms?

i have customized a wordpress form and added two new fields of type "radio". i got this post array but wordpress not storing radio button data. here is my code for adding radio : ...
0
votes
0answers
52 views

How to get Taxonomies Only assigned to Queried Post types?

I'm developing a wordpress site about real state, I have a custom post type called "Property" and a custom taxonomy(attached to property post type) "Location" (Kendall, Boca raton , Del Ray beach ...
1
vote
0answers
15 views

put custom taxonomy slug in front of their respective term slugs

I needed to register two custom taxonomies which partly share some terms. The structure would look like this, when commerce and crafting are two different custom taxonomies: Commerce Furniture ...
3
votes
1answer
52 views

wp_options table value

I am trying to understand a wordpress behaviour. When I add a tag in the admin panel mysql does a sequence of queries. Essentially: update wp_terms update wp_term_taxonomy and udate wp_options with ...
0
votes
1answer
37 views

predefined custom field on registration page

What I want to do is, i have a professional theme (like elist from elegant theme) and in theme there are so many custom fields. I want to include those custom fields into my Wordpress custom ...
0
votes
1answer
30 views

Next/Previous links in custom taxonomy, where item may belong to multiple terms

I have a CPT of 'Projects' and a custom taxonomy term tied to that called 'Sections' (basically the same as 'categories' I just find it clearer to use a different term name on a CPT than on standard ...
0
votes
0answers
69 views

Wordpress WP_Query Array Custom search via taxonomies

Im trying to write a custom search function for my wordpress site. Im using WP_Query and multiple arraylists. Is it possible to order by search after taxonomy = pa_felg-bredde ? Here is my code so ...
0
votes
1answer
50 views

Posts per Page on custom Taxonomy Template

I'd like to show 20 posts on my custom tax template, using this filter: function customize_customtaxonomy_archive_display ( $query ) { if ( ( $query->is_main_query()) && ( is_tax() ) ...
0
votes
2answers
48 views

Get taxonomy names by post id

I'm trying to create a single page where I display a few posts on one page. So far so good. Works all fine. Now I display posts in a foreach loop where I check if they are connnected to the page. ...
0
votes
1answer
51 views

Post data in separate divs with incrementing class using WP_Query

I'm trying to achieve this result (which is the static HTML) and this is what I've gotten so far. Below is the approach I've taken: Created a CPT for 'locations' Created a custom taxonomy 'region' ...
0
votes
1answer
45 views

How to order a list of taxonomy terms alphabetically?

I have the following code to list taxonomy terms in a drop down list. It works great, except the list in the drop down isn't in alphabetical order. How do I modify the code to list them ...
0
votes
0answers
19 views

Default metadata for Custom Taxonomy when using Add New Item on Post Edit

I have created a custom post type, that has a hierarchical custom taxonomy. This taxonomy has extra custom fields tied to it that save to a custom table in the DB. These fields have default values set ...
0
votes
0answers
21 views

Show Taxonomy content

I've created a Taxonomy called Collections and also have a custom post type called products. I want to show the top 3 categories on the homepage and then when you drill down into each collection ...
0
votes
0answers
34 views

Custom taxonomy URL throwing 404

I have a site that I inherited. It uses a custom post type(products) with a custom taxonomy(product_categories). http://430designs.com/sisco/our-products/ If you go to the page, I am printing out ...
1
vote
1answer
23 views

How to modify a taxonomy that's already registered

Today I needed to change the arguments on a custom taxonomy that was already registered by a third party plugin. Specifically I wanted to set the show_admin_column argument to true and change the ...
0
votes
2answers
36 views

Displaying taxonomy icon outside archive page

Here is my problem. I'm working on a video website and we have different categories for each video. We have setup a custom post type called "videos" in which we use the different taxonomies to ...
0
votes
1answer
29 views

Add taxonomy to already registered custom post type

I want to add taxonomy to already registered custom post type. Is it possible or I have to delete and create that custom post type again??
0
votes
0answers
23 views

Assigning Terms in Taxonomy to Custom Taxonomy

I had a site with posts, in which I exported posts and imported those posts as a CPT (Junior) in my localhost installation. For doing this, I opened the .xml file (export file) and replaced every ...
0
votes
1answer
36 views

How to query authors by custom taxonomy?

I have a custom taxonomy for users which is country. Is there a way to query all admins by term_id or should I get all users and check each one with a for loop? I tried this: $user_query = new ...
0
votes
2answers
112 views

Order get_terms using a Custom Field

I have a custom taxonomy of "crb_issues" that has a custom field associated with it that is "issue_date" which outputs a date value for each term to looks a lot like "20140601" yearmonthday. I am ...
0
votes
0answers
29 views

Querying and Ordering Hierachical data

I am developing a WordPress site that requires the display of song lyrics. Here's the archive data that needs to be displayed: [Released 2014] - Album Title [Track 1] - Song Title [Track ...
0
votes
2answers
201 views

Custom Post Type with Nested Taxonomy and Template Files

I have a custom Post Type of "Portfolio" with a rewrite slug of portfolio. So the URL on the frontend is: domain.com/portfolio. I have a custom Taxonomy of "Categories" with a rewrite slug of ...
1
vote
1answer
154 views

Display empty taxonomy terms with get_terms()

I have a function setup as follows: <?php $terms = get_terms("wpsc_product_category"); if ( !empty( $terms ) && !is_wp_error( $terms ) ){ foreach ( $terms as $term ) { ?> ...
0
votes
1answer
31 views

How To Assign “Taxonomy per Taxonomy”?

In short, I have a site that offers products in several different stores. Each store is associated with a particular school. Since each school has its own school colors, many products are only ...
0
votes
1answer
41 views

Why won't this rewrite rule work?

Here's the setup. I have a custom post type 'Businesses'. I have a custom taxonomy 'Display Category'. And I have a second custom taxonomy 'Filters' Both taxonomies are set to work with the custom ...
0
votes
2answers
206 views

Add Tags to custom post type

I'm using the cherry framework on a WP site. It comes with a custom post type that can be used to add 'Team Members' and create staff pages etc. I need to expand this so that I can add tags to each ...
0
votes
1answer
93 views

Query to change custom post type with specific category

I need to change several hundred posts with custom post types to regular post type but only from one category within that custom post type. So I have a custom post type 'films' and within that post ...
0
votes
0answers
23 views

How to add Default Post Type “Custom” category to custom post type

Hi I have three custom post types 1- student 2 - teacher 3 - academy All three types share should have three categories 1 - subjects 2 - area 3 - qualification level First I thought I should add ...
1
vote
2answers
60 views

Is it acceptable to build functionality into a theme built for a client? [closed]

I know it's now the common wisdom to not build functionality into themes, as advised by WordPress, Envato, and others. This includes the likes of content types, taxonomies, sliders, shortcodes etc, to ...
0
votes
1answer
32 views

Adding content to custom taxonomy category pages

I can't figure out or find an answer on how to enable the description in the custom taxonomy category pages. Under description field it says: "The description is not prominent by default; however, ...
0
votes
2answers
35 views

Add term list as class

I am trying to add a list of terms as a class for custom post types. <?php while($portfolio->have_posts()) : $portfolio->the_post(); ?> <?php $categories = ...
0
votes
1answer
40 views

Custom Post Type View Button in Admin Gives 400 Error

I have a custom post type, Project: /******************************* Projects Custom Post Type *******************************/ add_action( 'init', 'register_cpt_project' ); function ...
0
votes
1answer
155 views

Show custom taxonomy inside custom menu

I have a custom menu using add_menu_page: add_menu_page('My menu' , 'Some text', 'read', 'nwcm'); Under it, I show a custom post type menu item; // Create the news custom post type ...
5
votes
1answer
99 views

Can I lock down custom taxonomies on a parent term level, but not a child term?

I've created a taxonomy called "topics" which has 4 top level terms: science environment technology cant remember the last one and each of those terms will have child terms. I want to be able to ...
0
votes
0answers
58 views

How to group by custom posts by child taxonomy term

I have registered a custom post types named "property" , a custom taxonomy "city" is associated with that post type . I have couple of city like Ontario Toronto street 1 street 2 ...
0
votes
2answers
32 views

Display formatted list of taxonomy terms with last seperator different

I am trying to display a list of event producers, which are stored as a taxonomy. For each event (custom post type) there can be anywhere between 1 and many producers, so I would like to list them, ...
1
vote
1answer
40 views

How to restrict on selecting child taxonomy

I have a taxonomy name "City" . I have used "city" like this . City 1 Sub city 1 Sub city 2 City 2 Sub city 3 Sub city 4 Here the problem is if admin/user select City 1 , they ...
0
votes
0answers
47 views

fixing permalink structure

I am having trouble with my permalink structure of my site. I have a custom post type and custom taxonomy for that post type. These are both made within PODS if that makes a difference. For whatever ...
0
votes
1answer
150 views

List child categories from parent category on custom taxonomy page

I making some updates to a theme I'm currently working on. I've moved a bunch of categories that have custom post items under them into a parent category that's all within a custom taxonomy. e.g.: ...
0
votes
2answers
65 views

Displaying One Custom Post Type's Content On Single Post of Another Custom Post Type

I'm currently building a college football blog and I have 2 custom post types: conference and team. Each conference post type will be a horizontal list consisting of each teams' logo and will be ...
0
votes
1answer
43 views

Save selectlist value (taxonomy) in wp:wp_set_object_terms

In my admin for part i have additional fields (like price or brand - which is taxonomy). When i edit or create new part, i set up additional data. and price saving is without any problem, but saving ...
0
votes
2answers
119 views

get_terms() doesn't return empty terms even though hide_empty is false

I can't manage to make get_terms() to return the empty terms and I've tried it in a number of ways. Here's the code: $terms = get_terms('device',array('hide_empty' => 0)); foreach($terms as ...
0
votes
0answers
30 views

Problems with custom post_type and custom taxonomy

I'm trying to make a simple plugin that let's me create blogposts from a custom post_type (tutorials), with it's own custom taxonomies. I got this working. There are 2 problems though. 1: I also ...
-1
votes
1answer
155 views

Display Custom Post Type and Custom Taxonomy Data on Front End Using Only a Plugin

Can anyone suggest a good plugin-based, as opposed to template or theme-based, solution for the following that doesn't rely on shortcodes? I have a plugin that creates a custom post type and four ...