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

learn more… | top users | synonyms (1)

0
votes
0answers
27 views

How to set up a post word limit for a custom post type

I'm not trying to set the exerpt for a custom post type, but a word limit in the admin of my custom post type. I have just set up a custom post type: add_action( 'init', 'test_post_type' ); ...
0
votes
1answer
18 views

Custom url for custom post types

Is it possible to create a custom url for custom post types? I have a directory website where in user can post or add a listing in many cities, I have a custom post type name ads. And all of the ads ...
0
votes
0answers
8 views

Search for keywords in 3x custom fields and post title within a custom post type

I have create a custom search, where it needs to search within 3 custom fields in one custom post type. I am altering a custom search I paid someone to create, but I'm trying to learn from this an do ...
0
votes
0answers
22 views

Paginating custom query on category template

I'm trying to paginate my custom post types on my category page template but for some reason when I trying to navigate to 2nd,3rd,4th etc pages it will get re-routed to the index page. This is the ...
1
vote
1answer
19 views

Multiple TinyMCE editors in dynamically generated textareas

I have text-areas dynamically populated in the admin section of my custom post type. <div class="media_div"> <span>Media</span> ...
0
votes
0answers
29 views

Prevent repetitive terms in get_the_term_list

I've created a custom taxonomy 'work_category' for a custom post type 'works'. Then I added 5 new work categories and assigned them to every single 'work'. I've used get_the_term_list to print out a ...
0
votes
1answer
63 views

How can I see a list of my Custom Post Types of the last term I was in?

Sorry about the title I do not know how to put the question in the form of a title very well but my question if very descriptive. Iv been meaning to asking this question for a while now and would ...
0
votes
1answer
9 views

creating different edit screens for different roles

I have created a custom post type and custom role, created the proper capabilities and assigned them so the new role and see and edit their own ctp's entries... but I'd like to create a customized ...
0
votes
0answers
21 views

Page with children of different post types

I want to have a Page post_type: page as the Parent of my structure. It should be possible to access post_type: page and post type customfrom the secionts slug: example.com/structure_parent Should ...
0
votes
1answer
8 views

Generate custom RSS from a plugin

Using this tutorial I was able to create basic custom RSS feed. but I'd like to have a custom RSS generated from a plugin, and my Google-Fu failed me on that specific search. Is there any way to ...
0
votes
0answers
35 views

Custom Taxonomy breaking pages permalinks

I'm stuck for some days with this problem and I don't know what else to do. With %somethingHere% on slug rewrite, pages permalinks are broken (CPT AND CT OK). Without, I don't have my desired Post ...
0
votes
1answer
28 views

Front end access to a SQL data repository - recommended way?

Building a general data repository, not necessarily related to WordPress elements. What is the recommended way of doing it: Using custom post types? or Building new SQL tables? Please elaborate. ...
0
votes
0answers
15 views

feed links for custom post type pages

I have a WP based site with a lot of pages based on custom post type. But I see a lot of 404-links in the Google Webmasters finished with /feed. It looks like default WP function, when WP adds /feed ...
2
votes
1answer
14 views

WP_Query search custom posts meta date fields

I have a custom post type which stores dates in a meta field as 2014-02-22 22:38:00 I can use WP_Query to find posts created in a certain month / year $args = array( 'post_type' => ...
0
votes
2answers
12 views

Trouble showing showing Posts related to custom post type and taxonomy.

Having issues showing posts based on custom post type's custom taxonomy. I can get ALL the posts to show up in the custom post type but not JUST the taxonomy. here is how I registered Post Types ...
0
votes
1answer
9 views

Both parent and child articles in archive page

I used custom post types UI to create a custom post type (kennisbank) Now within this custom post type I have both parent articles and child articles, as I made this custom post type hierarchical. I ...
0
votes
0answers
11 views

Custom Post Type URL Problem

I've been using custom post type in my website, I have get this type of url by default http://shivsingh.com.np/pubcafe/?event=american-football I need to change it to ...
0
votes
1answer
12 views

Creating post custom field text area

I want to make, I guess a custom field for my theme. I'm not sure is it the right way to do this with custom fields. I searched a lot, but could not find what I need. So I'm hoping that some one ...
-1
votes
2answers
72 views

Repeating posts when paginating random posts

I have 1 Custom Post Type of products as well as two taxonomies of types and countries. I'm displaying my custom post type of products on my taxonomy.php page with paged pagination. I am also using ...
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
14 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
38 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
27 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
31 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
26 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
17 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
11 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
10 views

Custom Admin Columns With ACF? [closed]

Does anyone know how to pull in the information from Advanced Custom Fields into some custom columns in a custom post type row? I have the following that displays the column but doesn’t display the ...
0
votes
0answers
14 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
19 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
22 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
13 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
35 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
2answers
46 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
10 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
63 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
31 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
12 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
13 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
12 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
17 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
9 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
19 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
36 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
24 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
23 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 ...