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

learn more… | top users | synonyms (1)

1
vote
1answer
20 views

making available just some parts of theme option

I'm just starting to understand and learn about how Wordpress works. Now i'm trying to build a simple website (6 pages, gallery, slideshow) by using a downloaded from wordpress.org. The theme that I'm ...
0
votes
0answers
15 views

Wordpress Custom Post Type Not Showing For Non Logged In Users

I just creating custom post type to be shown on front end, but its single page always return 404 Page if it is visited without log in. But It works fine if I logged in! What make that happen and how ...
0
votes
1answer
51 views

New WP_Query not isolating custom post types on front-page template

This is the code for my front-page.php template <?php add_filter( 'genesis_markup_site-inner_output', '__return_false' ); add_filter( 'genesis_markup_content_output', '__return_false' ); ...
0
votes
2answers
29 views

Shortcodes in custom post fields without the_content()

I have created a custom post type which doesn't use the_content() to display anything in the front-end, just using echo's. The user enters data into a text-area field in the plugin admin back-end, ...
1
vote
2answers
43 views

How to create archive page for taxonomy terms within custom post type

I am needing to create an archive page custom taxonomy terms that are within a custom post type. It's set up as CPT > Custom Taxonomy > Taxonomy Terms. I have a custom post type called "Projects," ...
0
votes
2answers
33 views

Get custom post type parent category

I'm creating a custom post type like this: function btp_work_register_post_type() { $args = array( 'label' => __('Works', 'btp_theme'), 'labels' => array( ...
0
votes
1answer
19 views

Custom Meta fields Update hook?

HI Is there any hook available that we can add it into functions.php and fire only when "Custom meta fields gets edited" ? I really need this . If anyone with the knowledge , please help me. Till ...
0
votes
1answer
14 views

One custom post type with two different url structure base on taxonomy term

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
15 views

Custom Post type url with category

i created a custom post type for my plugin. They can be categorized but the effect of that is kinda limited. Lets say we have the post type magazinesand the categories print and digital. I now create ...
1
vote
1answer
20 views

Plugin templates in which directory

Currently I have a number of custom posts as plugins, which process data and send them to the plugins respective template. I use Roots theme as a basis and currently store my plugin templates in the ...
0
votes
0answers
20 views

wordpress form processing to custom post type not working

I'm trying to insert a custom post type for a multiple image upload form. The below code is the form processing. The page is blank when i submit the form. Where did i go wrong? <?php ...
1
vote
2answers
26 views

wpdb custom post_type problem

I want to use custom post type in my custom SQL query, but, when I add the custom post type im my query, I get no results. Where's my probelm ? This is the code I've tried $top5_ov_performance = ...
0
votes
1answer
15 views

insert image with custom post type

When processing the form i want the values to be inserted into the custom post type products. Here is what i have done so far $art_title = $_POST['art_title']; $i = 0; foreach($art_title as ...
0
votes
1answer
14 views

How to Arrange Support => Thumbnail

Good Afternoon, I've created a CPT that mainly uses Featured Images, I would like to know how to rearrange this box to appear in the center where 'content editor' would go instead of the right ...
0
votes
1answer
40 views

How to query posts by meta keys AND under specific category?

The scenary: I'm working in a review system for WordPress, a game review website. It uses default posts, that when under "review" category, shows the review's meta fields (from ACF plugin). It's ...
4
votes
1answer
54 views

Admin Filter - Add Post Type Description on Post Type Page

WordPress allows adding descriptions to Custom Post Types whenever it's registered. ( register_post_type(). I would like to output that title on the Admin Landing Page ( View All Post Type ) ...
0
votes
0answers
11 views

Filter custom post type by tags

I really doubt if this is possible but I would like to filter a custom post type with Isotope based on the tag of the post and not the taxonomy. I'm currently using $terms = get_terms("taxonomy"); ...
1
vote
1answer
71 views

Displaying posts exclusively in their category (not parent)

I am using a custom post type to add/display PDF documents (posts) on my website. taxonomy - wpl_documents_category post type - post_documents All is working well. However, I want to display the ...
0
votes
1answer
33 views

Show all tags on custom post type

I'm attempting to show _all tags on the editing screen on a custom post type (products). Adapting these instructions I've created a simple plugin as follows: add_action( 'wp_ajax_get-tagcloud', ...
0
votes
1answer
13 views

Building a Portfolio and need some direction

I'm still new to WordPress so bear with me. I'm building a portfolio in WordPress and one of the goals I have is to display individual work items by type: website, print piece, video, etc… But ...
0
votes
0answers
14 views

Custom post type url removal for child posts

Hello so my issues is that i cannot figure out how to remove the post type name from the permalink of child post. Already went though most of the solutions on the web but not none helped. Basically ...
0
votes
0answers
20 views

How to query post by type and slug?

I have the following WP-query on my Wordpress website (via WP-API) and for some reason it returns me an empty array: array(6) { ["post_type"]=> array(1) { [0]=> string(9) ...
1
vote
0answers
13 views

same slug for custom postype and page pagintion not working

I have created post type "news" and a page "news" so my url is like http://demoserver.com/testsite/news Here i use page template for news landing and i do not use archive.php page for post listing ...
0
votes
1answer
19 views

Loop multiple taxonomy in custom post

I have a custom post called "rock" and taxonomy "genres" i need to filter the posts with tag or something like post_type > taxonomy > taxonomy_tag (tagsss) I can not find a solution :( i have ...
0
votes
0answers
14 views

Search form/Search results for Custom post type and its associated custom fileds

I have "Courses" Custom Post Type and few custom fields linked to each post type. Custom fields like Course Id Category Course Title Languages Month Year Duration. I am new to this Custom post ...
0
votes
1answer
21 views

Display custom posts for each category from its custom taxonomy

I've looked around at numerous answers and i can do this for the default 'post' type like so: $cats = get_categories(); foreach ($cats as $cat) { $cat_id = $cat->term_id; echo ...
0
votes
2answers
38 views

How to display custom field value on page?

I have added custom fields by clicking on screen option and mark custom field ,how to display custom field value on page?
0
votes
1answer
28 views

Query all post types but limit to parents

I'm building a site with several post types and am using a single index.php to query the archive for each one in turn. One of these post types is hierarchical and I'd like to just query the parent. I ...
0
votes
0answers
28 views

$post breaking container loop

Problem I have a foreach loop grabbing posts inside an advanced custom fields repeater. When it's finished looping through posts it breaks the repeater. I believe the problem is with $post as far as ...
0
votes
1answer
24 views

Create taxonomy from Custom Post Type

I know this question has probably been asked many times but I have tried googling without any success (at least without using a plugin) I have a custom post type for "Publishers" which contains all ...
0
votes
0answers
19 views

Woocommerce CPT

Good Afternoon, Is there a way to override woocommerce Categories to use Custom Post Types categories?. custom post type; Destination (Main) --Location (Child of Main) --Categories (Child Of ...
0
votes
1answer
15 views

Change a custom post type on an existing site

I have a site using two custom post types called destination and walk, where destination is used to categorise walks, by pulling a list of destinations into the walk editor. Part of the site has now ...
0
votes
0answers
20 views

How should I setup a special series on my blog?

I am not a full-fledged WP developer. But I know how to do basic PHP functions and get stuff working the way I want. However, I want to do a special series on my blog, that will last the next 3-4 ...
1
vote
0answers
39 views

How can you use one database with multisite

I have two separate wordpress installations and two different domains. I am using one database with table prefixes. It works great but when I enter my content on one site it isn't reflected on the ...
1
vote
1answer
16 views

Custom post type permalink returns 404

Mates, I've created a custom post type. Created some posts of that type, but when I try to access to any of them, I get 404 error. Also created single theme (single-pb_progproy.php). Here's the ...
1
vote
0answers
28 views

Rewrite rule for Custom Post Type Page as a parent

I'm searching for answers, but unfortunately can't find and hope to find here. I'm using Pods for custom post types called "players" and normal Pages for "teams", which is hierarchical, for example: ...
0
votes
1answer
32 views

Can't edit Custom Post Type slug/permalink

I have a custom post type and the permalink shows up but I am unable to modify it like I can with Pages and Posts. Is there a way to enable this? I have a few conflicts with some pages and I'd like to ...
0
votes
1answer
25 views

Arduous Wordpress Custom Post Type Permalink Path

once again folks, i have to ask about custom post type url, because is not clear for me what to do so let me short eplain whats the problem is with it Note: I have seen a lot of solutions (here) to ...
1
vote
0answers
25 views

How do I relate a taxonomy with a custom field type, on another custom field type? [closed]

I need to create a tiered relationship between posts in WordPress - I am using ACF (Advanced Custom Fields). The end result is to create menus (food menus). There can be multiple menus (Breakfast, ...
0
votes
0answers
35 views

Ordering posts having multiple post-meta date fields

Hello WordPress developers. Over the years, I've found answers to many questions I've had with WordPress. I want to thank you for your help. Today, I have a question myself, and seek for expert ...
0
votes
0answers
29 views

Associate multiple users to custom post type

Trying to associate multiple users to a custom post type (product) and then display products on user profiles (Buddypress). Have hit a brick wall trying to decide how best to implement so hoping for ...
0
votes
0answers
23 views

Populate second dropdown using Selectize [migrated]

I was using the Chosen plugin to populate a second dropdown based on the selection of the first. I would like to change over to the Selectize plugin for performance reasons now, but am having trouble ...
1
vote
4answers
110 views

404 error PageNavi custom type taxonomy | wordpress

I have a custom post type called rock with a custom taxonomy called genero. taxonomy-genero-curiosity.php mypage/Rock/curiosity/ When i click subsequent paginated page links (e.g. [2], [3], ...
0
votes
1answer
29 views

saving dropdown menu data on custom post type

I'm following this tutorial on how to make a custom field. I already used it before and it worked, but I only did it for text inputs. Now I'd like to make a drop down menu and I'm unable. The thing ...
0
votes
2answers
33 views

Function to limit number of custom post types on homepage - TwentyTen

here is the deal... I got hold of this piece of code to change the default post type shown on my TwentyTen child theme's homepage. It works like a charm when I add this code to the functions.php ...
0
votes
0answers
22 views

Shortcode display CPT Query only showing 1 post?

Ive seen similar questions on here but I am already using WP_Query and wp_reset_postdata. In short I wrote a shortcode that queries our Custom Post Type to display posts specific to a category. ...
0
votes
0answers
14 views

how post by category related to archive post date - how to?

I'm having a really bad time to make this work .. I have a archive template, which works fine (build by custom-post-type, call archive), the archive section works perfectly, and dsiplay my post in ...
0
votes
0answers
27 views

Change custom_post_type permalink to post_type/year/month/post_title

I've create a archive template based on a new post type using this functions: add_action('init', 'demo_register_post_type'); function demo_register_post_type() { register_post_type('archive', ...
0
votes
1answer
21 views

Excert ( the_excerpt(); ) Not working properly

I am creating custom theme, I have included excerpt in the index file <article class="post"> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ...
0
votes
0answers
26 views

Get post id from url with custom taxonomy

I've been struggling for days trying to understand this issue. I'm redesigning a page on existing wordpress site and would like to show the client the working design without replacing the existing ...