• 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

Adding social share buttons to blog index

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 › Adding social share buttons to blog index

This topic is: not resolved
  • This topic has 1 reply, 2 voices, and was last updated 10 years, 2 months ago by Christoph.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 30, 2016 at 1:47 pm #177920
    nscalice
    Member

    Hi, I'm using the Digital Pro theme, but I think this will apply to other themes as well. I'd like to add my social sharing plugin so that it displays below the "read more" link on my blog index. I'm assuming this would have to be manually added to the theme template for the index page, but not sure of the exact steps. I have a snippet of code from the plugin I'm using (Social Warfare), and can plug in it, but where does it go so it will show below each post on the blog page?

    http://earnworthy.com/blog
    February 6, 2016 at 2:53 pm #178482
    Christoph
    Member

    Hi,

    you could write a function conditionally adding it when you are on an archive page or the home page and hooking it into genesis_after_entry
    function add_social_warfare_on_home_archive {
    if ( is_archive() || is_home() ) {
    --- add your code here ---
    }
    }
    add_action( 'genesis_after_entry', 'add_social_warfare_on_home_archive' );


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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