Conflict with Featured Widget Amplified plugin
-
Hi,
I use filter to use the grid on custom tax archive.
/** * Grid Loop on Portfolio archive * * @author Bill Erickson * @link https://github.com/billerickson/Genesis-Grid/wiki/Home * * @param bool $grid, whether to use grid loop * @param object $query, the WP Query * @return bool */ function be_grid_loop_on_portfolio( $grid, $query ) { if( is_tax() ) $grid = true; return $grid; } add_filter( 'genesis_grid_loop_section', 'be_grid_loop_on_portfolio', 10, 2 );
At the same time, I also use the Genesis Featured Widget Amplified plugin.
However, when I use the filter to apply the grid to custom tax archive, it also will affect the featured widget, both on archive AND single page.
Any ways to avoid this?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Conflict with Featured Widget Amplified plugin’ is closed to new replies.