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

learn more… | top users | synonyms (1)

0
votes
0answers
8 views

How to assign custom post template to its custom taxonomy terms

I have created a custom post type 'interview' and also created custom taxonomy 'interview_category' for the interview custom post type, that custom taxonomy have terms like students, teachers, ...
0
votes
1answer
13 views

Creating Accordians in Wordpress Theme

I am creating a wordpress theme in which there is a section "HUMOUR". In this section i've created accordians, in which the 1st accordian is in class="active" and rest don't. for e.g <dl> ...
0
votes
1answer
17 views

Meta data (Tags and Categories) for Custom Posts not showing.

I registered a custom post type ("movie") with tags and categories. Now, I'm able to filter and search for the custom post with these tags and categories, so I know they're present and working, but ...
1
vote
1answer
29 views

Add Custom Post Type to Current Query

I'm trying to create a plugin which adds a new custom post type and it should be shown at the same locations as a normal post (front page, archives etc.). Is there any functions for me to retrieve ...
0
votes
1answer
15 views

Different structure/content for posts from a custom post type

I've a CPT: Services and created two posts underneath it. Now, both those posts have some static content which is different in structure and design from each other. How do I place that content in my ...
-1
votes
0answers
9 views

Custom rewrite rule for different domain [on hold]

sir, When user enter below url domain/200904/market43.shtml I want redirect to other domain... domain2/200904/market43.shtml sorry for my English... Please help me..... regards, raj
0
votes
1answer
19 views

How to Add Pages Under Custom Post Type URL Structure?

How can I add pages under the URL structure of a Custom Post Type? For example... If I had a Custom Post Type called "Knowledge Base" ... Located at: domain.com/knowledge-base/ ... and I wanted to ...
1
vote
1answer
43 views

convert custom query to wp_query

My query is as below $querydetails = " SELECT wposts.* FROM $wpdb->posts wposts INNER JOIN $wpdb->postmeta wpostmeta ON wposts.ID = wpostmeta.post_id INNER JOIN ...
0
votes
1answer
36 views

Custom Post type and Custom Field WP_Query

I am developing a site for a client who is a Youth Football (Soccer) Club, with lots of different Teams depending on the abilities and ages of the children. I have added in a Custom Post Type called ...
1
vote
1answer
29 views

List children on child post

I have a custom post type with children posts. If I'm viewing one of the children post how can I list other children posts that uses the same parent?
1
vote
1answer
28 views

Wrong request query on cpt and tax

In my plugin I think that I use pretty much standard and documented way to add my custom post type and two tax (cats and tags), but only thing that I do is set custom capability_type and perms. Here ...
0
votes
1answer
19 views

Excluding top level from taxonomy and post loop

I've got a custom post type / taxonomy. I've created a list that shows all the categories and the posts in them. I have set up a top level category (taxonomy) that has two sub categories. I want my ...
0
votes
1answer
23 views

List all posts in taxonomy term

I have a custom post type called anime and a taxonomy called series. If I view any post and that post belongs term Banana it should list all the posts in term Banana in a dropdown list. Here's the ...
0
votes
0answers
15 views

Auto create child post from custom field?

I have a custom post type that has 3 custom fields. If I create a post with data filled in those 3 custom fields I want it to auto create child posts for each custom field & using the data from ...
2
votes
1answer
58 views

Related posts by author pagination not working on the production site

The code that I'm using has adapted from this example and successfully tested on my localhost but when I pass the site to a live server, the pagination crashes with wordpress permalinks set (/% ...
0
votes
3answers
38 views

How to add custom post types to normal category pages

I want to have a custom post type, named event, listed with normal posts in the category pages. I have managed to add categories easily to the custom post type with this: add_action('init', ...
0
votes
0answers
14 views

Pass custom post meta to dynamic page

We do lead generation using the gravity forms plugin for our site forms. Right now we create the marketing page with the form on it, then we create a child thank you page that the user is redirected ...
5
votes
2answers
124 views

Get The Post Type A Taxonomy Is Attached To

Being given a taxonomy or term, is is possible to pull any / all post types the taxonomy is attached to? For example, knowing the built in taxonomy category or being given a term in the category ...
0
votes
0answers
22 views

How to get list of taxonomy slugs ordered parents>childs?

Is there an existing function in WordPress to generate a list of taxonomy slugs ordered by parents > childs > subchilds in an array? I need to generate a URL structure for my custom post type in ...
0
votes
0answers
17 views

404 error Custom search results page for custom post types with friendly URL

Seen a lot of people with same issue, but no solutions have worked for me, so maybe I'm mislooking something. Page 2 of a custom results page gives me a 404 ( /search works, /search/page/2 doesn't). I ...
0
votes
1answer
27 views

Custom Post Type Pretty Structure

I am customizing a wordpress installation with a custom post type and have a problem with the permalink structure. I added a team_member CPT, and the contents should be visible in a specific URL: ...
0
votes
1answer
9 views

Find custom post type url by author

In my blog (multi authors) I have posts and a custom post type named (listing_type). In the site an author can have only 1 listing and many blog posts, and I need to find the listing url published by ...
1
vote
1answer
20 views

Display custom post on home page based on a metabox selection

I am trying to display an post to my home page based on a selection. What I mean is in the backend I have a custom post that has a metabox labeled Assign to Home with a drop down that has a selection ...
0
votes
1answer
18 views

Templates list in “Page Attributes” metabox is inaccurate

This may be a simple fix but I've spent a few hours trying to resolve it already. Template names that no longer exist are listed on the Page Attributes templates lists in the Wordpress Admin under ...
1
vote
2answers
49 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
23 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
28 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
28 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
25 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
31 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 ...
1
vote
1answer
131 views
+100

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
22 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 ...
1
vote
1answer
116 views
+50

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
29 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. ...
2
votes
1answer
71 views
+50

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
18 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
10 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
12 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
16 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
73 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
46 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
42 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
30 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 ...