WordPress.org

Ready to get started?Download WordPress

Forums

Shareaholic | share buttons & related posts
[resolved] Manual fb google+1 not working (12 posts)

  1. krom8
    Member
    Posted 2 years ago #

    I'm using the manual insertion method for displaying the facebook and google+1 button as well as the sexybookmarks bar. The sexybookmarks bar displays fine but the facebook and google+1 button don't show. If I switch to automatic code insertions everything works fine. Here is the code i'm using that doesn't seem to work. <?php if(function_exists('get_shr_like_buttonset')) { get_shr_like_buttonset('Top'); } ?>

    Here is the site I'm using the plugin on http://www.billyshuler.com

  2. Shareaholic
    Member
    Plugin Author

    Posted 2 years ago #

    krom8, where on the page should it be showing? And which buttons (+1, etc) do you have enabled?

  3. krom8
    Member
    Posted 2 years ago #

    I have all three buttons(send like G+1)set to show above the post. If you go down my homepage, right under the slideshow you'll see a heading labeled "newest". It should be showing at the top of the post under the "newest" heading.

  4. krom8
    Member
    Posted 2 years ago #

    It might help if I show you the code I'm using.

    <div <?php arras_single_post_class() ?>>
    			<?php arras_postheader() ?>
    			<div class="entry-content clearfix">
    			<?php if(function_exists('get_shr_like_buttonset')) { get_shr_like_buttonset('Top'); } ?><!--sexybookmarks-->
    			<?php the_content( __('Read the rest of this entry &raquo;', 'arras') ); ?></div>
    			<?php if(function_exists('selfserv_sexy')) { selfserv_sexy(); } ?><!--sexybookmarks-->
    			<?php arras_postfooter() ?>
    		</div>
  5. Shareaholic
    Member
    Plugin Author

    Posted 2 years ago #

    I did a quick view source and searched for "<!--sexybookmarks-->" and it didn't show. Are you sure you're adding the code at the right place/file?

    btw,

    <?php if(function_exists('selfserv_sexy')) { selfserv_sexy(); } ?>

    should now be:

    <?php if(function_exists('selfserv_shareaholic')) { selfserv_shareaholic(); } ?>

  6. Shareaholic
    Member
    Plugin Author

    Posted 2 years ago #

    Are you sure you've set "Top" related settings in the admin panel?

    There are two - top and bottom.

  7. krom8
    Member
    Posted 2 years ago #

    Here is the loop I have for single posts as well with the new code you told me about above.

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    	<?php arras_above_post() ?>
    	<div id="post-<?php the_ID() ?>" <?php arras_single_post_class() ?>>
    
            <?php arras_postheader() ?>
    
            <?php if(function_exists('get_shr_like_buttonset')) { get_shr_like_buttonset('Top'); } ?><!--sexybookmarks-->
            <div class="entry-content clearfix">
    		<?php the_content( __('<p>Read the rest of this entry &raquo;</p>', 'arras') ); ?>
            <?php wp_link_pages(array('before' => __('<p><strong>Pages:</strong> ', 'arras'),
    			'after' => '</p>', 'next_or_number' => 'number')); ?>
    		</div>
    		<?php if(function_exists('selfserv_shareaholic')) { selfserv_shareaholic(); } ?><!--sexybookmarks-->
    		<?php if(function_exists('related_posts')) related_posts(); ?> <!--yarpp-->
    		<?php arras_postfooter() ?>
    
            <?php
    		if ( arras_get_option('display_author') ) {
    			arras_post_aboutauthor();
    		}
            ?>

    Here is a screenshot of shareaholic admin page. http://www.billyshuler.com/admin.png

  8. Shareaholic
    Member
    Plugin Author

    Posted 2 years ago #

    It looks like you have "Load scripts in Footer" checked. Can you please not turn this on and have the scripts load in the header? Let's see if this helps.

  9. krom8
    Member
    Posted 2 years ago #

    I've turned off load scripts in footer as well as disabled every plugin I had running except for the sexybookmarks.

  10. Shareaholic
    Member
    Plugin Author

    Posted 2 years ago #

    krom8, this was our fault -- stupid bug. The latest issue should have fixed this. Please upgrade and try again!

  11. krom8
    Member
    Posted 2 years ago #

    I'm sorry it took me so long to get back here but I wanted to tell you that it's working great. I'd also like to tell you how impressed I am at your work ethic. I didn't expect the time you put into this and I know how much stress it is keeping your code up to date and you're even doing it for free. Thank you for your effort and time!

  12. Shareaholic
    Member
    Plugin Author

    Posted 2 years ago #

    You're so very welcome krom8!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic