Support » Plugin: GP Social Share » Deactivate GP Social Share in a post

  • jorgeeg

    (@jorgeeg)


    Hi there,

    Is there any code/way to avoid showing social icons just in one post?

    Cheers!

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • David

    (@diggeddy)

    I would personally disable the Hook and use the GP Hook Element to add the social share shortcode – then you can set the display rules to exclude it from that post.

    Plugin Author westcoastdigital

    (@westcoastdigital)

    Sorry, I hadn’t subscribed to forum posts and only just found out there were support requests, so my apologies.

    As David said, you can use the built in GeneratePress Elements and the shortcode to disable/enable wherever you need it, alternatively you can hide on a single post using CSS

    // replace postid-1 with the post id number for the post you want to hide it
    body.postid-1 #gp-social-share {
    display: none;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deactivate GP Social Share in a post’ is closed to new replies.