Hide SSS on specific pages.

Tags:

Author
Topic
#2060

Hello, and thanks for this useful plugin 😉

Sorry to ask because you mention that point in the doc, but I don’t understand how to hide the tab on certain pages only.

Could you be more detailed on that point

Thanks in advance

Xtof

Viewing 3 replies - 1 through 3 (of 3 total)
Author
Replies
  • #2067

    Hi,

    Developers guide PDF (first part of this document: Sidebar Activation Filter) has example on how to add hook to change the visibility of the sidebar based on conditional functions (for page, post, category). Plugin has rules editor for each sidebar, but for fine tuning of visibility, filter hook is best solution since it can be anything.

    Regards,
    Milan

  • #2083

    Thanks for your answer.
    I had read Developers guide PDF and saw the Sidebar Activation Filter part but I’m not a developer, I dont know PHP and I dont’t in which file I must add the piece of programming.

    That is why I asked for support…

    Maybe if you could add some details on how to insert the filters I could be able to try and modify myself, but right now the doc doesn’t help me…

    Regards

  • #2084

    Hi,

    Using filters and actions is basic WordPress and PHP, and any code changes require this basic knowledge. You also need to know what pages (types of pages – archives, single…) you need to hide it from and how they are described by WordPress in code. I have added example in documentation, but you need to modify it to include conditions that are related to your case. This code usually goes into theme functions.php, but that depends on your website, I can’t give you advice on that, it is not universal.

    But, before all that. When you created sidebar, you can set the rules for displaying it and there you can adjust which page types sidebar will be active on, and that is the first stop. If this can describe your case of displaying on some pages only, use that and don’t bother with custom coding. Read the user guide and watch the demo video first.

    Milan

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