• Resolved sadhaka

    (@sadhaka)


    Nothing I do can get this to show a widget in a new sidebar with a twentyseventeen installation!

    I tried and tried to show a widget in a sidebar for just one page.

    I created a sidebar (called it “Page Sidebars”), meeting the condition of just the “Sample Page” that I’m trying it on; set the “Action” to “Replace” the Blog sidebar (as “Target Sidebar”), made sure it was switched on (green) and saved it.

    On the “Sample Page” page in question I see it under the “Sidebars Quick Select” panel, and my sidebar “Page Sidebars” appears in the “Blog Sidebar” field. Updated that page. But no! Nothing appears on that page!!!

    I have the “Classic Widgets” plugin installed, if that makes any difference.

    Appearance > Customize > Theme Options is set to “One Column”, but selecting two makes no difference.

    It’s like nothing works!

    OH yes, btw – on the “all sidebars” view, my created sidebar shows as the sole member of the list (“Status” is on – green), but under “Widgets” it shows “0” (zero)!

    • This topic was modified 3 years, 2 months ago by sadhaka.
    • This topic was modified 3 years, 2 months ago by sadhaka. Reason: clarification
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sadhaka

    (@sadhaka)

    Update: I managed, in the “all sidebars” view, to show my created sidebar as having a widget by going to the widgets area and dragging on into Page Sidebars.

    I thought that was what I was missing, but no – no sidebar or widget appears in the “Sample Page”.

    Thread Starter sadhaka

    (@sadhaka)

    If it’s any help, your other plugin, “Page Sidebar for Twenty Seventeen” (version 1.1) does work, but it creates sidebars (and thus widgets) for everything, and of course I was looking to selectively create them for just some pages and not others (as this plugin is supposed to allow).

    But the fact that the other one does work shows it’s not my CSS or customisations – perhaps the latest WP update has caused problems. Maybe I’ll try hacking the “Page Sidebar for Twenty Seventeen” plugin.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Hi,

    If you are using the TwentySeventeen theme, you need both CAS + Page Sidebar for Twenty Seventeen installed.

    If you only want the sidebar to be displayed on specific page(s), while all other still have no sidebar, you need to create 2 sidebars:
    1. Call this one “Hidden Sidebar” and add “All Pages” as the only condition. Set it to replace the default sidebar. When you leave this sidebar empty, it will automatically be hidden on pages (as if you never installed Page Sidebar for Twenty Seventeen)

    2. This one should be the sidebar you want to display on select page(s). Add those pages as conditions for this one. Set it to replace the default sidebar as well.

    This tutorial explains this setup in more detail and may help too: https://dev.institute/blog/twenty-seventeen-page-sidebars/

    Thread Starter sadhaka

    (@sadhaka)

    I created a “hidden sidebar” as you said but I see it on all pages, and also on the posts page.

    I don’t know what you mean by “When you leave this sidebar empty”

    • This reply was modified 3 years ago by sadhaka.
    • This reply was modified 3 years ago by sadhaka.
    • This reply was modified 3 years ago by sadhaka.
    Thread Starter sadhaka

    (@sadhaka)

    OK, update – I didn’t realise that, on the second (visible) sidebar, you had to specify several conditions – in my case, pages, posts, and front page (as a start).

    I notice it appears higher or lower in some pages than others.

    Thread Starter sadhaka

    (@sadhaka)

    Unfortunately the widgets placed in the sidebar (replacing the blog sidebar) are not responsive, as they displace the width on portrait mobile, so I have to restrict them to desktops only.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Just cannot get this to work AT ALL !’ is closed to new replies.