function extra_project_sidebar_class() { $details = extra_get_project_details(); if (in_array($details['location'], array('split', 'sidebar'))) { extra_sidebar_class(); } }
<?php /* Template Name: Authors */ get_header(); ?> <div id="main-content" class="authors-page"> <div class="container"> <div id="content-area" class="<?php extra_sidebar_class(); ?> clearfix"> <div class="et_pb_extra_column_main"> <div class="et_pb_extra_row"> <div class="et_pb_extra_column et_pb_extra_column_4_4"> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <article id="post-<?php the_ID(); ?> " <?php post_class('module'); ?> > <div class="post-wrap"> <h1><a href="<?php the_permalink();