Display all values custom taxonomy in seo description/title

#191568
  • Resolved elfigos
    Rank Math free

    With wp core tag I can show advanced %tags(limit=3&separator= | &exclude=12,23)%

    1) Can I do it also with a custom taxonomy? Something like %customterm(taxonomy limit=3&separator= | &exclude=12,23)%

    2) I’m using CPT-onomies plugin to use custom post type as taxonomy, can I show a custom field of a CPT-onomy in seo meta tag?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Cris
    Rank Math business

    Hello,

    Thank you for contacting us, let me assist you.

    Yes, the Rank Math plugin is able to handle that and the UI is much simpler. Here’s an example:
    https://i.rankmath.com/V8UkOL

    Also, we highly recommend going through the following guide to set up the plugin complete and correctly:
    https://www.wpmediamastery.com/rank-math-seo/

    Hope that helps. If there’s anything else, please let us know.

    Cheers,

    I’m sorry but this is not the solution I was searching for, what I meant is, how can I show all the customterms of a taxonomy with limit and separator in seo metabox. Like this one below but not for wp core tag, I want it to be a custom taxonomy:

    %tags(limit=3&separator= | &exclude=12,23)%

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us.

    This depends on how you have set up your CPT taxonomies. I have just created a simple CPT with the same plugin and used the same format of the variable used on the normal WordPress posts types.

    The result is the same only that the changes will take effect once the page loads. You can view the page source to see the actual meta title/description.

    Therefore in this case I have used the variable %categories(limit=2 & separator = | & exclude= 1, 30)% on a post CPT that has 4 categories and limited it to show 2 and excluded the other two using their respective IDs.

    Here is a sample screenshot: https://i.rankmath.com/T5WLsx
    Here is the result meta desc: https://i.rankmath.com/eag5UB

    This will depend on how you have linked your taxonomies. In this case, taxonomies being used seems to be from normal WP posts as shown in that plugin’s CPT settings here: https://i.rankmath.com/XTaGoV.

    Could you be having the same setup. If so you can as well use that variable for your meta tags sections.

    We are looking forward to helping you.
    Thank you.

    Nevermind, thank you. I just figured out how to make %custom% in the other ticket. Thanks again.

    Solved

    Anas
    Rank Math business

    Hello,

    We are happy that your issue is resolved.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Display all values custom taxonomy in seo description/title’ is closed to new replies.