IMPORTANT: Fix bug with tresle_post_info_meta() function causing posts to spontaneously change post_type when running looping through a query. Please update to this patch if you have a previous version.

This commit is contained in:
MickeyKay
2014-06-26 13:47:11 -07:00
parent 25eef48115
commit e3db022b76
4 changed files with 14 additions and 27 deletions
+1 -2
View File
@@ -100,8 +100,7 @@ function trestle_theme_setup() {
add_filter( 'wp_revisions_to_keep', 'trestle_update_revisions_number', 10, 2 );
// Manually control where Post Info & Meta display
/* @TODO: temporarily commented this line out because it's causing posts to randomly switch post type! */
//add_action( 'the_post', 'trestle_post_info_meta', 0 );
add_action( 'the_post', 'trestle_post_info_meta', 5 );
// Remove default featured image fallback of 'first-attached'
add_filter( 'genesis_get_image_default_args', 'trestle_featured_image_fallback' );