Support » Plugin: People Lists » [Plugin: People Lists] Limited default codes

  • Resolved jdrowe


    Why doesn’t the default codes list include the ‘website’ field? It’s included, by default, on the WP profile page. I need to use this code in my template. If I add the field code ‘website’ via People Lists, then I get 2 website fields on the profile page. Make sense? I obviously don’t need 2 ‘website’ fields on the profile page, so how do I make this work? btw, %website% doesn’t work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author oltdev


    Hi jdrowe,

    We built this plugin for a couple of clients and they didn’t require that hook, which is why we didn’t include it. It is actually very simple with our coding style to get it to display for you if you have some coding experience. Try changing

    $input_template[5] = "%thumbnail%";
    counter = 6;


    $input_template[5] = "%thumbnail%";
    $input_template[6] = "%website%";
    counter = 7;

    and change…

    $replacements[5] = get_avatar($id);
    $counter = 6;


    $replacements[5] = get_avatar($id);
    $replacements[6] = user_url;
    $counter = 7;

    I will definitely make this update when/if I get time to do so, that is why I’m providing you with some input here so you can take a look and try it out on your own if the matter is urgent. I will add all of the fields in a future update.

    Thanks for bringing up this issue jdrowe!




    I believe it should read $replacements[6] = $user_data->user_url; and there should be a ‘$’ before ‘counter’, otherwise it works well. Thanks again!

    Plugin Author oltdev


    Hehe, the joy of coding off the top of your head and not proofreading. Thanks for posting that here for other users who may want to have more default options.


    Plugin Contributor sgagan


    I have re-worked the codes and have provided every possible default code for you guys to use as you desire. I hope you guys like the update and please rate/state whether it works or is broken on the plugin page!

    Much appreciated and thanks for your feedback,


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: People Lists] Limited default codes’ is closed to new replies.