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

learn more… | top users | synonyms (1)

0
votes
1answer
19 views

List Taxonomy Terms based on another Taxonomy

I have a custom post type called Resources. Resources post type has two different taxonomies associated with it, Resource Types and Resource Tags. Resource Types sets the format/type of the resource ...
1
vote
0answers
21 views

Custom Post Types hierarchy and rewrite

I've been around this problem for 2 days, googling and experimenting with no avail. I have this Custom Post Type name "programas", and a page with the same name. The page "Programas" lists all the ...
0
votes
0answers
24 views

WP All Export + Realhomes Theme -> Full Image Path

Second challenge for today :P I'm using WP All Export + REALHOMES Theme for Wordpress in localhost. I'm facing some issues: When adding pictures to a property (post), in this theme you need to use ...
0
votes
1answer
32 views

Show Templates in Custom Post Type Editor

I know I can use templates for my custom post types like this: http://codex.wordpress.org/Post_Types#Template_Files But I would like to have a dropdown menu to choose a template, like that when you ...
2
votes
1answer
27 views

Disable Single Post View for Specific Taxonomy on Custom Post Type

we have a somewhat unique problem with a specific Custom Post Type that was developed for a client. It basically boils down to a need to disable the single post view for any posts that have been ...
0
votes
1answer
36 views

Custom Post Types and Removing Slugs - should we do it?

I've run into issues trying to remove my custom post types slugs and I've read other questions on here from people with the same problem. We don't want that slug in our URL! But the solutions to this ...
0
votes
1answer
18 views

Generating an email when a file is uploaded in dashboard

I have a file field in my CPT. When an admin uploads a file into this field, I need to generate an email. Is there a simple way to do this, or do I have to create a plugin?
0
votes
1answer
12 views

How can I list all the categories under a Custom Post Type (taxonomy)?

So I have created a custom post type and under that taxonomy named "Category" which serves for categories. How can I list all the categories from there?
0
votes
1answer
44 views

ACF repeater field usage

