How to display products name in a non-alphabetical order, in a custom field (taxonomy)?

[SOLVED] This do the Job: function set_the_terms_in_order ( $terms, $id, $taxonomy ) { $terms = wp_cache_get( $id, “{$taxonomy}_relationships_sorted” ); if ( false === $terms ) { $terms = wp_get_object_terms( $id, $taxonomy, array( ‘orderby’ => ‘term_order’ ) ); wp_cache_add($id, $terms, $taxonomy . ‘_relationships_sorted’); } return $terms; } add_filter( ‘get_the_terms’, ‘set_the_terms_in_order’ , 10, 4 ); function do_the_terms_in_order … Read more

Custom post type RSS feed, multiple post published on same day bug

http://codex.wordpress.org/Function_Reference/the_date When there are multiple posts on a page published under the SAME DAY, the_date() only displays the date for the first post (that is, the first instance of the_date()). To repeat the date for posts published under the same day, you should use the Template Tag the_time() or get_the_date() (since 3.0) with a date-specific … Read more

Multiple templates for single custom post type

Might be side-stepping your question, but can you use get_template_part? <?php get_template_part( ‘plans’, get_post_meta($post->ID, ‘my_custom_field’, true ) ); ?> Then create “plans_plana.php” and “plans_planb.php” (assuming that ‘my_custom_field’ can have values of ‘plana’ and ‘planb’). twentyten and twentyeleven make heavy use of get_template_part if you need some more examples.