Use Widget Position Multiple Times
-
I have a requirement that seems like it would be VERY easy to do, but I cannot seem to make it happen. I need a DIFFERENT custom header across each page.
I have registered a new custom widget in the functions.php file. I then call the function, if the widget is active, in the header.php file.
Great – it works. The widget is registered, appears in the backend of WordPress, and if I place something like a text widget inside it, it displays on the front end. I have installed the “Display Widgets” plugin and this allows me to select which page the widget shows up on – Great – it works too.
But now I need another banner on another page – but there is no additional instance of this widget available to me in the admin. How do I accomplish what I need without a huge IF/ELSE statement hardcoded?
The topic ‘Use Widget Position Multiple Times’ is closed to new replies.