• I am trying to do this same thing — use a different sidebar for certain pages, but am having an issue.

    https://www.ads-software.com/support/topic/281381?replies=10

    I created an alternative page and named it page-static.php

    I created an alternative sidebar called sidebar2.php

    Made two edits to page-static.php
    Added template name
    Renamed get_sidebar to get_sidebar2

    When I select this template, I don’t have a side bar and get this error where the sidebar should be:

    Fatal error: Call to undefined function get_sidebar2() in /home/snapprom/snap/html/wp-content/themes/abink-minimal/page-static.php on line 25

    So I assume I have to define a function? Where and how?

    I really appreciate this. I’m not a programmer. Know just enough to poke around and edit some things.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Alternate Sidebar Issue’ is closed to new replies.