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

learn more… | top users | synonyms (1)

0
votes
2answers
72 views

Custom post type adding additional markup

I'm creating a template but every time I add a new custom post type (in this example neighborhood) it keeps injecting a new <ol> and <li> here is the code I currently have and I'm using ...
0
votes
1answer
3k views

Removing base slug from hierarchical custom post type

I have a hierarchical custom post type called "state". My goal is to have a permalink structure like thus: http://website.com/idaho/ http://website.com/idaho/sub-page I'm close but haven't quite ...
0
votes
2answers
185 views

HM CMB: Post Select Field for CPT ID

'm using human made's custom meta boxes framework (https://github.com/humanmade/Custom-Meta-Boxes). Using the post select: array( 'id' => 'example-field-post-select', 'name' ...
-1
votes
1answer
69 views

Custom post type / Filter by letter

So I've created a custom post type called "Profiles" for a school website I'm working on. Purpose of this content type is to list all teachers with their names, profile picture, bio, etc. Right now, ...
2
votes
1answer
207 views

Ordering Post 2 Post admin meta box by meta from CPT

I've just started using Posts 2 Posts (brilliant plugin by the way) in combination with a custom post type called "Artist" and the WP Event Manager Plugin. My aim is to use P2P to link Artists to ...
1
vote
1answer
245 views

How to debug a blank page?

I'm not being able to load this page, although I can easily load all other posts that load the same custom post type template (please look for "// From now on, WP is throwing a blank page" on that ...
1
vote
0answers
100 views

Possible to filter custom post type with multiple meta data?

I'm wondering if it's possible in one loop to accomplish what I need to do. What I would like is to sort all custom post types by the meta data of county and put them in order which it is doing here. ...
1
vote
1answer
206 views

Custom Post Types and independent Categories - complex Taxonomy

Input data: There is a Custom Post Type, with Companies posts that relates to Company category; There is a Custom Post Type, with Products posts that tied to Items -> Item-type category; ...
0
votes
0answers
63 views

Permissions with Custom Post Types

Afternoon everyone. I made a theme for a friend's site using a custom post type called "fixtures" but I can't get it to allow users listed as "Writers" to be attributed as the authors of these posts, ...
0
votes
1answer
354 views

Custom Taxonomy Filter Issues

I have a custom post type with a few custom taxonomies and I am using a piece of code to filter the posts based on the taxonomy on the main edit page using drop-down menus, which works great, but I ...
1
vote
0answers
113 views

BBPress Search results in Wordpress search

I want to display in Wordpress search results page - 10 or less found results from BBPress (plugin) forums. I know that BBPress use custom post types (forum, topic, reply) but I don't know how to do ...
1
vote
0answers
210 views

Pretty URLs and custom post types

I've read the posts on WP SA on rewrites and custom post types, but I can't figure out why my search for 2 different post types isn't working. I'd like my URLS to become ...
0
votes
0answers
86 views

No Current Class showing in Menu for Custom Post Types

I have Created Custom Post Types "NightLife" "Event" "DLStore" I have added them to Secondary Nav Menu. They show up but when i select the page it does not show any active/current class unlike other ...
0
votes
1answer
156 views

Add custom post type taxonomy tag to article class

Ok, so I have tried about 5 different WP functions now and no luck. Basically here is what I want to do. I have a custom post type called "work", I have a taxonomy within this custom post type called ...
1
vote
1answer
585 views

Grouping of CPTs and taxonomies into menu groups in admin

I have a group of custom post types such as "CPT A", "CPT B" and "CPT C". I display the admin page for each of these as subpages under a common Admin page. add_menu_page('Console', 'Console', ...
0
votes
2answers
265 views

Custom taxonomy archive not showing posts of certain child taxonomies

I have a custom post type that has a custom taxonomy which functions as the main hierarchical structure for this custom post type. I am experiencing some behavior that I can't explain though. This ...
0
votes
1answer
1k views

Show Custom Taxonomy title in loop

I'm using the code below to show the featured image and link for the first post in each custom taxonomy for a custom post type. I'd like to display the name of the custom taxonomy next to each image, ...
0
votes
1answer
35 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
125 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: ...
0
votes
1answer
1k views

Add multiple Visual Editors for Custom Post Type

I'm designing a site that will be part of a WP-Network; we have been told we cannot install plugins. I have a custom post type, which I have added in functions.php of the child-theme I am writing. In ...
1
vote
1answer
5k views

How to display value of custom fields in page

I have a custom post type called 'software', contained within are various custom fields such as subtitle, price, screenshots, download link, etc. I created a function to allow use of the tinyMCE edit ...
0
votes
1answer
53 views

List of a specific Custom Post Type in Custom Template

My WP 3.6 has created a custom template using register_post_type() named movie. I inserted few movie via Admin Dashboard > Movie. For Permalink, I have set to Post Type, therefore, for example, ...
0
votes
1answer
146 views

Custom Post Type Template Insert not working properply

I am trying to insert Custom Template file through the plugin that handle a custom post type. Rest of the plugin working great except the template including part. class ClassName{ public ...
0
votes
1answer
320 views

Custom post metadata not appearing in public API

I'm using wordpress.com's public REST API to retrieve custom posts from a Wordpress installation. The JSON that's being returned is missing all the custom fields, however. The fields are definitely ...
0
votes
0answers
128 views

How to order query by numeric meta value?

I cannot order my query by meta value by numbers, and ordering by post order does not work too. This is my code: <?php $args = array( 'posts_per_page' => '-1', 'post_type' => ...
0
votes
1answer
43 views

How to update to WordPress 3.6 and not lose my website's design

I'm using WordPress 3.5 now, but I want to upgrade to WordPress 3.6. How I can do this? And how can I customize my posts, comments types?
1
vote
1answer
2k views

Custom Post type taxonomy single templates

I have created a Custom Post type called "Ad" I then have a taxonomy under that called "type" I have added some terms in the Type category called "Radio", "TV", "Print". I would like WordPress to use ...
0
votes
1answer
80 views

Post/Custom Post Type URL Access

Is there a way to prevent people from visiting a post's permalink? A lot of times we create posts or custom post types that end up being included as part of the content of a page or some other ...
0
votes
1answer
130 views

Category / Custom Post Type permalink issue

So I'm currently working on a client site and trying to switch some old posts over to use new custom post types. Prior to this point, her website was set up in such a way that she could add both ...
-1
votes
1answer
186 views

Wordpress custom post type odd and even styling [duplicate]

I've got a custom post type that I would like to be able to show in the following: is this possible using the following code: <?php query_posts(array('post_type' => 'story', 'orderby' ...
0
votes
1answer
532 views

Multiple single templates?

Lets say i have a custom post type called 'event' that has several custom meta boxes for images, docs, etc.. Would it be possible to have two different single templates? For example: i have a page ...
1
vote
1answer
985 views

Custom Taxonomy term archive template

Is it possible to have separate archive templates for custom taxonomies? Like this: Tax(categories) -Players(category) -Managers(category)
6
votes
2answers
500 views

Merge two custom post types into one admin page?

I am building a site with 4 custom post types. To make things easier for our client/admin, I'm wondering if there is a way to merge those custom post types into one list in the backend? Like if you ...
1
vote
1answer
186 views

Add / Remove Post Type from “Link to existing content” popup

I would like to be able to remove a custom post type AND add attached media (PDF's, Images, Docs, etc) to the "Link to existing content" in the Add / Edit link popup in the WYSIWYG editor. ...
0
votes
1answer
85 views

Custom Postype Query showing only 10 results should show 23 results

This is the code I have currently on my development site. It only shows 10 results from custom post type "pacificheritage" but it should show 23 all together. <?php ...
0
votes
2answers
447 views

Adding Help Tabs To Custom Post Types

Using this well written post - tutorial Edit dashboard's help tab I have full control over all standard WordPress admin screens. Can this be modified to add "Help" Tabs to custom post types?
0
votes
1answer
46 views

Creating a custom post type - want to add an alert for user

My question is easy but I can't find any answers via Google or Stackexchange. I've created a custom post type and everything's going great so far. I'd like to make it so that when the user is ...
0
votes
0answers
33 views

how to do i fix this problem Your backup folder MIGHT be visible to the public

where do I find this wp-content/plugins/wp-dbmanager so that I can move the .htaccess to /home/godel09/public_html/mylesmunroemediavault.com/members/wp-content/backup-db
0
votes
2answers
194 views

How to limit the number of terms (terms acts like categories)

Hello i have created taxonomy in custom post type that act like category. then i have created terms that acts like categories. i have create widget that show all terms from taxonomy. all works ...
2
votes
1answer
129 views

Pagination problem

I have two custom rewrite rules: add_rewrite_rule('foo/bar/?', 'index.php?post_type=foo', 'top'); add_rewrite_rule('foo/bar/([a-z]+)/?', 'index.php?post_type=foo&bar=$matches[1]', 'top'); Which ...
1
vote
1answer
25 views

How to query custom post type with 3 custom taxonomies linked to it

I'm new to WordPress but I would like to know how can one get a custom post type linked to 3 custom taxonomies. I have created a custom post type called "product" and created three custom taxonomies ...
1
vote
1answer
134 views

Custom post type and taxonomy slug issue

I'm working with custom post types in WordPress and have a question about slugs. Let's say that we need to create custom post type Quiz with taxonomy Quiz Category. I've used the following code: // ...
0
votes
3answers
2k views

WordPress Ignoring My Custom Post Type Templates?

WordPress is 404ing all of my Custom Post Type posts. Have I missed a step here? I’m using the following to set up my CPT: function custom_post_types() { register_post_type( 'creativework', ...
0
votes
1answer
409 views

How to set default status to custom post type

When I save my custom post_type 'product', I'd like to set their status to my custom status 'incomplete'.
0
votes
1answer
284 views

Custom post type meta box empty after save

I'm trying to make a meta box to include a date picker but my initial attempt to have the textbox data seems to fail as each time its either posted or saved again the text disapears <? /* ...
0
votes
0answers
94 views

next/previous links on custom post single a little screwy

Working on a custom post template, using next_post_link and previous_post_link. And they do -- EXCEPT on the most recent post: where next and previous both point to previous. Which is...confusing. ...
0
votes
2answers
310 views

Created a custom post type- can't view it

I created a custom post type ("Portfolio") and I can create the posts perfectly fine. The problem is when I go to view the item, it gives me a 404 error. Here is the portfolio item Here is my code ...
2
votes
2answers
1k views

Multiple custom post types using the same taxonomy = URL frustrations

I have two custom post types: Events Businesses I have a new taxonomy that both these CTP's share: Locations If I go to "domain.com/events/" I see an archive of all the events, and if I go to ...
0
votes
1answer
134 views

Custom filtering on month value only of an entire date field

I'm using the plugin Ajax WP Query Search Filter (http://wordpress.org/plugins/ajax-wp-query-search-filter/) to search some custom posts I've created. The filter works great on three custom ...
1
vote
1answer
939 views

How can I make a custom post type sticky?

I installed the "Sticky Custom Post Types" plugin, and I added this code to my function.php: function wpb_cpt_sticky_at_top( $posts ) { // apply it on the archives only if ( is_main_query() ...