add product category to page title for product pages
-
Hi,
i have spent hours trawling through posts trying to find an answer to this problem but with no luck so far.
i am sure the answer is out there but i am a little too stupid to find it or perhaps how to search for it
i would like my product pages to have a page title that displayed like this:
PRODUCT NAME – PRODUCT CATEGORY NAME
The standard setting is:
%%title%% %%page%% %%sep%% %%sitename%%
which gives you:
PRODUCT NAME – WEBSITE NAME
I have tried replacing %%sitename%% with %%category%%, %%primary_category%% and %%category_description%% but none of these displayed anythgin in the product title
I then thought perhaps i should use %%term_title%% but i got a message saying:
“Warning: the variable %%term_title%% cannot be used in this template. See the help centre for more info.”
Can anyone point me in the right direction?
I would also like to get rid of ‘ARCHIVES’ which seems to appear all over my page titles as well – is there any easy way to do this within YOAST as i am not a coder and cannot mess with CSS.
Many thanks!
- The topic ‘add product category to page title for product pages’ is closed to new replies.