• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

OrganicWeb

Marketing Strategy Facilitators & Mailchimp Pro Partners

  • Home
  • Services
    • Mailchimp Live Public Classes
    • Mailchimp Corporate/Team Training
    • Mailchimp Consulting
    • Marketing Strategy & Planning
  • Free Tools
    • Mailchimp Tutorials on YouTube
    • 5 day Mailchimp marketing boost
    • Map maker for email
    • Is Mailchimp down?
    • Marketing facts and stats.
  • Content
    • Blog
    • Videos
  • Contact & About
You are here: Home / WordPress / Duplicate Jetpack sharing icons

Duplicate Jetpack sharing icons

The Jetpack plugin for WordPress has many very useful features. One of those is social sharing where a visitor to your page or post may share to Twitter, Facebook, Reddit, Pinterest and so on.

Selecting whether to show the social media sharing icons on media, pages or posts is simple. By default the sharing buttons show below the page or post content however adding the icons in a second location isn’t a matter of selecting a checkbox. Follow the instructions below to show the Jetpack social media icons above the logo in Genesis (StudioPress) Themes.

  1. Install and activate the Genesis Simple Hooks plugin.
  2. In your WordPress dashboard go to Genesis then Simple Hooks.
  3. In the Header Hooks section, enter the following in the genesis_before_header field:
    <?
    if ( function_exists( 'sharing_display' ) ) {
        sharing_display( '', true );
    }
    
    if ( class_exists( 'Jetpack_Likes' ) ) {
        $custom_likes = new Jetpack_Likes;
        echo $custom_likes->post_likes( '' );
    }
    ?>
  4. Click to add a check in the Execute PHP on this hook? field.
  5. Click Save Changes

The sharing buttons will now be replicated in the header.
If you then want to style your sharing area per the attached image then add the following CSS using the Jetpack Custom CSS Editor:

.sd-content {
	background-color: #c3251d;
	padding-top: 0.9em;
	padding-bottom: 0.9em;
}

div.sharedaddy.sd-sharing-enabled > div > h3 {
	font-size: 200%;
}

.sd-sharing-enabled {
	text-align: center;
	background-color: #ffffe0;
}

div.sharedaddy h3.sd-title:before {
	border-top-width: 0;
}

Found this useful? Please share:

Filed Under: WordPress

Watch Gary in action

Gary frequently adds Mailchimp instructional videos to his YouTube channel. Subscribe to keep updated.

→  Subscribe   ←

How to create a lead-capture form with file download.

How to target your most engaged Mailchimp contacts.

Reader Interactions

Leave a Reply Cancel reply

Primary Sidebar

Learn from a Mailchimp Pro Partner

Signup to receive info about Gary's Mailchimp beginner and advanced classes.

Sign up

Gary on Australian National Radio

Changes are coming to the Australian Spam Act

Read Gary's article in SmartCompany

Mailchimp Video Tutorials

Meet Gary, Mailchimp Expert

Gary is a Mailchimp Expert and Partner. He delivers Mailchimp training and consulting services in Australia, New Zealand and Singapore. Gary presents at Mailchimp events and hosts the first, and only, Australian Mailchimp sponsored event. He is M.B.A. qualified from Henley Business School, U.K.

Contact Gary for your Mailchimp needs

Footer

Customer ratings

Mailchimp pro partners

Contact

Contact Gary for all your Mailchimp training, consulting and integration needs.

Contact Gary.

Copyright © 2021 · Sitemap · ABN: 40800872179 · Privacy Policy · Terms of Service