[Plugin: People Lists] Executing PHP in a template
I am working on creating a user list using your plugin, and so far it works great!
I just can’t seem to get the last pieces of the puzzle to match my needs. I would really like to be able to exec some PHP within the template (I have the Exec PHP plugin installed). More precisely, I would like have a line like this work from inside the template:
<?php echo get_user_meta( %id%, ‘weapon’, true); ?>
Using %id% as one of the defaults you supply. I know I could just make the “weapon” field as an added field through your plugin, but it has already been made for all my users, and reconfiguring all of them would be a bore. Can this be done?
- The topic ‘[Plugin: People Lists] Executing PHP in a template’ is closed to new replies.