Tagged Questions
0
votes
2answers
48 views
Post Type => Any conundrum
I have a number of regular posts and pages in a regular category called "Featured". I have also installed a plugin called "Event Organizer" that creates its own custom post type called "Event" and has ...
1
vote
1answer
24 views
child of post type (custom)
I registered a custom post type (foo) with register_post_type, setting 'hierarchical' => true,so now when I want to use it I have post_type=foo.
How can I query child of foo? any ideas?
thanks!
0
votes
2answers
45 views
Is it possible to filter the display name for post formats for display in the Formats meta box?
I've got a few special needs in terms of post formatting, but do not want (and cannot) break out of the standard Post Format paradigm per best practices.
I've come up with a mapping of WordPress ...
0
votes
1answer
80 views
How can I make a custom post type that loops pages in a new dashboard page, each single page is a new dashboard page (all within the back-end)?
I've been wanting to make the most out of WordPress, to use it more and more like a CMS as it truly is a wonderful project. Out of all the CMS/Blogging webapps, WordPress wins in my book.
I ...
3
votes
1answer
207 views
WP_Query ignores post_type in category view
I have following query to select posts by my custom post-type. This works fine while being on the frontpage (the snippet is included in the sidebar). As soon it gets executed on a category page the ...
4
votes
2answers
268 views
Use register_post_type() to modify an existing post type
There are lots of situations where a theme or plugin registers a post type and you want to modify it. There is of course add_post_type_support() and remove_post_type_support(), but those don't give ...
1
vote
1answer
495 views
Use get_post_types to query only custom posts types
I need to query only custom posts types - that is all post types in my WP install excluding posts and pages. I have used get_post_types to build a string of all custom post types which I want to ...
4
votes
2answers
80 views
Per Post Type Revision Numbers
In wp-config.php you're able to change how WordPress deals with post revisions. Specifically you're able to turn them off or specify a max number of revisions.
I'd like to be able to set a max number ...
0
votes
1answer
561 views
Multiple post type queries (with specific arguments for each)
So i know how to combine post types into 1 loop and out put the loop. Below is what i have:
<?php
$args = array(
'post_type' => array('post','movie','actor'),
...
0
votes
2answers
905 views
Get list of all registered post types slugs
I'd like to get a list (array) of all the post types I registered.
Precisely I would like to retrieve their slugs.
Could someone help me?
thanks!
2
votes
3answers
3k views
Custom post type pagination 404 fix?
Been trying to get this working all day but haven't had any luck...
I have a custom post type called 'news' and an archive template (archive-news.php), here I'd like to show 2 posts with pagination, ...
1
vote
1answer
187 views
custom post types don't appear in RSS
I created custom post-types in my site but these posts are not shown in the RSS. Only the regular posts appear there.
What could be preventing them from showing up there
0
votes
1answer
736 views
Why does 'exclude_from_search' exclude a custom post type from WP_Query?
In WP 3.1, it appears that setting 'exclude_from_search' = TRUE for a custom post type excludes the post type not just from searches on the front-end, but also from any post query using 'post_type' = ...