How to remove social & like buttons from a section only?

  • Unknown's avatar

    Social & like buttons appear in the resources section (‘ASSINE GRÁTIS’) of this website: octanage.com

    How do I remove them ONLY from that section (i.e., not affecting the posts – section above “Entrevistas” – or affecting the social buttons on the footer and the sidebar?

    thanks

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there,

    octanage.com is a site that is using the WordPress.org software, which is hosted outside WordPress.com

    This forum only supports the sites hosted on WordPress.com. Please post your question on the WordPress.org support forum: https://wordpress.org/support/

    Both(WordPress.com and WordPress.org) are different products. You can find out the differences between them here: https://en.support.wordpress.com/com-vs-org/

    Having said that, the below should do the needful

    You need to remove
    <div class="sharedaddy sd-sharing-enabled"><div class="robots-nocontent sd-block sd-social sd-social-icon sd-sharing"><h3 class="sd-title">Compartilhe este episódio:</h3><div class="sd-content"><ul><li class="share-facebook"><a rel="nofollow ugc" data-shared="sharing-facebook-1251" class="share-facebook sd-button share-icon no-text" href="https://octanage.com/?share=facebook&nb=1" target="_blank" title="Clique para compartilhar no Facebook"><span><span class="share-count">134</span></span><span class="sharing-screen-reader-text">Clique para compartilhar no Facebook(abre em nova janela)<span class="share-count">134</span></span></a></li><li class="share-jetpack-whatsapp"><a rel="nofollow ugc" data-shared="" class="share-jetpack-whatsapp sd-button share-icon no-text" href="whatsapp://send?text=Octanage%20Podcast https%3A%2F%2Foctanage.com%2F" target="_blank" title="Clique para compartilhar no WhatsApp"><span></span><span class="sharing-screen-reader-text">Clique para compartilhar no WhatsApp(abre em nova janela)</span></a></li><li class="share-linkedin"><a rel="nofollow ugc" data-shared="sharing-linkedin-1251" class="share-linkedin sd-button share-icon no-text" href="https://octanage.com/?share=linkedin&nb=1" target="_blank" title="Clique para compartilhar no LinkedIn"><span></span><span class="sharing-screen-reader-text">Clique para compartilhar no LinkedIn(abre em nova janela)</span></a></li><li class="share-twitter"><a rel="nofollow ugc" data-shared="sharing-twitter-1251" class="share-twitter sd-button share-icon no-text" href="https://octanage.com/?share=twitter&nb=1" target="_blank" title="Clique para compartilhar no Twitter"><span></span><span class="sharing-screen-reader-text">Clique para compartilhar no Twitter(abre em nova janela)</span></a></li><li class="share-pinterest"><a rel="nofollow ugc" data-shared="sharing-pinterest-1251" class="share-pinterest sd-button share-icon no-text" href="https://octanage.com/?share=pinterest&nb=1" target="_blank" title="Clique para compartilhar no Pinterest"><span></span><span class="sharing-screen-reader-text">Clique para compartilhar no Pinterest(abre em nova janela)</span></a></li><li class="share-google-plus-1"><a rel="nofollow ugc" data-shared="sharing-google-1251" class="share-google-plus-1 sd-button share-icon no-text" href="https://octanage.com/?share=google-plus-1&nb=1" target="_blank" title="Compartilhe no Google+"><span></span><span class="sharing-screen-reader-text">Compartilhe no Google+(abre em nova janela)</span></a></li><li class="share-tumblr"><a rel="nofollow ugc" data-shared="" class="share-tumblr sd-button share-icon no-text" href="https://octanage.com/?share=tumblr&nb=1" target="_blank" title="Clique para compartilhar no Tumblr"><span></span><span class="sharing-screen-reader-text">Clique para compartilhar no Tumblr(abre em nova janela)</span></a></li><li class="share-pocket"><a rel="nofollow ugc" data-shared="" class="share-pocket sd-button share-icon no-text" href="https://octanage.com/?share=pocket&nb=1" target="_blank" title="Clique para compartilhar no Pocket"><span></span><span class="sharing-screen-reader-text">Clique para compartilhar no Pocket(abre em nova janela)</span></a></li><li class="share-print"><a rel="nofollow ugc" data-shared="" class="share-print sd-button share-icon no-text" href="https://octanage.com/#print" target="_blank" title="Clique para imprimir"><span></span><span class="sharing-screen-reader-text">Clique para imprimir(abre em nova janela)</span></a></li><li class="share-end"></li></ul></div></div></div>

    under all<div class="feature-item-content"> .You will have three of them.

    Hope that helps.

    Thank you.

  • Unknown's avatar

    Thanks for the pointers @iamrishaan!

    Will post my support questions on wordpress.org in the future.

    Regarding the deletion I need to make:
    – what is the name of the file I need to change?
    – am I going to have to perform the deletion every time I publish a new version of the front page?

    thanks

  • Unknown's avatar

    Hi again,

    Please post your question in the link below to get a precise answer.
    https://wordpress.org/support/theme/onepress

    Thank you.

  • The topic ‘How to remove social & like buttons from a section only?’ is closed to new replies.