Remove "Below Menu" & "Before Content" Widgets on Pages & Posts

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3414
    Mike Argyle
    Guest

    These widgest work perfectly on the main page, but for my application they are unnecessary on pages and posts. How do I restrict them from appearing on those pages?

    #3415
    Ron
    Keymaster

    Install Widget Logic. You can then add a condition like this

    is_home() || is_front_page()
    

    This should prevent the widgets from appearing on single posts and pages.
    https://ronangelo.com/how-to-use-widget-logic-for-wordpress/

    #3416
    Mike Argyle
    Inactive

    Thank you so much for the prompt and helpful response. Most appreciated. Have a great day and stay smilin!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Frontier’ is closed to new topics and replies.