Want to add php to echo different phone num. per site on multi-sites
-
I have a network setup with various sites (1 per city), and I am wanting to have the local phone number show up on each one depending on the city. I am learning php, but am not there quite yet. I am thinking something like
if $page = ("city 1") {
print "817-000-0000")
}elseif ("city 2"){
}
or something like that. I know, I know, lousy php, I am learning. I thought maybe using custom fields, but I really think it is simpler than this. Any thoughts? Thanks.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Want to add php to echo different phone num. per site on multi-sites’ is closed to new replies.