New Landing How can we help? Themeforest Theme Support Dante Set site wide posts sidebar

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #71803
    nmgarnett
    Member
    Post count: 8

    Hi
    Is there a way to set a sidebar for all posts site wide? I can do it on a post by post basis but I’m using WP RSS Aggregator to bring in some extra content and can’t see a way to do it. Don’t want to set a sidebar on my masonry page just on individual posts.
    Thanks
    Nick Garnett
    Running latest versions of Dante/Wordpress/WP RSS Aggregator
    http://armantini-actives.com/cosmetics-news-from-armantini/

    #71814
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    1. Open up single.php
    2. Find line 65:

    	if ($sidebar_config == "") {
    		$sidebar_config = $default_sidebar_config;

    and change to:

    	if ($sidebar_config == "") {
    		$sidebar_config = "left-sidebar";

    or

    	if ($sidebar_config == "") {
    		$sidebar_config = "right-sidebar";

    Let me know if this works

    – Kyle

    #71825
    nmgarnett
    Member
    Post count: 8

    Cheers Kyle

    #71827
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    #71833
    nmgarnett
    Member
    Post count: 8

    That works great, is there a way to allocate a sidebar to all posts?
    Thanks
    Nick

    #71845
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Set your default sidebar in theme options > default meta options 🙂

    – Kyle

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register