Forum Replies Created
-
AuthorPosts
-
May 9, 2014 at 3:52 pm in reply to: Make an Calendar page full width using ENFOLD theme. (SOLVED) #155637khedrubjeParticipant
………. SOLUTION ……………………
Hope this helps someone else out. Basically follow this tutorial. But make these changes to the following pages.https://theeventscalendar.com/selectively-removing-sidebars-in-twenty-twelve/
…….. FUNCTION.PHP page …….
add_filter(‘body_class’, ‘tribe_make_events_fullwidth’);
function tribe_make_events_fullwidth($classes) {
if ( in_array(‘full-width’, $classes) ) return $classes;
if ( tribe_is_event_query() && ! is_singular() ) $classes[] = ‘fullsize’;
return $classes;
}……PAGE.PHP……………..
<?php
//get the sidebar
$avia_config[‘currently_viewing’] = ‘page’;
if ( ! tribe_is_event_query() || ( tribe_is_event_query() && is_singular()))
get_sidebar();
?>
</div><!–end container–>…….GRID.CSS – wp-content/themes/enfold/css/grid.css …….
.responsive_large .fullsize .container .nine.units {
width: 100%;
}May 7, 2014 at 3:15 pm in reply to: Make an Calendar page full width using ENFOLD theme. (SOLVED) #153216khedrubjeParticipantI edited my page.php file but it removes all the sidebar info on all the pages. Are these anchors still correct for this version of events calendar.
if ( ! tribe_is_event_query() || ( tribe_is_event_query() && is_singular() ) ) get_sidebar(); ?>May 7, 2014 at 2:52 pm in reply to: Make an Calendar page full width using ENFOLD theme. (SOLVED) #153193khedrubjeParticipantI think the php file i am after is sidebar.php
Could please help identifying the line that requires editing.
Thx
https://dl.dropboxusercontent.com/u/5056314/sidebar.php -
AuthorPosts