I recently spoke about BlogEngage being a must for all bloggers. But when I was installing the blog engage button I encountered a small problem but this was over come easily with a few codings that I placed in my Thesis Theme.

The problem was this, when I went to the settings of the BlogEngage there is only one option to align where you want to place your button.
These options for alignments are:

  • Top Left
  • Top Right
  • Bottom Left
  • Bottom Right
  • None
  • After I selected the top left (because that’s where I wanted my button to be displayed) I notice an error in my Thesis teaser section.

    I wanted my button to be at the top left side of my post but the errors made my blog look messy. I had to go back to the BlogEngage options and select none. This means I would have to manually insert the buttons myself.

    The Error

    In the photo below you can clearly see the error highlighted in red.

    The Solution

    To fix this, copy the code below and paste it it in the custom/custom_functions.php file. Your teaser section will look like the photo below.

    /* BLOGENGAGE BUTTON INSIDE TEASER BOX   */
    
    function teaser_blogengage_button() {
    ?>
    
    <script type="text/javascript">submit_url = "<?php echo get_permalink($postid); ?>";</script>
    <script src="http://blogengage.com/evb/button.php"></script>
    
    
    <?php }
    
    add_action('thesis_hook_before_teaser', 'teaser_blogengage_button');

    BlogEngage Button On Post

    Copy the code below and paste it it in the custom/custom_functions.php file.
    This will place the BlogEngage button inside your post box.

    /* BLOGENGAGE BUTTONΒ Β  */
    
    function blogengage_button() {
    ?>
    <div id='twittley_button' style='float:left;margin-right:10px;'?>
    <script type="text/javascript">submit_url = "<?php the_permalink(); ?>";</script><script src="http://blogengage.com/evb/button4.php"></script>
    </div>
    <?php }
    
    add_action('thesis_hook_before_post', 'blogengage_button');

    Conclusion

    You can also change the type of button that you want to be displayed. Use these links below in the code to chane the button.

    http://blogengage.com/evb/button.php
    Button

    http://blogengage.com/evb/button2.php
    Button2

    http://blogengage.com/evb/button3.php
    Button3

    http://blogengage.com/evb/button4.php
    Button4

    http://blogengage.com/evb/button6.php
    Button6

    http://blogengage.com/evb/button7.php
    Button7

    If you have any errors, please feel free to ask questions in the comment box below.

    10 comments

    1. Gabriel

      Reply

      Wonderful tips. This could be a helpful article who wants to have a thesis theme. I like to try it, and soon I will have my own theme. Thanks for sharing this wonderful tips.

    2. Jane

      Reply

      Hey Kharim,

      This is a life saver post. I had the same issue that you have pointed out and I found all round about ways to install the button to my sharebar.

      I will add it to my teasers as well.

      Thanks,
      Jane.

    3. Reply

      Hey Kharim, this is a great tip. I bet some people got rid of the Blog Engage button because they didn’t know how to move it like this. I’m using Thesis Awesome Blog Skin, and the Blog Engage button is built into the skin already. Thanks for the tip though.

      • Reply

        Well just trying to help those with the Thesis Theme and the BlogEngage button users. I have noticed your blog, It’s looking really great πŸ™‚ Congrats

        Please I am asking you to also leave a comment on the article link below… Thanks πŸ™‚
        5 Important Questions Every Blogger Should Be Asking Themselves

      • Reply

        Ok thats nice. πŸ™‚ I am a Thesis lover… How is the Genesis theme?

        Please I am asking you to also leave a comment on the article link below… Thanks πŸ™‚
        5 Important Questions Every Blogger Should Be Asking Themselves

          • Reply

            Ok. Well Thesis does great for me, so I’m gonna stick with it. Thanks for the comment.

            Please I am also asking you to make one more comment on my other article:
            5 Important Questions Every Blogger Should Be Asking Themselves

    4. bbrian017

      Reply

      Hi there Kharim, thanks for making this post I know many bloggers are using thesis and will run into this issue. It’s funny but many these pull this code into that spot I don’t know why… Even my theme from Elegant Themes did it I have to get them to code it differently.

      Thanks so much!
      .-= bbrian017´s last blog ..Take control of our blogging community =-.

    Leave a comment

    Your email address will not be published. Required fields are marked *