-
Hi,
how to get the custom canonical text of a specific URL (that we set in advance tab of )as you can see on this Heater Category Page
On the very top, you can see the page title as Heater price in Pakistan (it is good for SEO).
just below it, I have set the canonical text as Heaters (as by default it was displaying page title there).now I want to get this canonical text from code (using my funcation.php of WordPress).
please guide how to do it,
EG: $product->get_type();
is there some fucnation like $product->get_canonical_text() ? if now, please suggest alterative to getch that text from db
The ticket ‘How to get and display canonical text via code’ is closed to new replies.