Linking to pages in wordpress installation
-
Hi Folks,
I’ve uploaded the files to the theme folder, and trying to query my php page from my homepage.php:
var searchUrl = '<?php echo get_template_directory_uri(); ?>/phpsearch.php?lat=' + center.lat() + '&lng=' + center.lng() + '&radius=' + radius;
I also have the database details file in the same folder , referenced in the phpsearch.php file.
‘require(“dbinfo.php”);’
Will my php files work like this?
Many thanks in advance.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Linking to pages in wordpress installation’ is closed to new replies.