Adding Alexa rank widget is as simple as adding any text widget in WordPress. Alexa officially provides HTML code that you can add to your sidebar or any widget areas in your blog.
You can either display just your Alexa Rank or your Alexa rank including a count of the sites that link to your website.
Here’re the required HTML codes for both widgets.

1. Only Alexa Rank

Gist File:
<a href="http://www.alexa.com/siteinfo/wpism.com"><script type="text/javascript" src="http://xslt.alexa.com/site_stats/js/t/a?url=articlestrend.ml"></script></a>

2. Alexa Rank with Sites Linking in Count


 <a href="http://www.alexa.com/siteinfo/wpism.com"><script type="text/javascript" src="http://xslt.alexa.com/site_stats/js/s/a?url=articlestrend.ml"></script></a>

Obviously, you will need to change the articlestrend.ml in above code snippets to your website URL.
To add it to WordPress, you will simply need to add a Text Widget in the required place.

Instructions: Go to Appearance > Widgets and Drag the Text Widget from available widgets to the location you want to display your Alexa Rank. Copy and paste the above code in the widget.

Detailed Instructions to Add Alexa Rank Widget

  • From your WordPress dashboard, go to Widgets under Appearance section.
  • Click on the Arbitrary text or HTML widget and add it to your desired widgets section.
  • Copy and paste the above code in the HTML widget.
  • Change the URL in the above code to your own website URL.
  • Click on Save and your Alexa Rank Widget should now appear on your Website.

0 comments:

Post a Comment

Powered by Blogger.

Popular Posts

Blog Archive