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.

Edited by JonXavier
Link to comment
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
            );

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.