Show Custom Field of Current Page in For Loop

You must pass the $post->ID to the function or setting up the current post via a call to $specialPosts->the_post() that fills it for you See get_post_custom_values documentation in the codex or this page on how to use it. Try <?php $specialPosts = new WP_Query(); $specialPosts->query(‘pagename=page-‘.$i.”); while($specialPosts->have_posts()): $specialPosts->the_post(); $mykey_values = get_post_custom_values(‘custom_select’); foreach ( $mykey_values as $key … Read more

How To Use Custom Fields With .mp3 Links

First you need to create that custom field and choose an apropriate name, then you can paste your link and save the post. After that, you must open your single.php file (or the file where you want the link to exist) and insert the following inside the loop: <?php //first i select which custom field … Read more

How can I add user profile fields to my mailpress mailout

This page seems to have the variables you need: http://www.mailpress.org/wiki/index.php?title=Manual:Api:Mail If you use $args->toname in your email code somewhere, that should display their name. Please note that I just skimmed through the site and found this, so I can’t guarantee it works since I don’t know what your current code looks like nor have I … Read more