WordPress.org

Ready to get started?Download WordPress

Forums

Visitor Maps and Who's Online without widget? (2 posts)

  1. miletjs
    Member
    Posted 4 years ago #

    I installed Visitor Maps and Who's Online but I don't use widget. How can I add this to my sidebar manually?

  2. Mike Challis
    Member
    Posted 4 years ago #

    I added this feature in version 1.0.5

    Upgrade to version 1.0.5 and
    Add this to your sidebar.php

    <?php
        // display Who's Online
         if (class_exists("VisitorMaps")) {
                $visitor_maps = new VisitorMaps();
         }
         if (isset($visitor_maps)) {
               echo '<ul><li>';
               $visitor_maps->visitor_maps_manual_sidebar();
               echo '</li></ul>';
         }
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic