Creating a custom listing template (single-listing.php)
-
I’d like to create a custom template for my listings, something that allows me to automatically deal with each listing property as I see fit, rather than having my client use the wysiwyg editor for each listing.
Can someone explain how I would access the values that are being saved on the listing (Price, Address, City, etc.) from my (soon to be created) single-listing.php. I guess optimally, if someone could provide a short block of code that iterates through the array, and prints it to the page I can take it from there.
As a follow-up question, are there any caveats I should be aware of regarding adding additional values to the listings array. (e.g. Taxes, Number or Stories, Cross Street, etc.)
Thank you for any help or insight.
-C
- The topic ‘Creating a custom listing template (single-listing.php)’ is closed to new replies.