Custom Fields in Wordpress

PLEASE ANYONE HELP I AM DESPERATE AND GOING CRAZY!!!

I am using wordpress, dreamweaver, power play template, associated posts pro and advanced custom fields plugin.
I am trying to do something simple (i think) but just can’t figure out what i am doing wrong.

I want to have three custom fields for each post : location, phone, website.
I want the data entered into these 3 fields to appear on the individual post page (I have succeed in doing this)
I want the data entered into these 3 fields to appear with its post when associated with a page. (can’t figure it out!)

example:

I have 4 POSTS each with a category of RESTAURANTS each POST contains a location, phone, and website when viewing each POST individually I can see where each place is located, etc.

However when I load the RESTAURANTS PAGE the 4 associated POSTS appear below the page title however the values for each location, phone, website for each post is no longer appearing.

Please help!!!
I need details…What code goes into the functions.php, the post.php and the page.php or the Advanced custom plugin or the associated post plugin.

THANK YOU FOR HELPING!!!

How are you displaying your posts on a page?

If you are using the archive template archive.php then you will have to create a new one called archive-restaurants.php and add your custom fields in to the code. There is an excellent article in the Wordpress codex on how to do this.

Sponsor our Newsletter | Privacy Policy | Terms of Service