Add value from JetEngine custom field to meta title

#653196
  • Resolved Maksym
    Rank Math free

    Hello,
    I read your article about Crocoblock integration (https://rankmath.com/kb/crocoblock-integration/).

    But I have a question about displaying value from JetEngine custom field in meta-title.

    I found an article (https://rankmath.com/kb/advanced-custom-fields/) where you explain how to display ACF value.

    But how I can display JetEngine’s custom field? Is there any shortcode/macros?

    For example, I have a custom field:
    https://ibb.co/1RgRZgs

    Here is his field name — case_card-subheading

    In your example, you’re using %customfield(FIELD_NAME)% to display ACF field in meta-title. I tried, but it doesn’t work for JetEngine (probably because ACF option is disabled since isn’t installed).

    I also contacted Crocoblock’s support, they told me to ask you.

    Thanks in advance!

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

    Thank you for your query and we are so sorry about the trouble this must have caused.

    In this case, you would need to create a custom variable that would fetch the data from the custom field directly from the database.

    Here’s an example of how to create a custom variable so you can have an idea of the custom code you need to create: https://rankmath.com/kb/variables-in-seo-title-description/#how-to-add-custom-variables

    This would require some prior knowledge of PHP to create a custom callback function that would fetch the data from the correct place in the database.

    Don’t hesitate to get in touch if you have any other questions.

    Maksym
    Rank Math free

    Hello Miguel,
    Thank you so much! Your article helped and it worked 🙂

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

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

You must be logged in to reply to this ticket.