Jump to content

Need some basic PHP help


JonXavier

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/281416-need-some-basic-php-help/
Share on other sites

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
            );

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.