Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hey guys.

    I’m trying to achieve this same thing. And I think I’m missing a step.

    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)