Support » Plugin: WordPress Users List » Where to put code?

  • Hi!

    I have no clue at all about coding.
    I would like to set up a menu page where you can click to see the list of all registered members at my site.

    I tried to put this code “<?php wpul_get_users(); ?>” in the area where I write the text when I create a new page.

    Cause I donĀ“t want to let all that visits the site be able to see the list.
    Otherwise where to put the code???

    http://wordpress.org/extend/plugins/wordpress-users-list/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author quartz

    (@quartz)

    Hi you can’t put php code and execute it in your text page unless you add a plugin that wiil do that.

    I was able to load the list from the text page when using plug-ins Exec-PHP and WP-No-Format with this text in html in editor.

    <!– noformat on –>
    <style>

    #wpul img
    {
    padding:2px;
    float: left;
    }
    #wpul ul { margin-left: 20px; margin-bottom: 0; }
    #wpul li { padding: 0;}
    #wpul
    {
    font-size:12px;
    color:#f00;
    padding:3px;
    }
    #wpul .wpuluserbox {
    background-color: #fff;
    color:#000;
    border: 1px solid black;
    margin:2px;

    }
    #wpul .wpulusername {
    width:99%;
    vertical-align: middle;
    float:left;
    color: #000;
    margin:2px;
    }
    #wpul .username {
    font-weight:bold;
    }
    #wpul .registered {
    color:#ccc;
    font-size:10px;
    }
    #wpul a:link {
    color: #000;
    }
    #wpul a:visited {
    color: goldenrod;
    }
    #wpul a:hover {
    color: goldenrod;
    }
    #wpul a:active {
    color: #f00;
    }
    </style>
    <?php wpul_get_users(); ?>
    <!– noformat off –>

    Steve

    Plugin Author quartz

    (@quartz)

    The default usage is paste this code in the theme file where you want the list to be displayed. <?php wpul_get_users(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where to put code?’ is closed to new replies.