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

learn more… | top users | synonyms (1)

0
votes
0answers
2 views

Full-Ajax Theme: parseJSON error while building a JSON object from a Wordpress custom template

Trying to make a full-ajax navigation on my new portfolio, I read online on a few different blog that building the templates using JSON would be easier in order to treat the datas however I want. It ...
0
votes
1answer
14 views

disabel for custom post Auto Upload Images

hi can i disable this plugin for custom post type thanks https://wordpress.org/plugins/auto-upload-images/ thanks
0
votes
1answer
15 views

how to echo meta tag in header using php

I need to display a meta tag in header for singular custom post type "communications" like this: <meta name="citation_title" content="single post title is here" /> I tried to use this code : ...
0
votes
1answer
11 views

Getting ACF relationship field information

I am trying to use ACF Relationships to associate members to different committees. On the front end, I want to have the committee name and the board members that are associated with them. I have ...
0
votes
1answer
22 views

Custom Loop Event Page

I need to create a loop in an event page with pagination of 10 posts per page. The way I want to do it is a little bit complicated. For example, with current date May 1, 2015: January 1, 2015 - ...
0
votes
0answers
18 views

Custom Post Type only display items created by user

I've used the following tutorial to register a new post type and restrict a custom role to that post type: ...
0
votes
0answers
9 views

Multiple slugs for a Custom Post Type

A custom post type can be registered with one slug (e.g. products) register_post_type('products', $args); How can I add multiple slugs to the same Custom Post Type? ...
0
votes
1answer
11 views

Modifying date filter on admin page for custom post type to link to custom field

Apologies if a similar question has already been asked, but I can't seem to find the exact functionality I am looking for. Basically I have a custom post type (sermons) which has 'recorded_date' as ...
0
votes
0answers
8 views

Set page to parent for all instances of custom post types

