Custom Post Types extend the WordPress back-end to support additional, non-Post content.
0
votes
1answer
269 views
How to have multiple archive pages?
I am building a site that needs pages such as News, Events, Projects and People. My question is, how should I achieve this in WordPress? Do I use custom post types? And if so, how do I have a page for ...
0
votes
1answer
320 views
Custom Post Type Archive Template
I have similar problem to this one: Custom Post Type Template - Archive
So, I have a wordpress custom post type called coupon. I try to assing the template to it by using archive-coupon.php, but it ...
0
votes
1answer
143 views
Custom Post Type nest under a normal WordPress Page
EDIT Again, nope it's not impossible, just nasty. Solution below.
Trying very hard to get this working. Have tried numerous suggestions here on stackexchange/overflow
My goals are to simply select ...
0
votes
1answer
49 views
Archive of custom post type returns 404 [duplicate]
I have created a custom post type "video" (see my functions.php below) and it should return an archive on mysite.com/video but instead I get a 404.
Functions.php
// Video's
add_action( 'init', ...
0
votes
1answer
60 views
Change Post Meta via AJAX from the posts list table
I've been looking around for this for a while but haven't found anything as of yet.
I have a custom post type - "books" and this post type has a custom meta field of "availability".
I would like to ...
0
votes
2answers
120 views
Get only parent terms from wp_get_post_terms
I've got a custom post type that has hierarchical taxonomies set up. For an example, my post type of "project" has categories of
A
A.1
B
C
I'm trying to get the taxonomies displayed as ...
1
vote
1answer
209 views
Using Custom Fields in Custom Post Type URL
I'm developing a car site that has showrooms. Each showroom needs it's own custom URL based on it's location. The location (City and County/State) is already inserted as two custom fields. So for ...
0
votes
0answers
21 views
Custom Post Type and Taxonomy pagination permalink
I have a custom post type of galleries with pagination for the posts thumbnails.
It worked great until I activated the permalinks in the WP admin panel.
I saw many posts on this problem but none of ...
0
votes
1answer
177 views
WordPress import not importing custom taxonomy
First off, feel obliged to say I've posted this already in the WP Support Forum (http://wordpress.org/support/topic/wordpress-import-not-importing-custom-taxonomy) hoping to have more luck here.
I'm ...
0
votes
0answers
50 views
Creating a menu that lists your custom post types with wp_list_pages()
I'm stumped on this, it is something I've gotten to work on other sites, but I must be overlooking something here.
I'm trying to create a secondary menu for my custom post types ('staff') with ...
0
votes
1answer
38 views
Missing categories for Custom Taxonomy and Custom Posts
I'm having trouble seeing why categories are not appearing for Knowledge Base and Articles. What's wrong with this code?
<?php
// Custom post types
/* faq */
add_action( 'init', 'faq_post_type' ...
-1
votes
0answers
41 views
Custom Post Types boxes vanished
I am having problems with the custom post type boxes. All are gone now and I do not understand why. Even Revisions got away when posting, all in one seo box, everything. I just have the basic stuff.
...
0
votes
1answer
137 views
Update content of multiple pages/posts at once?
Is this possible? using shortcodes? Custom post type? Custom Fields? CSV upload?
Unique content per page.
Do not need to create new pages, Just update body of them.
Seems like a tough one?
Also can ...
1
vote
2answers
59 views
Display Posts from Custom Post Type with Category Filters
Thanks in advance for any assistance.
I have a simple 4 page portfolio site I'm trying to build for myself. The pages consist of: Home Page, Print Design, Digital, and Identity.
I have created a ...
1
vote
1answer
30 views
Include custom post type in “all posts”
(Working of off an existing team that the client already purchase.)
I have a WordPress install with a couple of custom post types:
portfolio
testimonials
I've set the taxonomy to hierarchical' ...
0
votes
1answer
34 views
Insert data in custom table during new post creation
I want to in insert data in my custom db table when creating a post.
Suppose there are three categories (php, wordpress & jquery). When i create a post in wordpress, i want to insert post id and ...
1
vote
1answer
59 views
Use Custom Post Type to as Custom Field
I am newbie of wordpress as well php programming.
I want to create a custom post type for store that having all store names and it is working. Now I want to fetch the all stores in select box in ...
1
vote
2answers
73 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 ...
2
votes
1answer
157 views
Custom post type support for get_users('orderby=post_count');
The default WordPress function get_users('orderby=post_count'); only orders users with the count of the posts they've made.
Any idea how to modify this to support custom post types as well?
UPDATE:
...
0
votes
2answers
771 views
Order by & include array by specific post ids
I have the following:
<?php $num_cols = 2; // set the number of columns here
$args = array(
'post_type' => 'testimonials',
...
0
votes
0answers
5 views
Register custom post type categories to default categories [duplicate]
How to register custom post type categories to standard default wordpress categories?
0
votes
1answer
118 views
How to Loop and add Specific Categories and Products Images into Specific Page Template?
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
464 views
Custom Post Type “property” (wp-property plugin) query issues
I've got wp-property plugin installed, and I am trying to have a custom query, to retrieve data from the database. If I query posts from other post_type is ok, but when I try to query posts from the ...
2
votes
1answer
54 views
Only list categories that contain a custom post type
I have three custom post types set up, articles, videos and photos.
I am using standard categories for these post types and sharing the categories across all post types.
I am trying to create a nav ...
1
vote
3answers
394 views
How to show a tag archive of one post type only
I have a site with multiple custom post types and taxonomies. The taxonomies are shared across all of the post types.
On the archive page of the 'videos' post type, I want to show a list of all of ...
2
votes
1answer
122 views
Allow Administrator role access to custom capabilities
I'm currently developing a Wordpress business directory plugin with a 'business' custom post type. I have it creating a custom 'business_author' user role on activation and assigning specific ...
0
votes
0answers
39 views
Retrieve post data via WPDB class
I'm trying to figure out doing a custom query using the $wpdb Object.
I have custom type posts, event_posts, that have meta data, images, as well as event dates which are input in the post with the ...
0
votes
1answer
108 views
Multiple custom post types on same admin page
Here's my situation....
I'm creating a plugin that will allow families to register on the site I'm working on. Each family will have 1 or more children that they need to add to their registration. My ...
0
votes
2answers
98 views
$wpdb returns no results with SELECT query on custom post type, works on default post type
EDIT: Adding more background info.
I've coded a plugin that adds a meta box to the post page. When the post is published, the plugin will generate a random ID for the post, and insert the random ID ...
0
votes
1answer
103 views
Search by tag name and category
How can I return all posts that match a specific taxonomy using <?php get_search_form(); ?>
For example: if a user enters a search query that matches the name of a tag or category, search.php ...
2
votes
1answer
47 views
How can I add programmatically custom taxonomy terms to a custom type post when saving posts?
Scenario: there is a 'Recommended Books' section on the website which uses the 'book' custom post type and the 'author' custom taxonomy. I'm using Amazon Product Advertising API for retrieving book ...
0
votes
1answer
19 views
Are Post IDs Unique Across all Post Types?
I thought Wordpress post IDs were only unique within each post type, so that the first instance of each post type would have an ID of 1 and they would count up from there. In order to get a specific ...
1
vote
4answers
3k views
How to display custom post types using single-[post_type] and archive-[post-type]?
I'm having a bit of a problem with my custom post types... My post type is called 'videos'. I have all of the posts showing on their single page using the 'single.php' template. But when I take the ...
3
votes
3answers
313 views
Hierachical Custom post types permalinks not working
Been looking for someone with this same problem for hours now so I decided to post my own thread.
I have a hierachical custom post type called contact-information. Using this I have parentpages ...
0
votes
0answers
15 views
Plugin works for default post types, but not for custom [duplicate]
I've coded a plugin that adds a meta box to the post page. When the post is published, the plugin will generate a random ID for the post, and insert the random ID and the post guid to a custom table ...
0
votes
0answers
47 views
Query recent posts by author
I'm fairly new to wordpress but trying to get recent posts by a specific author. The following code displays only most recent bog posts. I am using a custom field to get the author ID.
EDIT by ...
1
vote
1answer
234 views
Set default custom post type for XML-RPC
So now that it is possible to work with Custom Post Types over XML-RPC,
http://www.maxcutler.com/2012/04/04/xml-rpc-in-wordpress-3-4/
has anyone figured out a way to set the post type for all items ...
0
votes
1answer
32 views
Order posts of a custom post type by the event date using FT Calendar Plugin
I am using the FT Calendar Plugin. My question is how can I order posts of a custom post type by the event calendar date?
So for instance I have a CPT named "Events" and for each event post a ...
0
votes
1answer
25 views
Displaying custom post types by category
I have been at this now for about 12 hours I just don't know what I am doing.
My theme has a home page post display scroller which shows posts from a selected category. At the moment it is only ...
0
votes
1answer
23 views
Roles and Capabilities in Custom Post Types
Is there a way to create one role with one capability and apply it to some of the custom post types?
What I am doing right now is ending up with applying capabilities to all of the posts..
creating ...
0
votes
0answers
35 views
Display a custom post type list by taxonomy term
I need to show a list of custom post type classified by terms. The idea is something like this:
Service list:
<ul>
<li>
<a href="#">Webdesign (taxonomy term)</a>
...
1
vote
1answer
227 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
41 views
Determine which template-{slug}.php is being loaded
I am trying to make a personal plugin that does specific things based on what is loaded. In this example, in my action method I want to perform one function if the currently loading page is using the ...
0
votes
1answer
271 views
How add column from new table in Custom Post Listing (admin)
I'm making an plugin to manage, say, Recipe. I created a table containing informations about my recipes.
I'v created a custom post to add recipe, I know how to add meta box to the post to enter infos ...
0
votes
0answers
25 views
get_option include <br /> in my adsense
As title said I saved in wp-options -> option_value a adsense code but when I try to display to website in the code I get some
"<script type=\"text/javascript\"><!--<br ...
3
votes
1answer
174 views
CPT Template Not Showing - Getting 404
I'm developing a Custom Post Type plugin, which works fine in dev. Now that I've moved it to production, I'm getting a 404 when I try to display the template for the CPT.
So, two questions:
1- Is ...
0
votes
1answer
153 views
Use regular category with custom post types
I'm using woocommerce that uses costum posts with hits own productcategory taxonomy. Now I'm using an other plugin (minimu) that selects post to display based on the normaly wordpress category. Seeing ...
3
votes
1answer
119 views
Wordpress Custom Post Type Admin Page really slow
(I've posted this on the normal stack exchange, but it was suggested that I put it here too. Glad to know this place exists... :))
So, I've been all over the internet trying to figure out what is ...
-2
votes
1answer
42 views
How to display custom type posts in 4-5 column grid layout in wordpress
I just want to display my custom post type named "Phones" (list of phones and tablets) in grid layout with 4 (or 5 columns). i only want post image (featured image) along with title. I have a custom ...
0
votes
1answer
130 views
Searching for a single custom post type, buddypress
I'm trying to show search results only for a specific custom post type, my code is simple and I already tested it successfully on some wordpress sites I made, but in this case (buddypress) looks like ...

