meta variable for custom field of custom taxonomy in post

#304997
  • Resolved Francois Gonin
    Rank Math free

    Hello

    I know how to add more variables with the hooks. But how to get the value from a custom field of a custom taxonomy in a post? (same like the taxonomy description field, which is integrated by default also for posts). Is this also possible via hooks?
    Thanks for further help.

    François

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    Can you please confirm if the custom field is available inside the post editor? If it is then you can try using %customfield(field_name)% variable and check if it fetches the value.

    Let us know how that goes. Looking forward to helping you.

    Hi

    Thanks for your reply.

    No, the field is not available because it’s a taxonomy field. I thought you have maybe a simple solution because the description-field of taxonomies (which also is a taxonomy field) is fetched by default from RankMath.

    Hello,

    This falls out of the scope of our support. Please hire a developer to modify the filter to get the value from the fields of taxonomies and show it in your posts.

    Please don’t hesitate to get in touch in case you need any other assistance.

    Thanks.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘meta variable for custom field of custom taxonomy in post’ is closed to new replies.