• Resolved alextaylorsmith

    (@alextaylorsmith)


    Is there an option in the plugin settings or hardcoded in the functions.php file to only run the social sharing plugin on specific page templates? I want it applied to pages, but not ALL the pages in our 300+ page website. I just want to use it on landing pages and announcement pages, which have templates associated with them.

Viewing 1 replies (of 1 total)
  • Plugin Author Social Snap

    (@socialsnap)

    Hello,

    At the moment, the only possibility is to hide the buttons via CSS.
    You can use this code in Appearance » Customize » Additional CSS:

    .page .ss-social-icons-container { 
        display: none;
    }
    
    .page-template-XXX .ss-social-icons-container {
        display: initial;
    }

    Change the .page-template-XXX class with the correct body class for the page template you’re using.

    Next plugin update will introduce a possibility to remove the buttons from the page source instead of hiding them.

    Let me know if this helped.

    Regards,
    Social Snap Team

Viewing 1 replies (of 1 total)
  • The topic ‘Only run plugin icons on specific page templates’ is closed to new replies.