mirror of
https://github.com/10h30/trestle.git
synced 2026-06-05 15:09:35 +09:00
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:
+1
-2
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user