You are here:  » Cayegory name rather than shopping as title on page

Active Forum Topics


Cayegory name rather than shopping as title on page

Submitted by wilkins on Sun, 2020-05-24 10:43 in

Hi David

Building site everything OK just need to chenge the title on page from shopping to category or brend page, example page {link saved}

regards

Brent

Submitted by support on Sun, 2020-05-24 11:04

Hello Brent,

Sure - if you edit the plugin file pto.php and look for the following code at line 638:

        $title = htmlentities($pto_q,ENT_QUOTES,get_option("blog_charset"));

...and REPLACE with:

        $parts = explode(":",$pto_q);
        if (isset($parts[1]))
        {
          $title = htmlentities($parts[1],ENT_QUOTES,get_option("blog_charset"));
          $title_override = TRUE;
        }
        else
        {
          $title = htmlentities($pto_q,ENT_QUOTES,get_option("blog_charset"));
        }

Cheers,
David.
--
PriceTapestry.com