Support » Plugin: Social Path » [Plugin: Social Path] Installed in Path; What to Do to Get Icons?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sami Keijonen

    (@samikeijonen)

    Member

    Social icons are added automatically after every posts (not pages), when you active Social Path Plugin with Path Theme. As you can see in demo.

    http://foxnet.fi/demot/path/2012/07/10/sticky-posts-are-in-the-slider/

    If you don’t see them, disable all of your plugins and start activating them one by one before you find what is messing with it.

    Thanks, Sami, I see that now. I appreciate the simplicity of this social plugin. Some are just too bloated.

    I notice in the screenshot that came with the plugin package that the Facebook =count= is not showing. I would like it NOT to show on my sites, but it does show there and at the demo site. Is there a way to make that change?

    Lane

    Plugin Author Sami Keijonen

    (@samikeijonen)

    Member

    You can filter the output, but facebook seems the like that count-button, because styling gets ‘ugly’ after you take it off.

    In child theme functions.php put this inside setup function.

    /* Filter output of social path plugin. */
    	add_filter( 'social_path_media_output_filter', 'my_social_output' );

    And this after setup function.

    function my_social_output() { ?>
    
    	<div id="social-media">
    
    		<div class="tweet">
    			<a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-text="<?php the_title(); ?>" data-url="<?php the_permalink(); ?>"><?php _e( 'Tweet', 'social-path' ); ?></a>
    		</div>
    
    		<div class="google">
    			<g:plusone size="medium" annotation="none" href="<?php the_permalink(); ?>"></g:plusone>
    		</div>
    
    		<div class="fb-like" data-layout="standard" data-send="false" data-width="160" data-show-faces="false"></div>
    
    	</div>
    
    	<?php
    
    }

    Thanks for the suggestion!

    Changing the data-layout value from button_count to standard got rid of the count, but it substituted “Be the first of your friends to like this,” which isn’t very good, either. Here’s the page where you can see this:
    http://www.clarkesvillewritingsociety.org/long-europe-south-africa/

    Does Facebook offer anything other than button_count and standard?

    Lane

    Plugin Author Sami Keijonen

    (@samikeijonen)

    Member

    There is only box_count option.

    http://developers.facebook.com/docs/reference/plugins/like/

    The reason I wanted to have button_count option, is that it fits best for the theme layout. Some other plugins might do it better. There are plenty of them out there.

    OK, thanks for the help.

    Lane

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Social Path] Installed in Path; What to Do to Get Icons?’ is closed to new replies.