WP Travel Engine Custom Description

#614599
  • Resolved Anonymous
    Rank Math free

    I’m trying to add WP Travel Engine’s information to the description tab of all “trips” nothing works like %customterm(trip-description)% %customterm(overview)% %customfield(overview)% %customfield(trip-description)%. It just says “custom term value”.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    To retrieve the custom fields, you would need to use the %customfield(field-name)% variable like we have explained using ACF:
    https://rankmath.com/kb/advanced-custom-fields/#num-1-4-include-the-custom-field-value-in-your-seo-metadata

    That will fetch the data from the postmeta table for the entries that have the meta_key of the field name and will return empty if the values don’t exist with the same key in the database.

    Alternatively, you can contact the support folks from the plugin/theme that creates these fields and ask if how you can retrieve the values of those fields using PHP so we can insert them into our custom variable.

    You may refer to our guide on how to create custom variables: https://rankmath.com/kb/variables-in-seo-title-description/#how-to-add-custom-variables

    Looking forward to helping you.

    Thank you.

    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 1 replies (of 1 total)

The ticket ‘WP Travel Engine Custom Description’ is closed to new replies.