JonXavier Posted August 21, 2013 Share Posted August 21, 2013 (edited) Hello, I need some basic PHP help. My wordpress code is <?php $this->textarea( 'full_address', 'Google Maps Full Address', 'Paste full address for google maps location INCLUDING neighborhood before Chicago. Ex: 300 Main Ave, Downtown, Chicago, IL 60606.' ); After the text line "paste full...", I want to add a link that says, "Click here to see a map of all the neighborhoods". And the link would link to a .jpg. And I also need rel="prettyPhoto" added to the a href link. Can someone help me with this? I've played around with it for a while, and keep getting errors. Thank you. Edited August 21, 2013 by JonXavier Quote Link to comment https://forums.phpfreaks.com/topic/281416-need-some-basic-php-help/ Share on other sites More sharing options...
gotoguy47 Posted August 21, 2013 Share Posted August 21, 2013 did you try something like this ? <?php $link = 'Paste full <a href="can be any link" rel="prettyPhoto" >click now</a> ....'; $this->textarea( 'full_address', 'Google Maps Full Address', $link ); Quote Link to comment https://forums.phpfreaks.com/topic/281416-need-some-basic-php-help/#findComment-1446061 Share on other sites More sharing options...
JonXavier Posted August 21, 2013 Author Share Posted August 21, 2013 That just seems to make my page come to an end. Quote Link to comment https://forums.phpfreaks.com/topic/281416-need-some-basic-php-help/#findComment-1446071 Share on other sites More sharing options...
QuickOldCar Posted August 21, 2013 Share Posted August 21, 2013 $link = "Paste full <a href='photo.jpg' rel='prettyPhoto'>click now</a> ...."; Quote Link to comment https://forums.phpfreaks.com/topic/281416-need-some-basic-php-help/#findComment-1446160 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.