Custom Post Types extend the WordPress back-end to support additional, non-Post content.

learn more… | top users | synonyms (1)

0
votes
1answer
429 views

Custom post-type's pagination not working in category.php

I have this code to the file category.php : <?php get_header(); ?> <div id="content"> <div id="all"> <div id="todo"> <?php $my_query = null; $paged = ...
0
votes
0answers
25 views

Get post id from url with custom taxonomy

I've been struggling for days trying to understand this issue. I'm redesigning a page on existing wordpress site and would like to show the client the working design without replacing the existing ...
1
vote
1answer
399 views

Pagination on Custom Post Type: 404 Error

I've been getting a 404 error on a CPT archive page, and am not sure why. I can go to the page set for the custom post type archive, but the next page /mycustomposttype/page/2 gets a 404 error. I ...
0
votes
1answer
293 views

Filtering custom post type on a combination of custom taxonomies and custom fields?

I have a custom post type "artist". It has an associated custom taxonomy "artist_type" with terms "voice", "actor", "corporate" An "artist" also has custom fields for gender, location, agerangefrom ...
0
votes
0answers
27 views

Keep same archive.php for post from archive?

I have create a new template for my archive ( using archive.php); however, when I click to the post from my archive list, it keep the same layout of the single_post, I'd like the post open from the ...
0
votes
1answer
33 views

Displaying custom post types in front end

I am trying to wrap my head around custom post types. What I am trying to achieve is a simple branch listing. There is a dealers menu that has drop downs with regions. When you click on a region I ...
0
votes
2answers
766 views

Related posts in all categories of current post (custom post types)

A client of mine has custom post types that they set up using a plugin rather than defining them in the functions.php. (So, YARPP for the solution won't work). In this custom post types, they have ...
1
vote
3answers
362 views

Custom post type paging 404 error

I've an issue on custom post type, I've create a custom post type called "Agenda" and the rewrite url for http://example.com/agenda it works correctly, it points to the archive-agenda.php template ...
0
votes
1answer
318 views

Hide Meta Boxes for Non-Admins

I have a review based wordpress site where I have a page for each different company where there users can review them. The theme I use adds a custom post type called "review" and I have used Press ...
0
votes
1answer
42 views

Navigate posts with different post type that are in the same categories

I created two custom post types that share the same category taxonomy. I'm using next_post_link() and previous_post_link() to navigate through posts with the same category but it only works for ...
0
votes
2answers
420 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
0answers
16 views

Separate blogs for offices

I am trying to create a word press site that will have many offices. Each office will be a custom post type. Is there any way to make this work so every office can have their own blog that follows ...
-1
votes
0answers
18 views

Multi-column custom post type (roots theme v7)

for a client I need to create a three column custom post type which collapses into two columns in mobile devices. As the roots theme is using Bootstrap by default, figuring out the RWD bit is not the ...
0
votes
2answers
271 views

404 Error On Custom Taxonomy Pages 2, 3, etc

I've been reading a bunch of posts about this with no luck so far. I can't seem to figure out what is the problem. I have the following: Custom Post Type: Sermons Custom Taxonomy: Series My urls ...
0
votes
1answer
494 views

Showing the custom taxonomy parent term and child term of a post

Is there any way that you can show a custom taxonomy's parent term and child of a post? I'm currently using get_the_term_list() to display the custom tax terms of the post. The only problem is the ...
0
votes
0answers
10 views

Trigger a custom menu that belongs to a page, its children and a custom post type

In my header template I want set a sub menu that changes depending on what page you are on. So if you are on the About page or one of the About child pages then the sub menu changes to the About menu ...
0
votes
2answers
25 views

wp_query: How to retrieve current term slug in custom taxonomy?

Using the WP Types Plugin, I setup a custom post type (slug: portfolio), which has a custom taxonomy (slug: portfolio-category). The custom taxonomy has three items (slugs: group1, group2, group3) to ...
0
votes
1answer
539 views

WP_query - Filter by tax_query and meta_query using multiple select

I have a Publications Post Type, a Writers Taxonomy and a Publications Custom 'Meta Box' Value; parent_id. In my archive-publictions-post.php template I am trying to filter the WP_Query Class, with ...
0
votes
1answer
1k views

Custom post type: can't enable comments by default

I want to enable comments for custom post types just like they are for standard posts, but can't seem to get it to work. In functions.php, as part of registering my custom post type, I have this: ...
0
votes
0answers
91 views

Custom Post Type URL

I have big problems get the result with my custom post type and taxonomy I have made. I have read a lot in the questions and tried also many, but don't know where to find the solution or where to ...
0
votes
1answer
331 views

Loop and add Specific Categories and Products Images

Thanks to Rafael Marques I have a list of Products and Categories organized based on different created categories. I also have 5 different Custom Page Templates. Now I would like to display the ...
0
votes
1answer
397 views

Taxonomy rewrite pagination 404

I have rewritten my taxonomy url to the name of my posts type 'filter'. Because I have done this, my pagination does not work anymore on the url: http://www.website.com/filter/term-name/ So if I ...
0
votes
3answers
367 views

Loading multiple post content in FancyBox

I have a custom post type being output as a list. I'm trying to output some of the inline content in each li via Fancybox. All works so far except it only shows the first li's content. I understand ...
0
votes
1answer
33 views

Get custom category ID of current custom post within the loop

I am having extreme difficulties retrieving the name (or the ID) of the current category of the custom post being viewed (within the loop). The current category name is "school" and it is a ...
0
votes
0answers
3 views

Custom Bulk Edit

I have a custom post type. I want to make custom bulk action which, if selected opens a screen similar to the one that opens when BULK EDIT option is selected . I would just include title box and one ...
0
votes
1answer
17 views

Multiple Custom Post Type permalink issue

I have 2 Custom Post Type(Our Works and Case Study) in a WordPress site. If I add same postname(Pepsi) at my 2 Custom Post Type(Our Works and Case Study) the permalink will show given below: 1) ...
0
votes
1answer
29 views

