Yoast Titles & Meta

This topic contains 5 replies, has 3 voices, and was last updated by  Stiofan O’Connor 7 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #282991

    Diane Kelm
    Buyer
    Post count: 49

    I am using yoast.
    Is there a variable to get the directory category in the title?

    something like woocommerce uses: | %%ct_product_cat%% |

    i tried %%category%% and that doesn’t work

    #283311

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    for which page? Can you provide the link of an example where you need the category to show in title?

    Let us know,

    Thanks

    #283312

    Diane Kelm
    Buyer
    Post count: 49

    Directory details listing page.

    #283401

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    try with

    %%term_title%%

    instead of category.

    Let me know how it goes,

    Thanks

    #283631

    Diane Kelm
    Buyer
    Post count: 49

    I get an error:
    Warning: the variable %%term_title%% cannot be used in this template. See the help tab for more info.

    #283724

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I am unfamiliar with Yoast vars, it should just be their standard var for category title on a category page?

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket