• 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

Social Share Buttons (titles) Showing In Share Itself

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 › Design Tips and Tricks › Social Share Buttons (titles) Showing In Share Itself

This topic is: not resolved

Tagged: bug, scraping, share buttons, social share

  • This topic has 17 replies, 4 voices, and was last updated 10 years, 8 months ago by itzsnider.
Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • May 21, 2015 at 1:44 pm #153134
    itzsnider
    Participant

    Okay so I will do my best in explaining this one. This seems to be a "bug" of sorts with Genesis itself.

    I have gone through a number of different options with share buttons. The last one I used was a "premium" one named social warfare. I had placed their buttons at the begining and end of my posts BUT when I used say the Facebook Share button, it read like this

    Shares FacebookTwitterGoogle+Pinterest In case you were not aware, Nintendo has absolutely nailed it with the toy-to-life genre with their

    I had reached out about this and the plugin developer said he had seen that before BUT with on Genesis themes. He rolled out a fix, but I have since moved on to numerous other options for social sharing.

    Is this something that can be figured out or?

    I am currently using Parallax Pro and would love to keep the share buttons where they are.

    Thanks

    http://www.geekdaily.co
    May 21, 2015 at 2:08 pm #153136
    Calvin Koepke
    Member

    Seems like an issue with Genesis' social meta tags. The share buttons input into the entry content, which I'm assuming is what is being injected into the social share meta tags.

    I agree, Genesis issue.


    – Calvin Makes ( @cjkoepke )

    May 21, 2015 at 2:09 pm #153137
    itzsnider
    Participant

    So I assume this is something that I cannot override with code in the plugin itself or the functions.php?

    May 21, 2015 at 2:11 pm #153138
    Calvin Koepke
    Member

    No, I don't think the Social Shares plugin messes with the Social meta tags at all.

    Another cause might be if you're using an SEO plugin, like Yoast. You can usually modify the template to output something else, but it would be hard to make it dynamic and still use the first words of the entry content.

    However, if you do, I think you can set a custom SEO description per post, at the bottom of the edit page.


    – Calvin Makes ( @cjkoepke )

    May 21, 2015 at 2:18 pm #153139
    itzsnider
    Participant

    Adding a new meta description to Yoast's plugin doesn't seem to work either... okay now to try and fix this some other way!

    May 21, 2015 at 2:24 pm #153140
    itzsnider
    Participant

    Wonder if there is a way to move the icons to AFTER the first paragraph.

    May 21, 2015 at 2:41 pm #153142
    Calvin Koepke
    Member

    Nope, there is no way to do that. The paragraphs are simply one function dumping out the content.

    Did you create a new post and try and add a custom meta description? If you did it on the same post and tried, the social network probably already cached your previous description...


    – Calvin Makes ( @cjkoepke )

    May 21, 2015 at 2:43 pm #153143
    itzsnider
    Participant

    I got it working, BUT I can't figure out the correct shortcode!!!

    function ads_added_above_last_p($text) {
    	if( is_single() ) :
    		$ads_text = '<div class="a" style="text-align: center;">[PUT SHORTCODE HERE]</div>';
    	if($pos1 = strpos($text, '<p>', strpos($text, '<p>') + 3)){
    			$text1 = substr($text, 0, $pos1);
    			$text2 = substr($text, $pos1);
    			$text = $text1 . $ads_text . $text2;
    		}
    	endif;
    	return $text;
    	}
    add_filter('the_content', 'ads_added_above_last_p');
    May 21, 2015 at 3:24 pm #153149
    Calvin Koepke
    Member

    I don't think the Simple Social Icons output as a shortcode. I'm not sure entirely what the function is to output, but I bet you could find it in the plugin.


    – Calvin Makes ( @cjkoepke )

    May 21, 2015 at 3:49 pm #153151
    Graham
    Member

    Despite what is shown on that plugin's setting page, the share buttons are added to the entry-content.

    A better description of the options might read..

    Beginning of content (not Before)
    End of content (not After)
    Beginning and End of content (not Before and After)

    You might want to take a look at manually repositioning the share buttons to the ( maybe ) genesis_entry_header and/or genesis_entry_footer hooks.

    Ref:
    http://briangardner.com/reposition-genesis-simple-share-buttons/
    https://gist.github.com/srikat/787e8d8bad7ec06a40fe

    That's as far as I got when I explored the issue previously. Other issues with that plugin prevented me from investigating further and I am yet to settle on a satisfactory alternative.


    My JustGiving page: https://www.justgiving.com/helping-graham-give

    May 21, 2015 at 4:03 pm #153153
    Sridhar Katakam
    Participant

    Matthew,

    Can you summarize your question?

    Which social sharing plugin are you using and where do you want to move its output from and to where?


    Genesis Tutorials | Follow me on Twitter

    May 21, 2015 at 5:29 pm #153158
    itzsnider
    Participant

    I am trying out several social plugins so that isn't the issue, its Genesis as a whole adding them into the entry itself, which is incorrect. So if you place at the start of an entry it shares incorrectly and considers them part of the post.

    I am now moving on to Addthis Pro to see if they allow for more customized than what I currently have.

    The link to what I currently am using is on the site.

    Stay tuned.

    May 21, 2015 at 5:37 pm #153159
    Graham
    Member

    Ah, reading the OP properly now, I see that itzsnider was referencing the social warfare plugin... as to how and where that plugin added it's sharing code. I got confused with other references in the thread to Social Shares plugin and Simple Social Icons plugin.

    Without knowing the social warfare plugin, my first *guess* would be that the issue is similar, with the sharing icons being added to the beginning and end of the entry content as opposed to before and after ? Would need to see plugin code to confirm.


    My JustGiving page: https://www.justgiving.com/helping-graham-give

    May 21, 2015 at 5:49 pm #153161
    Sridhar Katakam
    Participant

    Does Monarch provide an option to insert the social shares using a function call or shortcode?

    I had a quick glance at https://www.elegantthemes.com/plugins/monarch/documentation/ and couldn't find any.


    Genesis Tutorials | Follow me on Twitter

    May 21, 2015 at 5:51 pm #153162
    itzsnider
    Participant

    I am not sure Sridhar honestly as this is a copy a friend gave me to test it out for a week.

    I am purchasing Addthis Pro this evening, BUT it seems again that this has nothing to do with the plugins/code and everything to do with how Genesis reads it as part of the entry.

    I have the code (above) to utilize a shortcode if I need to put it under the 1st paragraph, but it looks ugly is all...

    Thanks all for weighing in, once I get addthis up and running I will let you know more!

    May 21, 2015 at 5:56 pm #153164
    Sridhar Katakam
    Participant

    I don't think this has anything to do with Genesis.

    I just switched to 2015 on my test site and it does the same.

    screenshot


    Genesis Tutorials | Follow me on Twitter

    May 21, 2015 at 5:58 pm #153165
    itzsnider
    Participant

    And I was told by a plugin developer he has only seen that on Genesis themes.

    Either way that is not what I want. It should not read the names (facebook, twitter etc) of a plugin as content.

    Stay tuned.

    May 23, 2015 at 8:33 pm #153452
    itzsnider
    Participant

    Okay so after using Monarch, I have to say their support is awful.

    I am debating on asking for a refund. It's just crap.

    They have a plugin that gives them a "token" to login as a admin and the dummy broken my functions.php WITHOUT first asking if he could change my code.

    This is what he wanted to add to my functions.php and it doesn't seem to have helped anyway......

    This is really pissing me off, why can't things work.....

    function _remove_script_version( $src ){
    	$parts = explode( '?ver', $src );
            return $parts[0];
    }
    add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
    add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
    
    function my_meta_desc_filter( $desc ) {
    	preg_replace( '/Shares FacebookTwitterGoogle\+Pinterest /', '', $desc);
    	return $desc;
    }
    add_filter( 'wpseo_metadesc', 'my_meta_desc_filter' );

    More to come as I have it.

  • Author
    Posts
Viewing 18 posts - 1 through 18 (of 18 total)
  • The forum ‘Design Tips and Tricks’ 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