![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am trying to add a few additional fields for the listing.php file. What my goal is, is too have an image of a pdf, image of a brochure and a icon for a virtual tour. Then all I would have to do is add the URL and the image will be linked to that file. So for each listing the layout will be the same with the three images, but the updates are easily done in the post. Similiar to how you add the photo URL and the image appears on the page. But with this, the image will already be there, the link is what we will add to the file.
I have updated the listing.php file and have updated write-panel.php, but I must be missing another php file for I am not inserting the right code to capture a URL. I was snagging the info from the photo URL code. write-panel.php - this is only added "additional information" Like I stated above I would like to have an image and it linked to a URL echo '<label for="_addtional_information">' . __("Additional Information:", 'sp' ) . '</label> '; echo '<textarea style="width: 95%;height: 100px;" name="_additional_information">' . get_post_meta($post->ID, '_additional_Information', true) . '</textarea> '; Please let me know if there is additional information I can provide you. Thanks, Debbie |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fields on Property Listing | karenjill | General Discussion | 5 | 02-18-2010 03:17 AM |
| Listing.php - blank fields... | Karyn | General Discussion | 5 | 01-13-2010 12:32 PM |
| Property Listing Fields | stevetrang | General Discussion | 1 | 11-11-2009 01:24 PM |
| adding fields to listing | joehark | General Discussion | 5 | 02-25-2009 06:54 PM |
| How Can I Add Extra Additional Image Fields? | Smart Movez | General Discussion | 2 | 02-20-2009 12:03 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us