Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content/Sidebar Pages using main Sidebar #31

Open
BrianKopp opened this issue Oct 7, 2014 · 0 comments
Open

Content/Sidebar Pages using main Sidebar #31

BrianKopp opened this issue Oct 7, 2014 · 0 comments
Assignees

Comments

@BrianKopp
Copy link

Posts using Default and Content/Sidebar layouts both utilize the Main Sidebar widget-set, even though Right Sidebar widgets are specified. Looks like themes\responsive\sidebar.php needs to be set to below at line 26 of version 1.9.7.4:

$layout = responsive_get_layout();
switch ( $layout ) {
/* Added to fix this issue */
    case 'content-sidebar-page':
        get_sidebar( 'right' );
        return;
        break;
/* End of fix */
    case 'sidebar-content-page':
        get_sidebar( 'left' );
        return;
        break;

    case 'content-sidebar-half-page':
        get_sidebar( 'right-half' );
        return;
        break;

    case 'sidebar-content-half-page':
        get_sidebar( 'left-half' );
        return;
        break;

    case 'full-width-page':
        return;
        break;
}
@grappler grappler self-assigned this Oct 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants