Connect with us

Tips & Tricks

Build a classic MyBlogLog widget

In this post I will show you how I created my custom widget showcasing mybloglog readers.

In your function.php file add this simple line of code:

// MyBlogLog
function MyBlogLogWidget()
<script type="text/javascript" src=";c_width=220&amp;c_sn_opt=n&amp;c_rows=6&amp;c_img_size=h&amp;c_heading_text=&amp;c_color_heading_bg=e0e0d4&amp;c_color_heading=E8A02C&amp;c_color_link_bg=e0e0d4&amp;c_color_link=d54e21&amp;c&amp;c_color_bottom_bg=e0e0d4"></script>
<?php } 

//register the sidebar 'the widget name', 'the widget function'//
register_sidebar_widget('MyBlogLog Widget', 'MyBlogLogWidget');


That’s it, just replace the “ReplaceWithYourID” with your mybloglog ID. You can also change the width at c_width=220 to what ever you like.

If you look closely at the code you may also see color codes, you may change them to corresponding hex codes, for example: c_color_bottom_bg=e0e0d4 is the color for the bottom background. e0e0d4 is a light gray, we can change it to ffffff and make it white.

That’s it, enjoy!



  1. Danny

    February 5, 2009 at 9:04 am

    Hello, using your code, I obtain only an empty . have you got any idea?

    Danny´s last blog post..Proprieta’ Font-Weight: solo un browser la supporta

  2. frosty

    February 5, 2009 at 1:23 pm

    Hey Danny,
    Make sure this is pasted into your functions.php and then you should see a ‘widget’ in your widgets area..

  3. Glenn

    March 19, 2009 at 4:57 pm


    This disadvantage of placing widgets in the functions.php file is (I think) they get clobbered on an update of WordPress.

    Again you could use to easily create a stand alone widget.


    • Austin

      March 19, 2009 at 7:49 pm

      Thanks Glenn,
      I will give your service a try with this widget.

You must be logged in to post a comment Login

Random Search Terms


Top Articles

Top Searches

powered by WassUp

Recent Posts: Fully Net Worth . com

Albert Haynesworth Net Worth: How Rich is Albert Haynesworth?

Albert Haynesworth Net Worth: How Rich is Albert Haynesworth?

An American football player, Albert Haynesworth is known for his defensive tackle position. As of 2019, Albert Haynesworth net worth is estimated to be around $41 million. The 38 years old (June 17, 1981), Albert Haynesworth stepped in sports arena from his high school. In his high school, he took part in football, track and […]

Sandy Mahl Net Worth: How Rich is Garth Brooks’ ex-wife?

Sandy Mahl Net Worth: How Rich is Garth Brooks’ ex-wife?

Sandy Mahl is an American businesswoman. She is known to many as the ex-wife of country music star Garth Brooks. As of 2019, Sandy Mahl net worth is estimated to be $125 million. Sandy was born on January 16, 1965, in Tulsa, Oklahoma to parents John Mahl and Pat Mahl. Sandy is now a wildlife […]

Scott Fischer Net Worth

Scott Fischer Net Worth

Scott Fischer, depending on which one you are searching for. Instead, it is the famous hiker that died in 1996, or Scott Fischer, CEO of Dippin Dots, LLC, and Dippin Dots Cryogenics.  In this article we will be talking about the Dippin Dots CEO, Scott Fischer, who went on the hit show Undercover Boss we’re […]

%d bloggers like this: