0
votes
0answers
24 views

Wordpress list child pages of custom post type

Im stuck on this and any help would be appreciated. Say there is a parent page called "Stuff". And Stuff has several pages under it. Stuff more stuff more stuff1 more stuff2 It has no children ...
0
votes
1answer
14 views

Custom Template for wordpress cpt plugin

I am creating a wp custom post type plugin. Which supports the custom meta datas as well.Now my question is i have to create a archive page with custom template file. I have added the appropriate ...
0
votes
1answer
32 views

list posts of two post types in a single template

I have two post types. One is post & other one is event. Both sharing same categories & tags. I am listing the posts by archive.php. Now I am listing the posts as general by two different ...
0
votes
2answers
33 views

How to make a template for a specific post of a custom post type?

For the Page post type: I can create a logout page in the CMS and create a page-logout.php for its template. I created an Account post type but I can't use account-user-registration.php for a User ...
0
votes
2answers
23 views

Get All post that is in table

I have table that save in it the user id and post id. Now in some page i need to show all post for user_id (1) for example. how can i display all post that user_id is 1
0
votes
1answer
38 views

Custom Post Type used for FAQs Accordion

OK, so I asked this earlier and no one had any answer for me. I have a CPT for FAQs. FAQs are separated into 'categories.' I need the name of the 'category' then a every post within that 'category.' ...
0
votes
1answer
34 views

How to create content automatically when a post is published?

Goal: Ability to automatically create content in WordPress posts/pages. Goal Details: When a post is created/published, it will automatically create or configure content based on the base data inputs ...
0
votes
1answer
49 views

creating files for displaying different custom post type posts with paging

I have the following post types: Post - wordpress built in Documents - custom post type Videos - custom post type I am very new to wordpress and I do not understand the template structure. I am ...
0
votes
1answer
23 views

Is there a way to order posts and custom post types as one group?

I have tried several plugins which seem to purport to do this (like this one), but they either don't or are very poor in their implementation and cause problems (the one linked seems to randomly ...
0
votes
1answer
29 views

Display a post count from a custom metabox selection

I was wondering if this is possible. I have a custom post type call projects that displays a metabox with drop down menu. In that drop down menu I have a few choices listed, draft, open, pending, ...
0
votes
0answers
58 views

How to show related posts by category or custom post type?

I'm looking for the best way to go about creating, probably, custom post type where you can filter in the categories related to that custom post type in the sidebar. Here is the website I'm working ...
0
votes
2answers
29 views

Variable not working in WP_Query

I have used this technique before and cannot work out why this time it is not working. 'news_category' is a custom taxonomy of my custom post type 'News'. I am getting the taxonomy of the current ...
0
votes
0answers
23 views

Front-end form submission not creating post

I'm trying to use a front end form to create a post. I've been trying for a while now but I the post is not created. I'm using the code below, i'm not sure if i've forgot something. <?php ...
0
votes
0answers
28 views

query_post causes the posts to be loaded twice on load more posts

I am using query_post to randomize the posts in a custom post type. However this causes the posts to be loaded reloaded when i load more posts in. Below is my code: <?php ...
0
votes
0answers
32 views

How to configure a child-post of a parent-post to have hierarchical sub-posts?

Question: What plugin or coding configuration needs to be implemented to create this child-post to parent-post hierarchical, many-to-many post relationship? Goal: To be able to create sub-posts of a ...
0
votes
1answer
21 views

Display an authors post on a single page only when they are logged in

I am having trouble finding a solution or the correct tutorial on how to get this done, I have been looking for weeks and still no outcome. What I am trying to accomplish is display all post on the ...
0
votes
1answer
23 views

is it possible in a custom post, create custom fields as well whitin?

Well, I created my custom post, but I am wondering why is this if not for a customizable post page? so, I am guessing in some way, I could add new fields on this custom post and publish it as if it ...
0
votes
1answer
56 views

Adding search form to header in huemen theme along with header background image

I want to add a search form to heumen header along with the header image. there is one more problem that i want to redirect the user to another website when he searches that form. example he searches ...
0
votes
0answers
155 views

Load Next Posts With AJAX not working with custom post type

I am using this plugin to load in my next posts with AJAX. I have implemented it into my site and it is showing the load more posts button however once you click on the 'load more posts' button it ...
0
votes
0answers
23 views

Custom Post Type link not showing content

I have created 2 custom post types. One called artist and one called work. When I create a post in artist and view it the link is fine and I can view the content. However in work when I add a new post ...
0
votes
1answer
33 views

Linking custom taxonomies and posts

Im trying to figure out how to display data from custom post's into a custom taxonomy in a different post type. I currently have 2 sections. Work & Talent. Work will display individual ...
1
vote
0answers
66 views

ACF Plugin - Dropdown menu of Posts based on Date Picker range [closed]

I am building a website with a Custom Post Type, "Events". I would like to use the Advanced Custom Fields (ACF) Plugin to provide custom fields for this post type, 2 of which will be ACF Date Picker ...
0
votes
2answers
76 views

Create new custom post and post category of same name

I have a custom post type "Product" and want to create a post category "A Product Name" automatically on creation of a new Product so that the post category (not custom post category) would have the ...
5
votes
2answers
266 views

WP_Query Pagination on single-custom.php

What I am looking to do: Setup WP_Query pagination in a single-custom-post-type.php template file What I have done 1) Created a post type called "authors". Each post within that post type is an ...
1
vote
1answer
402 views

Get category id from post id of a custom post type

I want to get category id from post id of a custom type. I have the post id, but I can't get it's category id. I have used so many codes but it doesn't work, may be due to custom post type. ...
0
votes
0answers
27 views

Display images uploaded to post on the post edit screen

Does anyone know if it is possible to display an image which has been associated with a post on the post edit page without clicking on the media gallery and selecting the drop down option 'uploaded to ...
1
vote
1answer
32 views

Restrict custom post type from appearing with ?post_types=

When appending the querystring post_types = "name of your post type", it displays all the posts. I am using a plugin that has its own custom post type which is restricted (only users that have ...
4
votes
1answer
95 views

How make get_next_post() return first post when viewing last one

I need a way to link to the first and the last post (CPT) created. For example, I'm in the last post and if I click in "next" I should go to the first. Now i have this <?php $next_post = ...
0
votes
1answer
45 views

The loop does not show users

I'm trying to show all post made ​​by the author. Code author.php <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if( get_post_type() == 'post' ) {?> <?php ...
0
votes
0answers
30 views

How to show custom post type in hierarchy

I want to show my custom post type in list pattern like S.No Title 6 samplePost1 - replypost - replypost 5 samplepost2 - replypost 4 samplepost3 Here i am setting post_per_page ...
0
votes
1answer
53 views

Search page for custom post type

I am new to wordpress and a beginner coder, and i was searching around the net, found solutions but still does not work. I have custom post type named dlm_download, and my custom search template not ...
1
vote
0answers
99 views

Posts 2 Posts: Get related posts from user connected to current post? [closed]

Hopefully someone can help with this. I have a CPT called "Tours", and I'm using Posts 2 Posts to connect Posts inside that CPT to Users. Relationships being: Tour Item 1 > Tour Operator 1 Tour ...
0
votes
1answer
39 views

Hook only specific post type

with this function I change the title of my posts in the posts type 'alternatives'. My problem is that Wordpress changes all my titles now. Does anyone know how I can set this for the specific custom ...
0
votes
1answer
1k views

Add metabox with media uploader in a custom post type [duplicate]

I need to create a "media uploader metabox" and add it to my custom post type. I've already create normal metaboxes, the function to add to the custom post type and the function to save them, I only ...
0
votes
1answer
53 views

What's an efficient way to change the post status of many posts at once?

I'm looking for an efficient way to change the post status on many posts at once. I have a custom post type that I'm using as a means to store content that must be approved by a moderator before being ...
0
votes
1answer
103 views

How to filter the taxonomy terms based on another taxonomy term

I have created a custom Post Type called "Tour" which Holds up-to five Taxonomies called "destination", "Types", "Month of Travel", "Year of Travel" and "Led by". Now I brought them as drop-down ...
0
votes
1answer
169 views

Wordpress post carousel

I stuck with this. I would like to have a portfolio carousel, that shows 9 of the latest posts in the carousel, and when you click on an arrow, than you will the 9 older posts etc. How can I get this ...
0
votes
0answers
34 views

Custom Post Type permalink not working on new posts

I've been struggling for a while with this and would really appreciate any help. I have a custom post type 'venues' on a site I'm working on. I have the permalinks setup so they are as follows: ...
0
votes
1answer
79 views

How to Associate Posts with Pages

This is more of a "how does this work", kind of question than a code question, though some code may be involved. I've been Googling, and reading other questions about custom post types and taxonomies, ...
0
votes
0answers
21 views

adding access to a specific post in the wordpress admin left menu

I've added a custom post type on my wordpess called "Perso". here is the code : // Register Custom Post Type function custom_post_type() { $labels = array( 'name' => ...
0
votes
0answers
77 views

Add A Print Post Button Within The Admin

I am looking to create a button within the post or a custom post type admin portion of my WordPress site, that would act similar to a "View Post" button, except it would take the admin user to a ...
0
votes
0answers
88 views

Populate WYSIWYG field with ACF choice

So, I have a custom post type that uses a flexible content field containing a post object field and a wysiwyg field. The post object is to choose a post from a selected post type. After you choose ...
0
votes
1answer
50 views

custom taxonomy listing returns no posts

I had a issue with a custom taxonomy and a custom post type using the same url and that is now fixed but it has created another bug. not showing the posts tagged with the custom taxonomy. my url i am ...
1
vote
3answers
127 views

Problem excluding category from get_next_post

I have a custom post type called "exhibitions" that uses the native "category" taxonomy. I have three categories: Current, Past, and Featured. Posts get marked either Current or Past and some are also ...
0
votes
1answer
94 views

Show custom post type filtered by category

I would like to have a custom post type which contain several sliders for showing in each category page (exact category.php), one for each as planned. All sliders were assigned to related category. ...
0
votes
1answer
39 views

Query Only Show Text on Posts With Certain Taxonomy Tag

I am trying to query in a post to show a fixed line of text at the end, so that if that post has a specific taxonomy tag applied to it (Special), then a line of text will show. I guess it's something ...
-2
votes
1answer
75 views

Why I obtain this error message when I try to click on the author name of a post in my theme?

I am pretty new in WordPress theme development and I am experiencing a strange behavior in this custom theme that I am developing: http://onofri.org/WP_BootStrap/ As you can see in the blog are shown ...
0
votes
0answers
15 views

Posts in nav menu

Hello I'm making menu and I want to add element of menu and in this element submenu which posts name and links to this posts. For example I have item menu called A->link1 to post link2 to post ...
0
votes
2answers
119 views

Structuring a product catalogue in Wordpress [closed]

I am trying to create a product based content managed website in Wordpress (by clients request). I have created a custom post type where all the products reside, aptly named 'Products'. The products ...
0
votes
1answer
58 views

Display all post types together

I'm looking to use Custom Post Types to create a simplified process for key individuals to add information to a webpage. Let's use a Job Posting as an example, with custom fields for Job Title, ...