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

learn more… | top users | synonyms (1)

0
votes
0answers
94 views

How to scroll through post thumbnails?

I have two custom post types that each have a post thumbnail. On my homepage, I have a section that I want to display the post thumbnail of each of the custom post types (http://i.imgur.com/pmZozrF....
0
votes
1answer
320 views

Filter posts by specific custom category and current tag

I have set up a custom post type (buyers_club) with a custom category (buyers-club) and custom tags (country). I'd like to show a list of related posts by specific category, FEATURED, and by the ...
0
votes
2answers
156 views

Custom Post Loop pulling all custom posts, not just one

I'm having an issue with a loop pulling every custom post in my template and not the one that has been requested. This can be seen here: http://i.imgur.com/1YKeLtV.png Here is the code I'm using to ...
0
votes
2answers
104 views

Configure which plugin custom post types get registered

I am writing a plugin that creates custom post types, but i want users to be able to turn them on and off via a filter in the functions.php file. The issue i'm having is that custom post types ...
0
votes
0answers
51 views

Wordpress can only query up to 766

Basically, I am little unaware of my WP can only run a query up to 766 custom post of one type (the actual posts). I have 26,000 posts that are within one custom post type, but cannot query them all ...
0
votes
1answer
210 views

how to remove user name and date in post page

Every post page shows user name and date in top of page. Pinboard theme is used. Wordpress is used like CMS and this info in not nessecary. Pages cannto used since pages does not allow to add tags and ...
1
vote
0answers
3k views

How to make permalink structure %category%/%postname%/ work for custom post type?

I'm trying to achieve the following permalink structure for a custom post type called "concept" with taxonomy "category" http://domain/categoryname/conceptname Note: The main problem here is I don'...
0
votes
1answer
181 views

I can't connect my custom jquery to wp admin

I am trying to figure out how to link a custom jquery to my custom meta box created in wordpress custom post type but I can't find it working. What I want to do is add a line of text when the button ...
0
votes
1answer
484 views

check if post title in a custom post type exists in page

I just created a post type called 'Movies', I just added a couple of movie posts using the name of the movie as title of the post. Like Karate Kid as a title of one post. Now i wanted to check ...
0
votes
0answers
68 views

CPT Archive with parent page

Is it possible to set a parent page to a CPT Archive? I used a plugin to add archives to the nav_menu section. That works. But I also want the link to be /parent/archive. Is there a plugin or ...
1
vote
1answer
61 views

How can I add another option to this custom post function?

I'm currently developing a games database for my wordpress site and one of the custom functions is entering a review score for a game, we have a 1-10 based rating system but I wish to add another ...
0
votes
1answer
33 views

How to prevent meta data from being edited in a post?

I need to add a 'poll' to every single post automatically, and wish to do this without having to manually create a poll each time using a plugin, so I had an idea to store the poll results as meta ...
0
votes
1answer
439 views

pre_get_posts works in post type archive but not in single post

I have a custom post type "Scholars" that has an archive. I want to sort by a custom meta field called "year", I'm doing this with pre_get_posts: add_action('pre_get_posts', 'my_queries'); function ...
0
votes
1answer
42 views

Custom Post Type Dynamically Updates other Custom Post Type

I have two custom post types, one is products, the other is vendors. The vendors CPT has things like name, address, and which products are sold there. The products CPT has the product name, ...
0
votes
0answers
79 views

'Blog Archive' suddenly appeared on custom post type; how to remove

I have all of a sudden started seeing Blog Archives Post navigation (as below) rather than every post in that custom post type. I changed something in the Wordpress SEO plugin which has since been ...
1
vote
1answer
2k views

remove support for 'Categories' for a custom post type

How would I go about removing support for Wordpress 'Categories' for a custom post type? I've created a custom taxonomy for the post type, so there is no need for the standard categories. Oddly, I ...
0
votes
0answers
142 views

Static page teaser with Genesis framework

I am building a site where the front page is static and a separate blog page. I would like to place 2 or 3 teasers from the blog page on the home static page. They would need to be dynamic so as to ...
2
votes
2answers
5k views

Custom Taxonomy as checkbox or dropdown

I have registered a custom tax to my CPT. On the edit screen the tax meta box appears with an autocomplete field. Is it possible to display it as checkboxes or dropdown instead?
1
vote
1answer
898 views

How do i calculate the total of values of custom fields in custom post types?

So the title is a bit unclear, but here is what i have: Custom post type: Projects Custom post type: Investments        + Custom field: Amount And i have one page ...
0
votes
1answer
274 views

Getting WordPress to store 0 values for custom post type meta

I've created a very complex custom post type system for a football website and am using custom meta boxes to store various match stats. To decide whether or not I should display a stat I check ...
0
votes
1answer
5k views

How to filter posts by categories?

I have a custom post type and now I need to filter the projects according to their categories and without being directed to another page. Also I need to have all category which would show all the ...
1
vote
3answers
2k views

Can't publish custom post type - “You are not allowed to edit this post.”

Hey guys I've created this post type but when I click the publish button I receive the message: You are not allowed to edit this post. Have I done something wrong in my code to disallow anyone ...
1
vote
1answer
123 views

Get posts between custom dates

I created an event CPT and a meta box with a date. I saved the date as post_meta in the form dd.mm.yyyy. Now I want to create a shortcode that queries all posts which's dates meet the condition (e.g.)...
0
votes
1answer
383 views

How to output the content of a Custom Post Type from a drop down form?

I have a Custom Post Type called office and I output a list of names of these Offices using a dropdown menu from a thread here on WPSE: Dropdown list of a custom post type. What I would like to do ...
0
votes
2answers
192 views

Template files for Custom Post Type and Taxonomy

I've got a custom post type called "properties" and two custom taxonomies called "type" (office space, retail space, etc.) and "location" (new york, chicago, etc.). I have created "archive-properties....
0
votes
1answer
1k views

WordPress custom post type category pagination 404 Error

This problem is giving me a headache and I was wondering if anyone knew how to fix it. I have a custom post type called Review. Here is how it is defined: function codex_custom_init() { $args =...
0
votes
1answer
250 views

Add custom taxonomies as class names to an archive page of custom post types

I thought this would be easy enough, although it's proving quite difficult. My end goal is to integrate jQuery isotope into my wordpress portfolio. I've gotten the isotope to work outside of wordpress,...
0
votes
2answers
5k views

Custom post types: change “read more” text

I'm developing a website that has a blog section as well as a "free monthly download" section set up as a custom post type. On the home page I'm displaying excerpts with "read more" links for both ...
1
vote
2answers
937 views

Prevent page slug from interfering with custom post type archive permalink?

In my plugin, I'm creating a custom post type that has an archive and uses the rewrite parameter to choose a slug: $args = array ( 'public' => true, 'has_archive' => true, 'rewrite' ...
0
votes
0answers
267 views

How to order custom posts type by number of facebook likes

I have a custom post type called "quotes" and I want to order these posts by facebook likes in the category page. How can I do this? Thanks.
0
votes
0answers
195 views

I want to create a drag and drop image collection in wordpress custom post

In my wordpress add new property (custom post type) page I want a small area where i can add multiple images with standard uploader and then drag and drop to reorder them and then show them on front ...
0
votes
2answers
64 views

Wordpress URL Problems and Layout

Why is that the layout of 2 homepage is different. When i put http://localhost/mysite/home/ the layout looks ok and the blog list is there.. there's no problem here.. but when i click home it ...
0
votes
1answer
92 views

Display only a single CPT

I have used the CptUI plugin to create a 'Products' CPT. The admin side of things seems to work fine but I can't quite get the front end to display how I'd like. For example I create a product, say "...
0
votes
0answers
59 views

Reading csv from specific directory and insert it to custom post type (cron job)

Need a comprehensive cron job script to read .csv data uploaded regularly to specific folder. Will insert data to custom post type only if csv exist base on cron job current date. Any suggestion of ...
0
votes
1answer
6k views

how to create my own edit.php admin page code or template for my custom post type

Most plugins try to hide the components of the edit.php screen on wp admin and replace it with meta boxes to create the needed layout and fields for the custom post type. But this means that there is ...
1
vote
0answers
85 views

Limit Search to Post Type With Apostrophe return search not found

I limit the search to post type in wp default search engine by adding a hidden field. <input type="hidden" name="post_type" value="books" /> But I got a problem when the search string that ...
0
votes
1answer
556 views

Custom post class, generate unique id from 1 to x depending on amount of posts?

I am building a custom post type, where I have a little trouble generating the ID:s the way I want to. The idea of the post class is to generate a table with ID and post title. I wonder if it is ...
1
vote
0answers
245 views

Get url.com/post_type/taxonomy/term work!

I'm having trouble get what I want by mixing custom post types and taxonomy. I want to run this: www.url.com/post_type/taxonomy/term In my case this: www.url.com/dossier/theme/sante (sante is a term ...
0
votes
1answer
45 views

Custom Post Types - Taxonomy and Customization

I'm trying to learn Custom Post Types and I have some questions. I'm trying to add a categories menu but that doesn't seem to be working for some reason - I don't get an error or anything. Here's my ...
0
votes
1answer
70 views

Problems with a custom meta_box

I got some information on here which I am using for an Events site I am developing. How to add option box in "Edit Post" plugin API? However, I have changed the checkboxes for text inputs ...
0
votes
1answer
254 views

Submiting custom form give error 404

I have custom search form on category category.php list template with following code: <?php $searchresults = site_url('/?p=1365'); ?> <form class="search-slide" id="search-slide" name="...
1
vote
1answer
6k views

Edit/Customize the Single Page of a Genesis Sample Child Theme

I got my 'Page' and 'Blog List' Page working.. But when i click on one of my Post... the Layout is different .. I want to edit it. Where can i find that? I tried to edit it.. <?php /* WARNING: ...
1
vote
1answer
341 views

Archive template for custom post type only lists first 10

Here is my template for archive-people.com: It currently only shows the first 10 people. I'd like it to show everyone, not just the first 10 people. <?php get_header(); ?> <div id="content" ...
0
votes
0answers
1k views

Adding rewrite rules to Custom Post-type mixed with Taxonomy

I turn to you because I can not find any solution to my problem. I created 3 custom post types "Actualités", "Dossiers", "Vidéos" (I'm french :D) I created 1 taxonomy: "Thématiques" with the ...
4
votes
2answers
6k views

remove custom post type permalink

I've registered post type with following -- $holidayLabels = array( 'name' => __( 'Holidays'), 'singular_name' => __( 'Holidays'), 'all_items' => __( 'All Holidays'), '...
2
votes
1answer
4k views

Custom Blog Post Listing in Genesis Sample Child Theme

I want to add several images and divs and also customize the look of my Blog post listing... But i can't find the way to do it. Here's the Blog Template code <?php /* WARNING: This file is ...
2
votes
3answers
2k views

Get post type in header.php

I'm creating menu in wordpress and I would like add class="active" to link when its page is active. I'm not using inbuilt wordpress menu feature. I'm making menu hardcoded in header.php because ...
3
votes
1answer
6k views

Permalinks: custom post type -> custom taxonomy -> post

I am having trouble working with wordpress' rewrite rules, and could use some help. I have a custom post type called shows. All shows have a single custom taxonomy category show-category. A show ...
0
votes
0answers
166 views

Why are my wp urls showing page not found?

I recently changed a page slug url in the edit area and saved it from flood-maps to floodmaps. There was an issue here so I then deleted the page in trash too and started a new one with the same name ...
0
votes
1answer
46 views

Update custom field value

I want to update a custom field value whenever an Editor visits a post. I want to get it done to track hits on a post by editors on my site. Not finding a proper solution or I am confused with ...