Home Forums WoodMart support forum Meta Data (inserting the primiary category?)

Meta Data (inserting the primiary category?)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #105658

    mark-aaron
    Participant

    Is there anyway to add a categories primary category into the meta data.

    I am using the Yoast Seo plugin and on this page it says I can insert the below snippet variables to the yoast seo meta templates. But it isnt working on your template..

    https://kb.yoast.com/kb/yoast-wordpress-seo-titles-metas-template-variables/

    Primary category %%primary_category%%
    Category %%category%%

    Let me give you an example. The page below is the category ‘Dior’, it is within the ‘Watches’ primary category. Im trying to insert the word ‘Watches’ after the category name within the page title and meta description.

    https://www.hushhush.com/watches/dior/

    But the %%primary_category%% snippet isnt working? So I cant pull in the main category name?

    Help!

    Attachments:
    You must be logged in to view attached files.
    #105719

    Hello,

    Our theme does not influence the Yoast plugin functionality. Please contact Yost plugin support on this issue.

    Best Regads

Viewing 2 posts - 1 through 2 (of 2 total)