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

learn more… | top users | synonyms (1)

-1
votes
1answer
155 views

How to get lowest price from custom fields of posts

Here is my Code. It is get sub category from main category. and from sub category having different posts related about different products. Now issue it this that i want lowest price value from ...
-1
votes
2answers
67 views

Custom Post Types on Custom Categories

Can some one let me know how I can create custom Category and Post type including the items in side the red box (Please take a look at following image link) and add them to WordPress dashboard? There ...
-1
votes
1answer
248 views

Drop Down Filter with CPT as Options for Search Form

I am trying to figure out how to create a drop down to use as a filter with the search form. I would like the options to be the different post types. I've seen on other sites that - <select ...
-1
votes
1answer
382 views

Display a list of posts whose meta field values are equal to the ID of the post being viewed?

SOLUTION PASTEBIN LINKS:: http://pastebin.com/YmXVC1kn - Author Single Post http://pastebin.com/g0xgvxgh - Book Archive Template Please refer to these files here - solved by storing the post ID ...
-1
votes
1answer
82 views

Navigation won’t update to show full path to single post

I have a site with a custom post type “projects” and two taxonomies “clients” and “mediums”. For the navigation I’m using a custom nav walker (that extends Walker_Nav_Menu). This all works very well ...
-1
votes
1answer
423 views

How do I add a new field/meta box to the Custom Post Type Portfolio in the Kaboodle Wootheme?

I've created CPTs using Types in the past, and I've built custom templates, but finding the method for adding a field to an existing Woothemes CPT is frustrating. I'm struggling to find the correct ...
-1
votes
1answer
657 views

Adding post_type to the query via pre_get_posts, with infinite scroll

I'm doing something wrong here. I'm trying to add a custom post type, external-videos, to the main blog query in all instances. It's working in the main blog page for the first load of posts but the ...
-1
votes
1answer
167 views

Wordpress custom taxonomy page

I've got a question that I've seen being asked before, but none of the answers solved my problems. It's something I've run into before, but never managed to solve. I've got a clean Wordpress ...
-1
votes
1answer
82 views

Shortcode in a page to display custom posts which also have a shortcode in them

I have created a shortcode [get_custom_posts] to be inserted in a page (the default page post type from WordPress) to get posts which are from a custom post type. In each post from that custom post ...
-1
votes
1answer
726 views

How to feed custom post type to a facebook page?

I built my portfolio using custom post type. Later I created a Facebook page for my website under my FB account. Please advice how I can push from WP my work to FB. Image project description No ...
-1
votes
1answer
202 views

Limit wordpress posts loop to continue onto another page

Theres a site i did that on the home page, i created kind of like a news box type of thing which is what the client wanted... the posts bit im using to limit the posts on the index page is ...
-1
votes
2answers
2k views

category.php + pagenavi + custom post types + /page/2 = 404 errors

I'm seriously going to go crazy if I dont figure this out. I have tried a million different things from googling,a nd I've been staring at this same problem for days now. Pagination for a custom ...
-1
votes
1answer
177 views

Register_post and add_menu & add_submenu conflict?

