Bug when used with recent posts – workaround
-
Hello,
When you add recent posts widget to frontpage you get two featured pages content, the extra one is just before the recent posts.
A dirty workaround is to add this change to featured-pages-customizer/front/classes/class_front_fpc.php :@@ -109,6 +109,8 @@ class TC_front_fpc { * @since FPC 1.3 */ function tc_fp_block_display() { + if(isset($GLOBALS['a'])) {return;} + $GLOBALS['a'] = 0; $hook = esc_attr( tc__f( '__get_fpc_option' , 'tc_fp_position' ) ); //if the hook is loop start, we don't want to display fp in all queries.
The topic ‘Bug when used with recent posts – workaround’ is closed to new replies.