Skip to content

Commit

Permalink
use correct page layout function in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
billerickson committed Apr 28, 2016
1 parent 336b1b9 commit 753a875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if ( ! is_active_sidebar( 'primary-sidebar' ) )
return;

$layout = apply_filters( 'ea_page_layout', false );
$layout = ea_page_layout();
if( ! in_array( $layout, array( 'content-sidebar', 'sidebar-content' ) ) )
return;
?>
Expand Down

0 comments on commit 753a875

Please sign in to comment.