I want use register_post to get wordpress template for create my own post. $product_label = array( 'name' => __('Products','neocom'), 'singular_name' => __('Product','neocom'), ...
-1
votes
1answer
698 views

How to display serial numbers in foreach loop while querying posts?

Ok, I have a custom post type to store list of urls. I would like to print those urls with serial numbers. I used foreach loop. foreach($urls as $url){ echo $url; I got n number of urls as ...
-1
votes
1answer
227 views

Adding some HTMl code as posts doesn't work but it does if it is added directly in the file?

I had some code in a template file. When I pasted it from the backend's post panel (HTML tab) as a post, and retrieved it as custom loop, the code didn't output well. Any suggestions? Adding them as ...
-1
votes
2answers
623 views

Custom Post Type 'Event': Chronological list of recurring events from meta_values in array

i have a custom post type 'events'. Each event (post) can have multiple dates. The dates (date, time, location) are stored as array. I need a query that creates a chronological list of all events from ...
-1
votes
3answers
660 views

Slideshow/Gallery plugin based on WP Core Gallery [closed]

Looking for a plugin that I can hardcode into my custom post type template that pulls the images from gallery images added into the standard WP gallery. Thoughts?
-2
votes
2answers
55 views

How to display recent posts added in custom post types

I have tried a code posted here>>Custom Post Type: Get most recent permalink But the thing is-it is showing only one post from the recent and without get_the_title,,, can anyone help me to achieve, ...
-2
votes
1answer
115 views

How to create an upload page (front side)

I would like to have a methodology for creating a functionality. When the user is connected, he will can access to a new page. In this page he will have the possibility to submit some fields like : a ...
-2
votes
1answer
277 views

Front end post or photo or both

I need a help in correcting my code that can front end post or attach image or post&attach image ;) Now I can send a 'post' and 'post with photo' but can't send just a photo, How can I do that? ...
-2
votes
1answer
314 views

What Is My Fault With This WP_QUERY ? [ Pagination Problem ]

I did a photo gallery with custom post type. The pagination works correct but, if I click to a category, then it must show all photos of the category with pagination, but page 2 not found. You can ...
-2
votes
1answer
276 views

Get all active posts that are tied to a custom taxonomy for a custom post type

I need to display all the categories I created for a custom post type then inside of each category I need to loop all the posts that are tied to that category. I tried constructing my WP_Query a ...
-2
votes
2answers
242 views

Is there any way of not using my_init_method in the following code (that creates a custom post type)?

Mike Schindel provided me this code long time ago: <?php /** * Create the Blocks custom post type and the Sections custom taxonomy */ add_action('init', 'my_init_method'); if ...
-2
votes
0answers
14 views

Wordpress E-mail button to send confirmation

I have a CPT with reservations. Users make reservations and they are automatically uploaded into my CPT with the use of Gravity Forms. All works well. One of them fields is e-mailaddress. What I'd ...
-2
votes
1answer
22 views

Custom Field Search

I'm trying to create a custom search form that searches a custom post type that I have created. The form would need to search two custom taxonomies (similar to tags and categories) and the body text ...
-2
votes
1answer
52 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 ...
-2
votes
1answer
159 views

Add a class to a menu item depending on a body class

I need to have a class of current-menu-item added to a li with the id of #menu-item-127 if the body class is post-type-archive-team I can do this with jQuery - $(function(){ if ...
-2
votes
1answer
86 views

Good practical way to do loop within loop to show child custom type using a template code

I'm using Version WP e-Commerce plugin 3.8.12.1 I used a custom post type "event" with multiple value field "event_photos" and the field type is wpsc-product. To show a single "event" use ...
-2
votes
1answer
75 views

Custom post type as page template

I've been building my very first WordPress theme using the Advanced Custom Fields plugin. Here are the steps I've taken so far: Created custom post type via functions.php. Created ...
-2
votes
2answers
40 views

how to create a custom post?

am new to wordpress.I know how to create a custom page using page template.For ex.page-pagename.php or page-id.php/page-06.php. But i Dont know how to create a custom post like above.so please help ...
-2
votes
1answer
588 views

How to display custom type posts in 4-5 column grid layout in wordpress

I just want to display my custom post type named "Phones" (list of phones and tablets) in grid layout with 4 (or 5 columns). i only want post image (featured image) along with title. I have a custom ...
-2
votes
2answers
82 views

How to set up a echo? [closed]

My problem is that i don't know how to set up a echo I think. I need it to just wrap a if statement correctly around the code below Please Help...Thanks SO much <?php global $post; ...
-3
votes
4answers
227 views

How to “Custom Post Type” as a non-programmer?

I need to create a Wordpress Custorm Post Type with the following fields, I am not a developer and would appreciate a cut and paste. The Fields are: Contact Person, Address, Telephone, Cellphone, ...
-3
votes
1answer
48 views

Need some hints for my own WP theme development

After taking some online tutorials I am willing to create my own custom theme for my myself. This is going to be an online Contact Lense store! So far I have learned how to generate and use Custom ...
-3
votes
0answers
15 views

How to make form to get link and its title in custom content type?

A custom content type need to have the list of external link. The custom field is repeatable to input link And since I have entered link only, the output is : So how to get this output
-3
votes
1answer
44 views

Newer/Older posts links display same posts on every page

I am using a plugin called "Types" to generate custom post types for drink/food recipes. I want to show booth drink and food recipes on the same page. The posts are displaying fine, but for some ...
-3
votes
1answer
369 views

Hook H1 Into Custom Front Page

The site i'm refering to is Safety Warehouse. It is currently running on a Genesis theme, with the front-page.php displaying a grid loop of the custom post type. I want to add an H1 (or at least a ...
-3
votes
1answer
44 views

Writing a webscraper plugin for Wordpress

i'm absolutely new to Wordpress, however pretty experienced PHP coder. I would like to add a webscraper plugin. The backend is done, all i need is to create a "Create new post from link" link in the ...
-4
votes
1answer
23 views

Can I have a specific template for products even if they are standard posts and not CPT?

I'm attempting to manipulate a plugin for a client (the plugin author is unresponsive), and I'm wondering if/how to go about doing this. It's an ecommerce plugin, however does not create a custom ...
-5
votes
1answer
457 views

What does this PHP function code mean? [closed]

Can someone please help me to understand each part of this code? Can you comment every line so I can understand and custom the code accordind to my purpose. Here is the link in pastebin: class ...
-5
votes
1answer
77 views

Custom Fields within custom post type

Am newbie. I have a custom post type 'dogs' and i want just 2 custom fields in this type. A pic on the left and text on the right - repeatable fields. Anyone know how to do this? I've no clue of php ...