Is there any easy way I can modify the title tag generated by the search pages? At the moment it is coming out as Jeans | 6 | priceAsc | shopping | ETFTG which doesn't look good in the search engines.
The important thing is that the titles are unique to avoid duplicate title issues, which is achieved easily by the inclusion of the page and sort parameters (if not default). However it is straight forward to modify, given the title:
Jeans | 6 | priceAsc | shopping | ETFTG
...could you post your preferred alternative, additional text can be included e.g. "Page", "Sorted by" etc. and from that I can post the appropriate modification for you...
I would rather Jeans | 6 | ETFTG - ie I don't need shopping or the price filter in the title
To remove the sort, locate the following code around line 279 of pto.php
if ($pto_sort != "relevance")
$title .= " | ".$pto_sort;
...and either comment out or delete that block.
To remove the "shopping" part (which is the original title before the plugin custom parts are added, locate the following code at line 290:
$content = $title." | ".$content;
...and REPLACE with just:
$content = $title;
Hope this helps!
Much better, thanks.