• Hello,

    I am looking for a function that displays which is connected in the footer
    For example: Visitor (s), Members, Robots,
    For me add function on my child theme

    add_action('asgarosforum_statistics_custom_element', 'my_function_footer', 10, 1);
    function my_function_footer() {
    
    Here your code
    
    }
    
    add_action('asgarosforum_after_post_author', 'my_function', 10, 1);

    Please, thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, have you checked the FAQ section? There is a code that might help you.

    Regards

    Thread Starter kingteamdunet

    (@kingteamdunet)

    Hi,

    So how do we do that?
    I would like to display only:

    1 visitor (s), 0 robots, 0 member (s)

    Instead of

    Who is online

    1 visitor (s) currently online
    1 visitor (s), 0 robots, 0 member (s)
    Map of Visitors

    add_action('asgarosforum_statistics_custom_content_bottom', 'my_function_footer', 10, 1);
    function my_function_footer() {
    
        // 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>';
         }
    
    }
    
    add_action('asgarosforum_after_post_author', 'my_function', 10, 1);

    Thank you

    • This reply was modified 7 years, 10 months ago by kingteamdunet.

    Hi, the plugin developer will investigate further your request.

    Thank you

    Thread Starter kingteamdunet

    (@kingteamdunet)

    Hello,

    I’m still waiting for a developer’s response.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Function that displays who is connected in the footer’ is closed to new replies.