Skip to content

Content/Sidebar Pages using main Sidebar #31

@BrianKopp

Description

@BrianKopp

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;
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions