Hi David
Finaly got round to doing some work with the wordpress plugin
Just wondering how I can get the " symbol to display properly in my product tiltes
So it displays
LG 32LS570T Full HD 32" LED TV
Instead of
LG 32LS570T Full HD 32" LED TV
see for example
{link saved}
Also on brand and merchant pages what do I need to remove within the plugin to get rid of the words brand: and merchant: at the start of my titles
Hi David
Thanks for the quick responce dont see a linked thread
Also added that code dosent seem to make any changes
Regards
Anthony
Hi Anthony,
Link to HTML Entity Decode filter added above, sorry about that!
Regarding the title, please could you post a link to a brand: search page on your site showing the problem (I'll remove before publishing your reply) and i'll check it out for you...
Cheers,
David.
--
PriceTapestry.com
Thanks thats David thats the inch symbols sorted
This is an example of what im looking to fix with the brands/merchants
{link saved}
Regards
Anthony
Hi Anthony,
I see that it has had the desired effect in the HTML title (browser title bar) but I'm not sure what code is in place to display the first part of your page title on the search results page (class="nice_title") as the same search / replace operation would need to be applied to that...
Perhaps if you could email me your pto.php and pto_search.php I'll be able to see any changes in place and work out where to put the replacement for you...
Thanks,
David.
--
PriceTapestry.com
Hi,
The tidiest solution would be a new filter - HTML Entity Decode - which will remove the quote entity at import time (any characters that need to be encoded are then encoded at display time which is more appropriate). You'll find the new filter code in this thread.
Regarding removal of merchant:, category: etc. within the title, in pto.php look for the following code at line 431:
$title = htmlentities($pto_q,ENT_QUOTES,get_settings("blog_charset"));
...and REPLACE with:
$title = htmlentities(str_replace(array("merchant","category","brand",":"),"",$pto_q),ENT_QUOTES,get_settings("blog_charset"));
Hope this helps!
Cheers,
David.
--
PriceTapestry.com