glhorsegal
New Member
Hello all,
I have taken the database from one site and created another site. With that said, I want to be able to change the city name via code and have it change through out the side. I have come up with this:
change every reference of the city name to something like <?=$cityName;?> and then in the main page, at the very top, add something like...
<?
$cityName = 'The City Name';
?>
With that said, my skill set in php is not strong enough to know if this will work and where to actually put it in. I am using WordPress and StudioPress theme
the website is: www.charlestonhomesforsale.com
Thanks for any help you can give me on this.
I have taken the database from one site and created another site. With that said, I want to be able to change the city name via code and have it change through out the side. I have come up with this:
change every reference of the city name to something like <?=$cityName;?> and then in the main page, at the very top, add something like...
<?
$cityName = 'The City Name';
?>
With that said, my skill set in php is not strong enough to know if this will work and where to actually put it in. I am using WordPress and StudioPress theme
the website is: www.charlestonhomesforsale.com
Thanks for any help you can give me on this.