Support ForumSidebar only on post pages – Support Forum https://support.ishyoboy.com/forums/topic/sidebar-only-on-post-pages/feed/ Sun, 28 Apr 2024 20:15:23 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/sidebar-only-on-post-pages/#post-9708 <![CDATA[Sidebar only on post pages]]> https://support.ishyoboy.com/forums/topic/sidebar-only-on-post-pages/#post-9708 Wed, 26 Aug 2015 18:49:43 +0000 looplay Hi There,

I’d like to keep the homepage as a masonry full wide style but then use a sidebar on post pages and archives but I can’t find an option to manage that.

May I ask you for a solution I can apply to achieve that. A little help on that would be very appreciated. Thanks.

My Best!

]]>
https://support.ishyoboy.com/forums/topic/sidebar-only-on-post-pages/#post-9731 <![CDATA[Reply To: Sidebar only on post pages]]> https://support.ishyoboy.com/forums/topic/sidebar-only-on-post-pages/#post-9731 Thu, 27 Aug 2015 15:45:43 +0000 IshYoBoy Hi looplay,

this solution involves changes in the PHP templates.

– Set the “Theme Options -> Blog Options -> Blog Sidebar” to value “On”. This will be the setting for all dynamic pages.

– We now need to update the “home.php” file for the blog overview page and hardcode the settings to no sidebar. To manage this do not edit it directly but use the starter child theme we provide. Copy the “home.php” file from the parent theme root into the root of the child theme. Now edit it in a text editor and add this code:

Add the code just before the line:

$blog_style = ( isset( $ish_options ) && isset( $ish_options['blog_overview_style'] ) ) ? $ish_options['blog_overview_style'] : 'classic';

This will override the settings and manually turn off the sidebar for home page.

Now just upload and activate the child theme.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/sidebar-only-on-post-pages/#post-9736 <![CDATA[Reply To: Sidebar only on post pages]]> https://support.ishyoboy.com/forums/topic/sidebar-only-on-post-pages/#post-9736 Fri, 28 Aug 2015 15:08:07 +0000 looplay Hi there,

Thanks a lot for such an awesome support, definitely you’re the best author on Themeforest.

My Best!
Ivan

]]>
https://support.ishyoboy.com/forums/topic/sidebar-only-on-post-pages/#post-9749 <![CDATA[Reply To: Sidebar only on post pages]]> https://support.ishyoboy.com/forums/topic/sidebar-only-on-post-pages/#post-9749 Mon, 31 Aug 2015 05:33:55 +0000 IshYoBoy Sure thing ;) Glad it helped.
And thank you very much, we are happy to see that :)

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>