Tagged: calendar
-
AuthorPosts
-
May 7, 2014 at 1:30 am #261029
Hi..
I purchased the tri.be pro version of the calendar and i am trying to get it to display properly.
I would like the calendar to display full width(no sidebar) and the events page to display a sidebar with custom widgets.
How do i do that.
Thx………. SOLUTION ……………………
Hope this helps someone else out. Basically follow this tutorial. But make these changes to the following pages.
http://tri.be/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%;
}- This topic was modified 10 years, 7 months ago by khedrubje.
May 7, 2014 at 4:53 am #261082Hi,
Please contact the plugin author for more info about the issue. Making third party plugins compatible with theme is beyond the support scope we can offer. You can also hire a freelance developer to help you debug the plugin.
Regards,
JosueMay 7, 2014 at 11:35 pm #261536Hi..
Could you at least tell me which php page specifically the code for loading the sidebar lies in as tri.be support are unshore which page to edit. They do have a tutorial that i have linked below.
http://tri.be/selectively-removing-sidebars-in-twenty-twelve/To selectively remove the sidebars, you’ll want to make a small change to your theme by editing or, as we commonly recommend, overriding the theme’s page.php template. First, open it up in your favorite code editor and find this line of code, near the top:
<?php get_sidebar(); ?>
You’ll need to put this code in its place:
<?php if ( ! tribe_is_event_query() || ( tribe_is_event_query() && is_singular() ) ) get_sidebar(); ?>
May 8, 2014 at 12:05 am #261541Hi!
Have you tried setting the Page layout to no Sidebar?
http://screencast.com/t/UuxyukZfGBest regards,
JosueMay 8, 2014 at 3:59 am #261577Unfortunately it is not that simple.:)
I tried that first off and it makes no difference.
When i add the recommended code it removes all sidebar info.
<?php//get the sidebar
$avia_config[‘currently_viewing’] = ‘page’;
get_sidebar();?>
EDITED PAGE.PHP
<?php//get the sidebar
$avia_config[‘currently_viewing’] = ‘page’;
<?php if ( ! tribe_is_event_query() || ( tribe_is_event_query() && is_singular() ) ) get_sidebar(); ?>();?>
<?php if ( ! tribe_is_event_query() || ( tribe_is_event_query() && is_singular() ) ) get_sidebar(); ?>May 8, 2014 at 4:45 am #261583You’d need to contact a developer to tweak the theme/plugin for you, we can not help you with this.
We can’t help with installation of WordPress itself, 3rd party plugins that were not part of the theme package or heavy theme customization.
https://kriesi.at/support/register/
Regards,
Josue -
AuthorPosts
- The topic ‘Tri.be calendar display calendar full width (SOLVED)’ is closed to new replies.