I have a Custom post type "event" it has a repeater field "event_session" that has 4 subfields "session_start", "session_title", "session_description", "session_speaker" (a post object relationship ...
0
votes
1answer
25 views

Can't seem to filter wp_query by current category ID

I'm querying a custom post type ("donor") and would like to list them grouped by category (a custom taxonomy for this post type), with the category title then all posts for that category. After much ...
0
votes
1answer
13 views

call_user_func_array() error after moving to another server

I've just moved my WP site from one server to another and my custom post type plugin is causing the following error: Warning: call_user_func_array() expects parameter 1 to be a valid callback, ...
0
votes
1answer
26 views

why custom post archive gives always no more than 10 posts despite of paging settings?

I've got a strange problem. I'm programming a custom post archive page. I'm using wp conventions, so I've got a 'project' custom post type and an archive-project.php page, which is correctly showing ...
-2
votes
0answers
12 views

Merge two different forms in front end and save their data in one single database table row [on hold]

I have checked more also I asked Google but I am not satisfied with this. If any one having this ans let me know.
0
votes
1answer
27 views

Display read only info on admin, custom post page

I have a custom post type, user submitted posts. When viewing a post as admin I only want to "Show" the posts title and content as there is no need for it to be in a text area or wiziwig. It's not a ...
0
votes
1answer
26 views

Tricky Custom post loop

I'm building a site using "theretailer" as a base and I cant figure out where to place code to get the loop to work for a custom post type "News"? the loop the theme uses is ...
0
votes
1answer
28 views

How to get only child terms from a custom taxonomy of current post type?

Having a custom post type 'pubs' with custom taxonomy 'types' in which admin enter parent terms and their child terms. Using this code to get all the terms of current post type: $object_terms = ...
1
vote
1answer
23 views

how to filter by last name for custom post

I have a custom post type (speaker) and I would like to load the list of speakers sorted by last name. I can't seem to figure it out. I tried the code from this post: ...
0
votes
0answers
17 views

Child Parent relationship with custom post types

I'm trying to create an events site. the site will have 1 event a year. I would like the site to load, for example, www.eventsite.com/2015 and this would be the home page to load the 2015 event. I ...
0
votes
1answer
16 views

Custom post type not being pulled in widget

I am creating a widget that displays data from my post type 'testimonials'. The back end of the widget is working fine and displays a list of testimonials and allows me to select which I want to ...
0
votes
2answers
19 views

How do I know the 'meta_key' for ordering my custom post type

I want to order my custom post type called sermons by sermon date, not the date entered. See here: http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters How do I know the ...
0
votes
2answers
29 views

Custom post type URL

I have a page called "News", and I have created a custom post type for news. In "News" page I need to show all news custom posts and they need to be clickable. "News" page url is ...
0
votes
0answers
29 views

Show Post title and featured image outside of the box

I'm trying to work out my idea to show post featured image and post title outside of the post content. Let me explain better. I'm using underscore framework. There are three files there. single.php, ...
0
votes
0answers
8 views

Two Custom Post Types with Category Grouping

CPT Artist , CPT Art Using advanced custom fields plugin we were able to assign a relationship ID between the CPT Art and the CPT Artist. The problem were running into is with grouping the art work ...
0
votes
0answers
25 views

Register new post type in plugin (multisite)

I'm currently trying to create a custom post type inside my plugin. Everything works fine in the back-end but when I try to view the post in the front-end then either it redirects me to the homepage ...
0
votes
0answers
20 views

Custom post type: require adding feature image

My plugin contains a custom post type and I would like to force the user to add a featured image for publishing the post. I don't find anything in the Wordpress references regarding this.
0
votes
0answers
9 views

Agent post-type

I try to make custom post-type for my theme which I can add information about agents. Which I found of post-types all are just like ordinary post sharing with title-content-comments... But what I need ...
0
votes
1answer
13 views

Custom post type updated to support comments, yet comments don't appear

I have several different custom post types. One post type did not display the comment section, today I found out it was because I forgot to add it to the "supports array" ...
2
votes
2answers
42 views

Limiting number of custom posts shown on taxonomy page

I am using a custom post type that uses two taxonomies "colour" and "style". I have a script (from this thread) which groups them together so when you are on a colour taxonomy page they are grouped by ...
0
votes
2answers
36 views

wp_editor for custom post type doesn't save value

I have done this so many times but facing problems with meta boxes and wp_editor these days, lot of notices, errors and strange behaviour. I have been able to solve problem with meta boxes notices ...
0
votes
1answer
73 views

the_permalink() leads back to homepage

I am trying to create my first wordpress theme. But I have run into som problems. When I click the link (the_permalink()) it leads back to the homepage. I get the right URL but the URL is showing the ...
0
votes
0answers
28 views

Custom taxonomy term in post type url 404 problems

I'm trying to create a custom url structure in wordpress. I have a custom post type called "vakanties" and a custom taxonomy for that post type called "vakantie_categorieen". I want the following ...
0
votes
0answers
32 views

Adding a menu item for a Custom Post Archive

I've created a Custom Post type (project) and it works perfectly. I have a custom archive page (archive-project.php), and that works great, too, but what's the best way to add a link to that custom ...
0
votes
0answers
23 views

Displaying multiple custom meta fields on the fronted

I am trying to simplify how I display multiple metabox entries on my front page through a custom theme panel. As of right now I have a custom panel called explore which is programmed in my custom ...
0
votes
1answer
14 views

Custom post tag images not displaying with ACF

Using ACF i've added a custom image field to a particular set of custom post tags. The problem I have is that I cannot get the images to display. Yes, I have added an image to the tag and updated. ...
1
vote
0answers
8 views

Make a custom_post translatable

I have a problem with two plugins. The 1st plugin adds a custom_post type whenever a post is created. The 2nd plugin is a translator and only shows posttypes that are translatable (according to the ...
1
vote
0answers
26 views

Best action hook to create custom post and assign taxonomy terms to it on plugin activation?

When I install the plugin, I want to create 10 CPTs of a particular type, which I define in the init action hook, and want to assign 10 terms of a custom taxonomy, which too is defined in an init ...
0
votes
0answers
17 views

Custom Post Type On Publish Update Meta Field

I'm wondering if someone can shed some light on how I can update a custom meta field value, when a new post is created in a custom post type? Specifically, I have a custom post type named ...
0
votes
2answers
18 views

Make a custom column sortable by a value from a different custom post type

I've created some custom columns to display my custom post types more attractively in the admin section - the columns are mostly custom fields. Mostly, this works absolutely fine, and I can sort by ...
0
votes
1answer
33 views

Query Pulling the same post twice

After seeking help and failing, I managed to write a query for Wordpress that does exactly what it's suppose to do, however it pulls the post that it's suppose to in twice. I've stared and stared at ...
0
votes
0answers
27 views

Custom taxonomy page template name is use for it?

I want to know that how can i specify the page template name for my custom taxonomy and where it should be place in page-template directory or at theme root directory? eg. i have custom Taxonomy ...
0
votes
0answers
15 views

Video uploader form doesnt create post and upload video to the right area

I am building an uploader for my wordpress site. The form is almost complete but there are a few issues. It does not create the post The drop-down menu for the categories does not display. here is ...
0
votes
0answers
12 views

Custom Permalinks with Post Meta Value , other pages return only homepage error

I have a directory site, so i created a post type name "ads" and their post title are phone numbers, but i want the permalinks instead of mysite.com/ads/post_title i want it ...
0
votes
0answers
7 views

How to set page to be a parent of a custom post?

This question is regarding the navigation menu (wp_nav_menu). The nav menu has two classes that depicts the current page: .current_page_parent, .current_page_item. This works great for both Blog and ...
0
votes
2answers
25 views

This wp_query will not return any posts and only seems to work with post_status inherit?

I'm having difficulty returning a list of posts. This file is contained in a plugin folder (ultimately I want to have a cron job just run the script here to delete posts with invalid urls in the given ...
0
votes
1answer
37 views

How to change single custom post template by custom taxonomy?

Working on a publication (wordpress based) website, having a custom post type "article" with custom taxonomy : language (with only two options: French, English). I made a custom post type template ...
0
votes
0answers
34 views

How to remove custom post type slug & taxonomy-base from URL in WordPress

I am using woo-commerce I have bellow code to remove the post type "product" slug from url and it works fine. Product url = http://example.com/product/product-name/ to Product url = ...
0
votes
0answers
28 views

Custom Post Type: Display specific taxonomy term on archive page

I've a custom post type called 'Products' and a custom taxonomy for it called 'Products_Categories'. Now I'd like to have my archive page to look like Books: Title book 1 Exerpt book 1 Link to ...
0
votes
2answers
26 views

Using piklist meta box, strange behavior

I'm trying to get into wordpress theme development. I currently work at agency which uses Roots framework and piklist. I created a custom post type into which i wanted to add an icon from ...
1
vote
1answer
49 views

Posts from all the categories are being displayed instead of particular category

Created a custom post type Menu it has Categories and Sub-Categories. I am succeeded in fetching Sub-Categories of the post using this code. <?php $wcatTerms = get_terms('menu-items', ...
0
votes
1answer
9 views

template structure for CPT not clear

I am a little confused with CPT and custom taxonomies. I created CPT named 'Profiles' and did not create any custom taxonomies for it. So categories is the default taxonomy for it, I tried template, ...