I have a custom post type, like this: $args = array( 'label' => 'project_post', 'description' => 'Project', 'labels' => stuff, 'supports' ...
0
votes
2answers
22 views

query_posts adding extra code to homepage

I've made a custom post type "brands". I have a custom template that display's these brands on this page: http://www.southernms.com/new/brands/ I also want these brands added to the homepage. So I am ...
1
vote
1answer
21 views

Setting Default Category for Custom Post Type Upon Autosave

I've been searching for a couple hours and consulted multiple posts, but I seem to get this to work. I have this weird bug where users cannot see their drafts of a custom post type if they don't ...
0
votes
1answer
41 views

Create Wordpress bio without backend

I am trying to give users the option to create a user bio, so that it will be displayed in author boxes. However, I do not give my users the option of going through the backend of my website. How ...
0
votes
1answer
7 views

Heirarchical URLs with CPT and custom taxonomy

Having a real hard time getting to the bottom of this, all I'm trying to do is create a perfectly logical URL structure for a custom taxonomy. I have a CPT: 'knowledgebase' I have a custom taxonomy ...
0
votes
0answers
16 views

Some posts appear in duplicate with paginated query

I'm querying a custom post type with some custom post meta, and then output the results. This is the query: $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $properties_query = array( ...
0
votes
0answers
20 views

Why I am getting an alert box on updating an custom post type?

Whenever I click on Update button I always get an alert box displaying "This page is asking you to confirm that you want to leave - data you have entered may not be saved." I just want to remove this. ...
1
vote
1answer
23 views

Custom post type submenu capabilities - custom plugin

I'm trying to add new custom capability so I can hide custom post type from non admins. In my custom post type I have some custom taxonomies and then 2 submenus. The administrator can see the menu of ...
0
votes
0answers
20 views

Adding custom field to permalink structure

I have a wordpress site that uses a custom post type 'external-projects'. Within that custom post type there is a custom field 'director'. What I am trying to do is rewrite the permalinks to include ...
0
votes
0answers
27 views

Custom Post Type (child) and Permalinks Rewrite Rules

I know this question has been asked a lot of times. However I couldn't managed to solve the issue I have for a few days now so if you could help me it would mean a lot to me. I have created custom ...
0
votes
1answer
12 views

Filter wp_dropdown_categories Per Post Type

I'm using wp_dropdown_categories to add a categories filter to the media library. It works fine, except it displays all the categories that are assigned to posts, but I would like it to only display ...
0
votes
0answers
16 views

Child pages in a Custom Post Type are appearing blank

I've registered a CPT with the following: function create_client_post_type() { $labels = array( 'name' => _x( 'Clients', 'Post Type General Name', 'text_domain' ), ...
1
vote
1answer
57 views

advanced search forms with 3 input text and that the main problem 3 input text

N.B. : all my work is on wordpress. I was working for an advanced form with 3 input text in purpose to show a list of hotels. The problem is i tried an infinity tricks and functions but without any ...
3
votes
3answers
70 views

Custom Posts Types using Posts Category

I'm using some custom posts types, and, I don't wanna create specific categories for each one. I'd like to use the Post Category in all my Custom Post. Here is a example of my new custom posts type: ...
0
votes
1answer
16 views

Show post count number assigned to custom taxonomy

I'm building a villa rental website, I have two custom post types named "Villa" (used to show villas) and "Destination". I have installed the CPT-onomies plugin and I use the "Destination" as custom ...
1
vote
1answer
44 views

How to solve suspected memory issue in custom WordPress loop?

I have written a plugin that adds a "Where did you hear about us?" question to the WooCommerce checkout page and shows the results (as a simple horizontal bar chart) in a wp-admin page. The plugin ...
0
votes
1answer
26 views

How to create custom page templates with default page layout framework?

I'm writing a custom theme. Most of the content will use the regular index.php, header.php and footer.php. The index.php looks like <?php get_header(); get_sidebar(); ?> <div ...
0
votes
1answer
21 views

Custom post type pagination 404

I have a custom post type named episodes_listing and a custom taxonomy named episodes_category. My goal was to have pages like domain.com/episodes/season-one. This works great, and if I have a ...
0
votes
0answers
17 views

Custom post type clean url

I'm trying to create clean url's for my custom post type, but I can't seem to figure out how to make this work. First I followed the Wordpress codex using publicly_queryable and query_var in my ...
0
votes
0answers
21 views

How to fetch custom post type data with ajax? [on hold]

I want to fetch custom post type data with ajax. For example I have a custom post type eBook. with an ajax call i want to show all Catagories of ebook. When one click on a catagory like Science then ...
0
votes
0answers
13 views

How to register custom post types like ebook and taxonomies with code?

There are more than 10 plugins to create custom post types and taxonomies. But one problem to use that is if accidentally plugin deleted, all works related to that plugin will be deleted.So I want to ...
0
votes
0answers
3 views

Posts 2 Posts Plugin - When saving connection, can it also set the connected post as draft and/or add taxonomy? [closed]

I have two posts types, Artwork and Return. What I want to be doing is when a single Artwork or multiple Artworks (from post type 'Artwork') gets attached to a single return (from Post type ...
0
votes
1answer
17 views

Reason action hook won't work with update_post_meta from frontend form? Alternative?

The code below works when I am inserting a post/using add_post_meta when submitting a form. The page refresh is flawless (see How can I fix a slow redirect after form submit from frontend (no ...
0
votes
1answer
18 views

How can I fix a slow redirect after form submit from frontend (no plugin)?

Below is the code I'm using for my short-coded form and to add the post. Here's a basic overview of the problem I'm trying to remedy: -This form is displayed on the page at /addmember/ -On this ...
0
votes
0answers
12 views

Using breadcrumb to return from single-page to list

I have tried everything, and looked everywhere for a solution for this problem.. I have a custom type "boat", which has some custom fields. I can display a list of boats on a page, and when a row is ...
-1
votes
0answers
18 views

Need help : Sync post types to taxonomies [closed]

I want to create a taxonomy when i create a post, and create a post when i create a taxonomy, I've tried to install it and using the functions provided in the api.php but nothing worked function ...
0
votes
1answer
22 views

Next Post links not working in custom post type shortcode

I'm trying to paginate some custom posts types, and the previous link works, but not the next link. I tried several ways but I'm not able to find the correct one... if anyone could help :) This is ...
0
votes
1answer
30 views

CPT structure questions

I use to do a lot of wordpress theming, but have since moved into developing without wordpress. I'm building a site right now that I would to have a custom post_type and taxonomy structure that ...
0
votes
0answers
21 views

Using Isotope in WordPress portfolio

I'm trying to create a custom post type portfolio and use Isotope for filtering according to categories but I'm not doing something right. I've loaded scripts in my header.php, created a custom post ...
0
votes
0answers
31 views

CPT's with landing page instead of archive - Url Rewrite?

I am building a directory website which has various Custom post Types like Tours, Food, etc. The client would like to see landing Pages for each of the categories which can be edited manually (think ...
1
vote
1answer
25 views

Template for all categories of a custom post type?

Hello ladies and gents! I'm hoping you can help me with this one.. if it's each possible. I (ideally) need a general template for the categories of a custom post type. Custom post type: Listings ...
1
vote
1answer
80 views

expire wordpress user posts

I'm trying to make classified WordPress theme and I need to make users posts expire date plus show that date into the post. Users only allowed to publish their posts in post-types not as ordinary ...
0
votes
0answers
8 views

Custom Post messages in admin - for moved to bin/deleted msgs

I have used code from Set custom messages for post update/save for customising the messages of my custom post type so that they make sense to users and don't contain the word "post". However, I just ...
0
votes
2answers
58 views

Custom taxonomy page template

I'm working on my own wordpress theme for the first time. I registered a new post type with custom taxonomy, but I can't display the posts by terms. I duplicated the archive.php and renamed it to ...
0
votes
2answers
21 views

Multiple loops for custom post type to spread data across rows

How do I split the values within a custom post type loop so that the title is in the first loop which outputs in the first DIV and the content is in the second loop outputting in the second DIV? Two ...
0
votes
0answers
8 views

Different excerpt length for different custom post types [duplicate]

I have two different custom post types, say, 'News' and 'Publications'. Now I want show 30 words as excerpt in News archive page, and 20 words in Publications archive page. How can I achieve that?
0
votes
0answers
8 views

Have custom post template work across multiple themes

I made a custom post type plugin to enter times for a radio show. I entered some css into the single page template and it is coming out very differently for different themes and sometimes outright ...
0
votes
0answers
11 views

Building URLs with Custom Post Type

Here is my current dilemna. I have created two custom post types, Verticals and Products. The Products information is fed into the Verticals and there is an interior nav with anchor links that ...
1
vote
0answers
8 views

Include related custom fields from one post type in another post type's JSON feed

I have a custom post type called Offers, and in this post type is a custom field called Store, which is a relationship field type to another custom post type Stores. This has been created using the ...
0
votes
0answers
15 views

map with ajax content load

Hi i made a svg mapa to load data from a locations cpt, so when i click the location it loads the content through ajax. It all works fine, but that is in the cpt page archive page. Now i need a map ...
0
votes
1answer
37 views

Showing a meta box in a custom post type on a page

I have a problem. I'm trying to add a meta box textarea field to a custom post type (in a plugin) with custom database table. The meta box is displaying in the custom post type, saving and updating, ...
0
votes
0answers
13 views

Add parameter to custom post permalink

I have created custom posts which have permalink structure as http://example.com/custompost/pagetitle I also want to access the same post with URL like ...