Forums

Users and posts plugin (2 posts)

  1. squip882000
    Member
    Posted 4 years ago #

    Hi there,
    I have a blog with several poster and I founf a plug in that I thought would sufice to show the users and the number of posts (at least thats what I tink it does :P)(Found at this site http://labitacora.net/index.php?p=162 )
    I was wondering where I put the inserted php script

    [code]
    <li id="Users">Post for user

      < ?user_post($num_users);?>

    And add in the page wp-blog-header.php in the zone of the where

    if (strlen($_GET[’theAuthor’]) > 0)
    $where .= � AND post_author = “.$_GET[’theAuthor’];

    Where:
    $num_users: is the number the users to show.
    [/code]

    If anyone can help it would be greatly apreciated... :D
    thanks
    Patrick

  2. Kafkaesqui
    Moderator
    Posted 4 years ago #

    It typically depends on the theme but in most cases look at the sidebar.php for an appropriate location.

    By the by, visiting your site it appears you've figured this out?

Topic Closed

This topic has been closed to new replies.

About this Topic