• I’ve got a bunch of sidebar sections created by someone else on the website (I started a new job which requires me to handle 3 WordPress sites, however all of them were developed by different agencies). There is a general Sidebar with many widgets inside and another Sidebar named ‘Normal’ with other widgets.

    I have a client that would like to display a video in a new PHP Widget on the website, but I am unable to view this added widget when logged out of the site. Whats also strange is that the widget isn’t seen at all when its created under the general Sidebar but under a custom ‘Sidebar: Normal’. Regardless of the content I put into widget, it doesn’t display for the general public.

    Does wordpress have some kind of settings for public/private widgets? I’m getting really confused.

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter ungraphic

    (@ungraphic)

    So I found that the website had Widget Logic installed but it was deactivated.
    Activating enabled the widget to finally show up on the site for general viewers. BUT now the widget is shown on ALL pages.

    I’ve used this:

    <?php if(currentCatName() == “category-name”){ ?>
    <h1>THE CONTENT TO BE DISPLAYED</h1>
    <?php } ?>

    and this:

    <?php is_category( ‘Category Name’ ){ ?>
    <h1>THE CONTENT TO BE DISPLAYED</h1>
    <?php } ?>

    And neither work. The widget with the video is displayed everywhere on all pages and posts.

    Whats going on???

Viewing 1 replies (of 1 total)
  • The topic ‘Widgets Not Displaying When Signed Out’ is closed to new replies.