• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Delete pinterest button from posts (quattro theme)

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Delete pinterest button from posts (quattro theme)

This topic is: not resolved

Tagged: pinterest, Quattro

  • This topic has 2 replies, 3 voices, and was last updated 13 years, 7 months ago by asdweb.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 9, 2013 at 4:36 am #25166
    ᴅᴀᴠɪᴅ
    Member

    I cannot remember if I put it there or not but I cannot find a way of removing the pinterest button from the top of my posts?

    I have found the code in the file single.php which is the code relating to it, but whenever I try to delete the pinterest part, it just brings up errors. Can anybody tell me which part exactly i need to delete?

    PS Url of website is nomadspirit.net if you need to see a post to see what i mean. Here's the code in single.php

     

    <?php
    add_action( 'genesis_post_content', 'pinterest_share_button', 5 );
    function pinterest_share_button() {

    /** No-count */
    printf( '<div class="pinterest-button"><a href="http://pinterest.com/pin/create/button/?url=%s&media=%s" class="pin-it-button" count-layout="none">Pin It</a><script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script></div>', urlencode( get_permalink() ), urlencode( genesis_get_image( array( 'format' => 'url' ) ) ) );

    }

    genesis();


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    March 10, 2013 at 8:33 am #25304
    AnitaC
    Keymaster

    Have you checked your plugins? There is specific CSS classes to that button and also it attaches to what appears could be your Pinterest account.


    Need help with customization or troubleshooting? Reach out to me.

    March 10, 2013 at 11:06 am #25316
    asdweb
    Member

    You could add this to your style sheet:

    div.pinterest-button {
    display: none;
    }


    Amy Susan Design.com @AmySusanDesign

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble