Something so simple should be much easier to do.
On my listing pages I have a sidebar that pulls certain custom post fields and displays the title and the information. It may be seen here. (Everything from "Price" down is a custom field.)
In the PHP file that displays this data, the code is:
if (!$preview){
echo get_post_custom_listing_single_page($post->ID,'<p><span class="post_cus_field {#HTMLVAR#}">{#TITLE#} : </span>{#VALUE#}</p>');
} elseif ($preview && $_REQUEST['alook']){
echo get_post_custom_listing_single_page(mysql_real_escape_string($_REQUEST['pid']),'<p><span class="{#HTMLVAR#}">{#TITLE#}</span> : {#VALUE#}</p>');
} else {
echo get_post_custom_listing_single_page_preview($post->ID,'<p><span class="post_cus_field {#HTMLVAR#}">{#TITLE#} : </span>{#VALUE#}</p>');
}
I simply want to re-create this at the bottom part of the post (under the main information). I think I need to re-create the loop and then call the above information, but I'm having trouble figuring this out.
Any Wordpress gurus out there that are able to help?
(Also, ultimately, I want to be able to call each individual custom post field ("price", "Accomodation", etc..., and then display that in a either tabs or an accordion script.)
Thanks!