Slick Social Share Buttons
[resolved] displaying on specific pages (8 posts)

  1. fcandillo
    Posted 4 years ago #

    love the plugin.
    i have things set how I want to display for posts. however, i don't want to display it on ALL pages. It would be great if there was an option to exclud pages (like the categories) optin. I want to know if you can give me some guidance on displaying this on certain pages or child pages of a parent. ideally, i would like to add a statement to the theme template.


  2. fcandillo
    Posted 4 years ago #

    or how i can exclude it from specific pages...

  3. remix4
    Plugin Author

    Posted 4 years ago #

    This option is not currently available in the plugin. You would need to hide it using CSS or create a custom function to handle it.

  4. fcandillo
    Posted 3 years ago #

    thanks for the reply. i ended up customizing the function where i can call a page and have it not show.

  5. mipham
    Posted 3 years ago #

    Hi fcandillo,

    Could you please share how you've customised the function to show it only on certain pages?


  6. ccolotti
    Posted 3 years ago #

    Yes I would like to hide it from a particular template page actually for WP-Spire so if you can share how you hid it from a specific page template that would be awesome.

  7. fcandillo
    Posted 3 years ago #

    in the inc/dcwp_social.php look for:
    and change to:
    if(is_page() && !is_page( array( 'your-page-01', 'your-page-02'') ) ){

    make sure you keep a backup of this. because, you will need to add again it when you update the plugin.

    hope that helps.

  8. ccolotti
    Posted 3 years ago #

    That does help but it would seem easier for the plugin developers to include a "Hide Social Share Plugin from this Page" option in the editor :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Slick Social Share Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.