I'm using the bbpress plugin. It has a custom post type called forums. I used to sort posts by changing its publishing date. But you can't do that with this custom post type.
Any suggestions?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI'm using the bbpress plugin. It has a custom post type called forums. I used to sort posts by changing its publishing date. But you can't do that with this custom post type.
Any suggestions?
i used this code to create custom post template for specific post type
define(SINGLE_PATH, TEMPLATEPATH.'/single');
function product_single_page_template($product) {
global $wp_query, $post;
$type = get_post_type();
if ($type==true)
if(file_exists(SINGLE_PATH . '-type-' . $type . '.php'))
return SINGLE_PATH . '-type-' . $type . '.php';
return $product;
}
add_filter('single_template', 'product_single_page_template');
you can do the same with categories or for non single pages just as well.
hope this helps
a