I have 2 WordPress pages template pr1.php and pr2.php.
The pr1.php below has links that send data to the pr2.php
Basically, the pr2.php template retrieves the URL data with the wp query
$ wp_query-> query_vars[ 'page' ];
does it work to get the data from the 1st url but no output for the 2nd and 3rd?
pr2.php Page Template
query_vars[ ‘page’ ];
echo $ locationString;
for the 1st url is the issue
but nothing if I click 2nd and 3rd url?
Please let me know, what's going on?