You are here:  » Product title displayed on top of page


Product title displayed on top of page

Submitted by marco@flapper on Fri, 2012-11-02 09:54 in

Hi,
I did something that makes the productitle appear on top of each page, but I don't want it there. I looked at the source of the page and it lists something like:
Acer Veriton 1xxx/2xx/4xx en Acer Extensa PC) | Best Price

I set Header Exclusivity on True as I need this for a canonical link fix.

Submitted by support on Fri, 2012-11-02 10:15

Hi Marco,

That looks like the page title construction; but the <title> tag is missing! Normally WordPress inserts this and the plugin title function returns only the content; but this can be theme dependant so you can easily make the plugin include the tags.

In pto.php look for the following code at line 460:

  return $content;

(this is the return statement of the pto_title() function)

...and REPLACE with:

  return "<title>".$content."</title>";

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by marco@flapper on Fri, 2012-11-02 10:27

Thanks, this works but I stumbled in a new problem. I'll make a new topic.