Support » Plugin: Widget Options » Hide on SINGLE posts

  • Resolved lonewolflally

    (@lonewolflally)


    Hi guys is there a way to hide widgets on single posts or display on posts written by specific authors?

    Reason, I would like to have guest authors with their own adsense code showing on posts they have written.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeffrey Carandang

    (@phpbits)

    @lonewolflally Thank you very much for using Widget Options! Regarding your concern, you can follow this guide on how to hide widgets on single post : https://woorkup.com/hide-wordpress-widgets/ . Thanks again!

    Fantastic, thank you.

    What about this notice:
    PLEASE NOTE that the display logic you introduce is EVAL'd directly. Anyone who has access to edit widget appearance will have the right to add any code, including malicious and possibly destructive functions. There is an optional filter "widget_options_logic_override" which you can use to bypass the EVAL with your own code if needed.

    Could you explain when and how exactly this functionality becomes dangerous?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide on SINGLE posts’ is closed to new replies.