how to get title and description value from window variable in rank math plugin

#544414
  • Resolved Nahid Salekin
    Rank Math free

    Technical help:

    how to get title and description value from window variable in rank math plugin in wordpress.

    for example I want this:

    window.rankMath.title
    window.rankMath.description

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math support.

    Unfortunately, we don’t have a feature to set the titles/descriptions to window variables.

    The data for the meta description and title are either taken from the global settings or from the postmeta table if they are added to a specific page individually.

    You can check for the presence of the postmeta keys rank_math_title and rank_math_description and if they are not present you can add them as you wish.

    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 ‘how to get title and description value from window variable in rank math plugin’ is closed to new replies.