Hi, i’ve got problem with my sidebar on DWQA pages:
http://gizchina.cz/dotazy-a-odpovedi/
http://gizchina.cz/polozit-dotaz/
on Home page it looks http://gizchina.cz/
Can someone help me? Thanks
To display the sidebar on the Q&A page, you can log in to Dashboard > Editor, open content-end-wrapper.php file, you can replace the following code:
</div>
<?php if ( 'left' == $sidebar_position || 'right' == $sidebar_position ) : ?>
<aside id="page-sidebar" class="sidebar-wrapper col-sm-5 col-md-4">
<?php get_sidebar(); ?>
</aside>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>
With new code:
</div>
<aside id="page-sidebar" class="sidebar-wrapper col-sm-5 col-md-4">
<?php get_sidebar(); ?>
</aside>
</div>
</div>
<?php get_footer(); ?>
Hope this helps !
Thanks! It works! 🙂
Hi Dominic, my QA pages are working, but question post looks like this:
http://gizchina.cz/dotaz/test-dotaz/
Could you please help me again?
Thanks!
Hi Karel,
This issue may come from a different plugin in your site. Firstly, please deactivate all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one and let us know if you find the problematic plugin(s). Maybe there is a conflict in plugins.
Hi Dominic, disabling plugins not works for me. I changed start wrapper to:
$sidebar_position = get_post_meta( get_queried_object_id(), ‘vw_page_sidebar_position’, true );
$sidebar_position_class = ”;
if ( ‘left’ == $sidebar_position ) {
$sidebar_position_class = ‘sidebar-left’;
} else if( ‘right’ == $sidebar_position ) {
$sidebar_position_class = ‘sidebar-right’;
} else {
$sidebar_position_class = ‘sidebar-hidden’;
}
?>
Im dumb ass. Solved! Thanks for your help and time! 🙂
Please login or Register to submit your answer
replied 11 years ago
Please send me username & password of your site (via private anser). We will help you resolve it.
replied 11 years ago
Hi Dominic, did you found something?