WordPress.org

Ready to get started?Download WordPress

Forums

Using the Blog Stats from the dashboard (5 posts)

  1. planetphillip
    Member
    Posted 8 years ago #

    Hi,

    I would like to add the Blog Stats that I see displayed in my dashboard to my sidebar.

    I tried copying the relevant code but it does seem to work. I'm guessing it probably uses something from the admin header.

    IS there a simp,e way I can get this working? I did look through the stats plugins but they all seemed to offer way to much detail for me.

    TIA

  2. resiny
    Member
    Posted 8 years ago #

    hm. I'm interested to know if anyone knows how to do this as well, as that migh be interesting to play around with

  3. Ming
    Member
    Posted 8 years ago #

    I was able to just cut and paste it into the sidebar using the default theme. A copy of the sidebar.php file is here: http://pastebin.com/585923 (lines 14-31)

    You will want to change (or remove) the stat links since they all point into your admin section.

  4. resiny
    Member
    Posted 8 years ago #

    cool. thanks

  5. planetphillip
    Member
    Posted 8 years ago #

    Thanks for posting your code. It made me realise that I have left out the Print command! Everything working now.

    Thanks Again.

Topic Closed

This topic has been closed to new replies.

About this Topic