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

learn more… | top users | synonyms (1)

0
votes
1answer
7 views

Is possible to add post-formats to custom-post-type?

I was wondering if there is some way to put together the custom-post-types and post-formats so I can code a new post type and offer some variations as post-formats. I'm involved in a company ...
0
votes
0answers
16 views

Custom view on data

I created two custom post types - Company and Item. I established a relation between them using Posts2Posts plugin. What is the best, most correct way to create a template/view displaying all the ...
0
votes
0answers
10 views

Custom Post Type with for Custom User Roles with restricted access to admin dashboard

I want to achieve the following functionality without use of a plugin: Create a new user role called "News Manager" Create a new custom post type called "News" Assign the capability of posting News ...
0
votes
2answers
37 views

Create post programmatically

I want to create a video gallery plugin. I am using this code to create a post: global $user_ID; $new_post = array( 'post_title' => 'chapter1', 'post_content' => 'Lorem ipsum dolor ...
0
votes
1answer
8 views

Custom post type, permalinks, taxonomies and blog posts

I am creating a custom theme for a bike shop and thought having a custom post type for bikes would be easier for the shop assistant to manage the bikes they would like to appear on their website ...
1
vote
2answers
27 views

Best practice for adding posts in bulk

I have a set of custom post types and taxonomies I've added using the Custom Post Type UI plugin, and need to enter several hundred entries ( >500 ) How can I import this data in bulk? E.g. as a csv? ...
0
votes
2answers
21 views

How to use custom field to search for wordpress post type?

I have a post type in called Publication. I also have few custom field in that post type such as Publication Year, Author... I want to have a search box with 3 drop-down fields which is All Field, ...
0
votes
2answers
22 views

Accessing a protected property of a post

Fatal error: Cannot access protected property Some_Plugin::$_some_property What is the best/least-destructive way of accessing a protected property attached to a post. The property is being ...
0
votes
0answers
15 views

How to display imdb connector search results in a post type? [on hold]

I am using imdb connector with a search form and I get movie details.But I wanna to create a post type for search result. Is it possible to create a post type for search result? ...
0
votes
0answers
20 views

Custom Post Type and Taxonomies

I hope someone here can help me with a bit of a problem. I am working on a WP site where I have created a Custom Post Type called Retailer. In there I have Country, Region and City Now I want to ...
0
votes
0answers
10 views

Override “Automatically close comments on articles older than” per post?

I need to set a custom closing date for the comment field, per post. I havent started researching on how I should do this, so a indication on how to do this would be just as good as a plugin that do ...
0
votes
0answers
21 views

Custom post type permalink structure without post name

I have a CPT that is called city , in my permalink options panel i've set the permalink structure to /archives/%post_id% notice that there is no slug for post name. but the permalink for the city post ...
0
votes
0answers
4 views

How to create user group and add its menu icon to dashboard top level admin menu?

I would like to use the user registration under users to create an option page similar to a custom post type. Afterward, I would like to be able to directly access the created users group by clicking ...
0
votes
0answers
13 views

Custom post type not showing in wp_posts table in database using navicat or PHPmyadmin

This is really weird. I created a custom post type and saved a few posts using it. Then I managed to edit and update them. When I came to look in the database for the rows I cant find them. I used ...
0
votes
0answers
9 views

Caption is not loading on a couple images only

I've got some strange behavior going on with WordPress Images. I put up let’s say 20 images into a WordPress site on my development system through the media tab on the backend. Each one is attached ...
0
votes
0answers
15 views

meta query always fails even if data is correct

I've following query - $query = array( 'post_type' => 'accessory', 'posts_per_page' => -1, 'meta_query' => array( array( 'key' => 'accessory-bike', ...
3
votes
1answer
27 views

Select all in parent category, group by child category?

I am trying to format a custom post type for a "series". Each post is an Episode, each Episode belongs to a Season, and each Season belongs to a series (just like a TV show). I have the following: ...
0
votes
0answers
9 views

Tool Chain / Dev Stack options for robust WP webapp development?

I'm making a fairly sophisticated multisite webapp with lots of custom plugins and customs post types, custom fields, and settings. I really like to use the GUI Dev tools, like advanced custom ...
0
votes
0answers
15 views

Custom post type /feed gives 404 error

Im getting a 404 error with CTP feeds...why can this be happening? The error was detected via Google webmaster tools... how can I ammend this to allow CPT feeds? any hints? how to debug? thanks!
0
votes
1answer
15 views

Multiple Loops on a Page Without Duplicates

I have tried many different versions of this and nothing seems to be working for me. I want to display single posts of a custom post type (portfolio) each in its own div. I don't want any duplicate ...
1
vote
1answer
19 views

Pages are not saving due to custom post type

I have a custom post type "soto_user". In which I have custom meta field named "Publish" from which user can select 'YES' or 'No'. If user selects "Yes" and click Publish button then post should be ...
0
votes
1answer
25 views

Custom Post Status & Taxonomies

I have successfully registered my custom post types, custom post statuses and my custom taxonomies/terms. All is working fine but... It seems that both the 'categories' column within the custom post ...
0
votes
1answer
12 views

Algorithm for a membership plugin [on hold]

I want a to build a membership plugin.But i don't think a plugin like that is available if so please tell me else please guide me and give me some direction that how do i proceed There will be a ...
0
votes
0answers
14 views

Loop a Custom Post Pagination

I am having a little trouble trying to get my custom post type pagination to loop. The idea to my pagination is to only display a next field with the title of the next post. Once you hit the last post ...
0
votes
0answers
11 views

Search for words in post_type

I have a page-doctors.php with the list of doctors, these doctors are registered as post_types, the code that taking all post_type doctors is: $paged = ( get_query_var('paged') ) ? ...
0
votes
0answers
15 views

Post type tree loop

I need to get the pages of a custom post type exactly as they are in the admin panel. Example: Page1 --subpage1 --subpage2 Page2 Page3 --subpage1 --subpage2 I need this as a loop. I tried for ...
1
vote
0answers
37 views

Page Template as Custom Post Type Archive

My goal is to have the slug www.domain.com/resources used by a Page Template rather than an Archive Page, and have single CPT posts as children of that slug, such as www.domain.com/resources/post. ...
0
votes
2answers
29 views

Custom Post Type with Custom Taxonomy as Category

I have created a custom post type portfolio with custom taxonomy Portfolio Category. I can create portfolio items and assign portfolio categories to them and save these custom posts. But what I need ...
-1
votes
0answers
18 views

How to add upload image on custom post type wordpress [duplicate]

I have created a custom type post on wordpress, when i have added file upload I couldn't save and get the image, so if there is anyway to solve this problem show me how. an other thing how can i show ...
0
votes
1answer
14 views

Editable Meta Data for Custom Post Type Archive Template

My question is one of theming best practices. I constantly running into an issue were I have to display editable content on a custom post type archive page for client work - such as an image, body of ...
0
votes
1answer
11 views

Custom Post Type parent slug as menu item

I created a Custom Post Type with the slug "Sell". I want to add this to my menu set up in Appearence. But it seems to work only for actual items created with this CPT. But I need the menu link, ...
4
votes
2answers
52 views

Display several random posts, but make sure a condition is met

I have a custom post type for a group of people (employees). At first, I needed to display 7 random employees. That was easy <?php $args = array( 'post_type' => 'employees', ...
-1
votes
0answers
33 views

add upload image on custom post type wordpress [on hold]

I have created a custom type post on wordpress, when i have added file upload I couldn't save and get the image, so if there is anyway to solve this problem show me how. an other thing how can i show ...
0
votes
0answers
10 views

Displaying custom taxonomy list on sidebar using URL param as filters

I have a custom post type and 4 custom taxonomies. I would like to show the 4 taxonomies on the sidebar that when a term is clicked, the resulting page will show 3 taxonomies, then 2, then 1, ...
0
votes
1answer
20 views

Use Tags to Query Associated Multiple Posts and Get The Average Of Custom Field Values

I have created a custom post type named “Rating” that I’m using to add customer rating sections to my website. Each rating post has the ability to have a: Title Comment section Featured Photo ...
0
votes
1answer
23 views

Advanced Custom Fields - Add Field to Specific Page [closed]

I have created a custom post type for testimonials. I have each testimonial as a text field titled 'testimonial' using the Advanced Custom Fields. I have a list of pages for services and want to pull ...
0
votes
2answers
43 views
+50

Custom capabilities not reflecting on admin panel

I've made some custom post types, and some user roles. Each role has access to different custom post types. The thing is that edit_others_customposttypecapability, isn't working. I've tried logging ...
0
votes
0answers
16 views

pre_get_posts with multiple post types AND a meta_key

So I am trying to customize the search a bit. The client wants the main site search to return people, projects, and posts. Not normally a problem. However for projects, only projects with a certain ...
0
votes
1answer
9 views

How to make in WordPress admin panel sortable column for the custom field, that count the number of page impressions?

Good day! I try to make display post counter for WordPress. Output count of views function getPostViews($postID){ $count_key = 'post_views_count'; $count = get_post_meta($postID, $count_key, true); ...
0
votes
0answers
18 views

Display custom Taxonomies same as listing Categories

I have used CPT UI plugin to create a custom post type and a custom taxonomy to go with it. In a manner as similar to wp_list_categories() as possible, I'd like to list these new custom taxonomies as ...
0
votes
1answer
35 views

group search results by post type?

My site has 3 unique post types: Default Blog posts ("post") custom type "lesson" custom type "series" When the user searches the site, I would like pertinent results from all 3 post types to show ...
0
votes
0answers
11 views

How to Override default title tag on custom post type?

I have a custom post type called album. There are no SEo plugin enabled for this post type. By default WP prints as the post title I gave on editor. But I want to edit it for album post type. I want ...
0
votes
0answers
34 views

Custom post types display [closed]

I have two custom post types created using CPT UI plugin, products and review. I want to show reviews on product page submitted by users. I'm able to submit review using a frontend form how do i show ...
0
votes
2answers
30 views

Test for post type in request filter?

I'm running into a catch-22 situation running a request filter. I need the request to be correct in order to run the correct filter, but I need the filter to correct the request. GAH! Here is the ...
-3
votes
0answers
9 views

changed the permalinks plugin anspress [on hold]

hello everyone I'm new here I need your help how to get shorter link plugins anspress example: mysite com question question and-etc... changed to : mysite com question and-etc... I hope you ...
0
votes
0answers
28 views

Custom post type relation

I have created two custom post types using a plugin and using a form i'm able to submit posts using a frontend form creator. It's like one post type is for movies and another is reviews. So how do i ...
0
votes
0answers
7 views

Triggering a task to a queue upon saving a custom post

Here's my ideal scenario for the use case I'm exploring. 1.) user creates a new custom post type record with a bunch of custom fields. One of these is a url field. 2.) upon saving the record, I'd ...
0
votes
1answer
25 views

redirect old post type url to new structure url

i have one cpt Anime and it has post_type taxonomy with term anime and animation anime(cpt): (site domain)/anime/post title | |-(tax)Anime |-(tax)Animation And my url structure are ...
0
votes
0answers
31 views

How to get all tags of a custom post type by id

simple question, how to get all tags of a custom post type by id? post_type=product. i have tried with http://codex.wordpress.org/Function_Reference/wp_get_post_tags in my post loop and the print_r ...
0
votes
0answers
29 views

How can I add a “fake” parent into the permalink?

I have a custom post type of books and a taxonomy of book-publishers-series. I am trying to do a rewrite so that my urls look like: ...