Custom taxonomy archive is visible to only subscibed users

I have a custom taxonomy (lesson) that helps divide posts and other custom post types between different views over the data. Now I have the custom taxonomy page expanded and visible. ...
0
votes
1answer
1k views

Custom post type archive page pagination

I have set up an archive page for my custom post type reference, where I use a query to get all posts of type reference. This works, but when I try to paginate the result, it doesn't work. Right now, ...
0
votes
1answer
19 views

Get custom taxonomy name from custom post

I want to retrieve the category assigned to a custom post type. The problem is, I don't know in advance what post-type (hence, what post-category) I will get. I have 5 custom post types, each with a ...
-1
votes
0answers
32 views

How to hide child category custom post in search? [duplicate]

I was new in here . I want to hide my wordpres child category post in search page. When search my parent category Every post include those under Child category will be search out , and i hope there ...
0
votes
1answer
55 views

Hide child term posts on parent term pages

I have created a custom post "company" and custom category "company category". I have a question here, I want to hide child category post in primary category . Any suggestions?? Example : ...
0
votes
1answer
32 views

Custom post type - how to name file?

I already have a custom post type working perfectly, except I want to hide single data view. for example www.domain.com/kalendar-radova is a list of things to do, but I dont want ...
0
votes
1answer
301 views

rewrite rules hierarchical

I want that my WordPress follow this rules: /productes/ a page with all products /productes/[category]/ a taxonomy-page with all products of the category /productes/[category]/[subcategory]/ a ...
0
votes
1answer
8 views

Default taxonomy 'post_tag' added to CPT managing by custom role : nothing in the metabox

I've created a Custom post type, which a custom role can manage : it has only the capabilities for managing this CPT. When registering the CPT, I've set the argument : 'taxonomies' => array( ...
2
votes
2answers
595 views

wp_nav_menu() mark current item ancestor of custom post type

This solution does almost what I want it to. Only thing is, I have my menu set up as follows: Menu item 1 Menu item 2 Custom post type 1 Custom post type 2 Custom post type 3 Menu item 3 ...
0
votes
1answer
44 views

Custom Role can't trash Custom Post Type

I have a post type that I set up some capabilities for and I attached them to a new Role, however, the role can not trash them. I'm not sure why though. Here is the portion of my array for the ...
0
votes
0answers
32 views

Merging qTranslate-xp and custom-post-widget and disabling multilingual only for pages

This question is about WordPless plugin development/tweaking/modification and as such as far as I can tell should meet the guidelines for posting on this site. My knowledge of WordPress development is ...
1
vote
2answers
1k views

Include taxonomy slug in url?

I have the following custom post-type and custom taxonomy setup: add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'system', array( ...
0
votes
2answers
524 views

Make custom post type column sortable

My site has two custom types: Auction and Lot. Lots are connected to an Auction via the post_parent field. I added an Auction column to the Lots list in the admin area. function ...
1
vote
1answer
131 views

Top Level pages in wordpress giving 404, but child pages working fine

Basically everything works fine except for the top level pages ( e.g. category, archives, single post, custom post type, etc...). I have 3 custom post types and 4 custom taxonomies (each custom ...
0
votes
2answers
447 views

Get custom post type image URL

How do I retrieve a custom post type image URL? All I accomplish is to get the widht and height of the image but not the actually URL. My code looks like this and are run in the functions.php of my ...
0
votes
1answer
359 views

add category name to permalinks on product page /category-name/product-name

I'm trying to reconfigure the permalinks used in WooCommerce such that the following format will be displayed: homesite/category/product. Right now, the permalinks only shows under a category page: ...
0
votes
1answer
26 views

Custom post type - posts list - white screen of death

i am getting a weird error - white screen in the list of posts for a specific Custom post type (just for that one) tried deactivating all the plugins tried checking for error (debugging = true) ...
0
votes
2answers
39 views

Which custom post type does the current post belong to?

I have looked all over the Codex and searched the web and I cannot find a way to accomplish what I am trying to do. All I need to do is display what CPT a post belongs to. For instance, I have two ...
-1
votes
0answers
9 views

hwo to show category with child categories and post count [duplicate]

i want to show a specific post category like a tree show category under the child categoreies with post count and when click on a category get posts of that category like this below example `main ...
1
vote
1answer
1k views

Displaying Meta Box Image

I have some problems displaying info from my custom meta box in my custom post type single. I'm using Reusable Custom Wordpress Meta Boxes by Tammy Hart. I'm able to display the textfields using ...
0
votes
0answers
25 views

Display parent category with child categories and post count

I want show to specific parent category with child category like a tree see below example main parent catgory (50) child category (25) child category (15) child category (10) ...
0
votes
1answer
65 views

Sort Order for a Custom Query in a Post Type Archive Not Working

I have a custom post type for events set up and am displaying the posts in a custom post type archive "archive-events.php". I am using Advanced Custom Fields to put an event date "event_date" on ...
2
votes
1answer
692 views

Using custom post types in submenu + custom title

I'm planning to use a couple of custom post types for a plugin of mine. The whole plugin should reside under 1 toplevel menu item. Thus I would prefer a menu structure like so: Dashboard Posts [...] ...
0
votes
1answer
288 views

Set post to draft after set period based on post_modified date

I have a custom post type for the user profile page. My client wants all users to update their profile at least once a month, so we want their profile (custom post) to be automatically set to draft ...