Sidebar Only Showing When Logged In?
-
Hello!
I am new to the WordPress world and have been trying to implement custom sidebars for all my staff pages. I thought I had it figured out, but I realized today that in all browsers, the sidebars are only showing up if I’m logged into my WordPress account and can edit my pages.
I made a new sidebar PHP file named “sidebar-professionals.php”, and then in my single-professionals.php page, I directed the sidebar to that file with the code:
<?php get_sidebar(‘professionals’); ?>It was seemingly working fine, until I realized people not logged in don’t see any sidebar at all!
Do I need do fix my code? I’ve seen posts talking about “registering” sidebars, but I am extremely confused by this. I would appreciate any help. Thanks in advance.
The page I need help with: [log in to see the link]
- The topic ‘Sidebar Only Showing When Logged In?’ is closed to new replies.