Title: Where to put code?
Last modified: August 21, 2016

---

# Where to put code?

 *  [Guldkant](https://wordpress.org/support/users/guldkant/)
 * (@guldkant)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/where-to-put-code-1/)
 * 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/](http://wordpress.org/extend/plugins/wordpress-users-list/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [quartz](https://wordpress.org/support/users/quartz/)
 * (@quartz)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/where-to-put-code-1/#post-3709550)
 * 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](https://wordpress.org/support/users/quartz/)
 * (@quartz)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/where-to-put-code-1/#post-3709561)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-users-list.svg)
 * [Wordpress Users List](https://wordpress.org/plugins/wordpress-users-list/)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-users-list/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-users-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-users-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-users-list/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [quartz](https://wordpress.org/support/users/quartz/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/where-to-put-code-1/#post-3709561)
 * Status: not resolved