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.
Will my php files work like this?
Many thanks in advance.
- The topic ‘Linking to pages in wordpress installation’ is closed to new replies.