From:
http://www.example.com/shopping?pto_q=roma+capitale
To:
http://www.example.com/search/roma-capitale/
Thanks
Francesco
Using
[pto search="Keywords"]
result for pages after the first
From
{link saved}
To similar to
{link saved}
it is possible?
Hi Francesco;
Using [pto search="Keywords"] should be displaying the navigation bar if there are more results than the configured number of results to display per page; however if you want to display a particular page via the shortcode this can be done with a simple modification.
In pto.php look the following code at line 514:
if (isset($atts["maxprice"])) $pto_maxPrice = $atts["maxprice"];
...and then add the following code at this point:
global $pto_page;
if (isset($atts["page"])) $pto_page = $atts["page"];
Then you can use:
[pto search="Keywords" page="2"]
Cheers,
David.
--
PriceTapestry.com
Hi Francesco,
Yes that should be possible; it's not totally straight forward as it has to hook into the code before any headers have been generated so that the form submission can be redirected to /search/ (although it may need to be something different as WordPress already hooks /search/ as far as I know...) but I'll check it out on my test server and get back to you (I'll update this thread for the benefit of other users and drop you an email to let you know...)
Cheers,
David.
--
PriceTapestry.com