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

learn more… | top users | synonyms (1)

0
votes
0answers
22 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
5 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
15 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
0answers
16 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
14 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
25 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
15 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' ), ...
0
votes
1answer
28 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
59 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
42 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
21 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
19 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
16 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
15 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
12 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? [on hold]

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
16 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
14 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
10 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
17 views

Need help : Sync post types to taxonomies [on hold]

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
20 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
27 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
15 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
29 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
24 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
77 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
57 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
7 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
13 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
36 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
9 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 ...
0
votes
1answer
20 views

How to add custom column to Custom post page list?

Image should explain what I am trying to accomplish. I have no idea how to do this, is anyone familiar with this sort of work? Custom event date will be a custom event meta box value that is part ...
0
votes
0answers
12 views

Bulk action on custom post with wp list table

I'm a bit confused and I'm hoping somebody can help me. I am trying to do a bulk action for deleting the items in a custom post type which are shown via extended wp-list_table class. I found some ...
0
votes
0answers
15 views

How To Pass In An Array Or Object For A Post Meta

First thank you for checking out my question. So I created a custom meta box in wordpress and I can save a value from an input box into the database, but I need to store more than one variable in ...
0
votes
0answers
23 views

get_posts not filtering custom type by category

I'm trying to filter a CPT (Custom post type) by it's categories. Here's the CPT declaration: class PB_Noticias { public function __construct(){ $this->register_post_type(); ...
1
vote
2answers
43 views

Exclude a term of a taxonomy with a custom post type in a search

I've got a WooCommerce category for sold items within WooCommerce's custom post type of 'product'. What I'm trying to do is have the site search only return results from the product post type but also ...
1
vote
0answers
20 views

How to update post meta on uploaded image from a custom form?

I have a custom PHP submission form wherein if I submit the form the entry will be created as a custom post. I am able to update post meta boxes for textareas and input fields but can't get uploaded ...
0
votes
0answers
13 views

set s3 image as a featured image in wordpress post while posting the post programatically from an external source

I am pretty much new to wordpress. My requirement is that i need to make a post from an external source using ajax to wordpress site. The post data merely contain "posttitle,description,etc..." and an ...
0
votes
0answers
20 views

Default Terms in Custom Taxonomy for Custom Post Types

I am using the below code to automatically assign a custom taxonomy (my_tax_name under my_tax taxonomy) to a custom post type (my_cpt) so that when I publish a post without assigning it any taxonomy, ...
0
votes
0answers
14 views

How to get correct page info , post type/taxonomy/category/custom post type?

Ok I feel like I am mixing apples and oranges here. Yes I am fairly new to WP and the concept of pages/tax/post/custom post types etc is blurry to me. I come from joomla where we have article , ...
0
votes
0answers
16 views

How to orderby my custom post type with two custom meta keys

I am working on real state property website. I have CPT "soto_property". I also have two custom fields for this CPT named "price" and "dorm_room". I have a search form, from where visitor can filter ...
0
votes
1answer
11 views

Generate slug and meta data if meta field is empty

I am creating a current vacancies feature in a client site, and am struggling on one area. I want to have a slug generated from a reference number, rather than the post title. This, I have set up. ...