How to call custom fields value in description in post, page, archive

#83909
  • Resolved Puneet
    Rank Math free

    How to call custom fields values in the description for posts, page, archive.

    Also if the jobposting is activated then how to call the hiring organization, Organization URL in the description.

    If jetpack is activated then in meta description the %currentdate% is not fired in the backend. If the post’s title have %currentdate% Shortcode then in rank math generated meta it’s fired today date but in jetpack generated description it’s fired as %currentdate%.

    How to fired Rank Math’s shortcodes in the whole WordPress data (Posts, Page, Archive)?

    Tried out %customfield(Field-name)% but not got any response. It’s not running custom field value.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
    ​​​​​​​
    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section. Also, share the post and custom field you want to display, so we can test it.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Puneet
    Rank Math free

    Hi,

    Now working all custom fields perfect but i saved custom posts description setting in rank Math.

    Now it’s implement for entire website posts. But I want to apply the customized description only for selected single posts template.

    For example in my website theme there are two template
    1. Default
    2. Demo

    so I wants the custom fields applied description only print for Demo post template.

    How to create filter in function.php or how it’s possible?

    Thank you

    Hello,

    We are glad to hear the first part is now working for you.

    We however do not offer customized code solutions. You can hire a developer and direct them to these filters to modify meta data according to your templates: https://rankmath.com/kb/filters-hooks-api-developer/#metadata

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

The ticket ‘How to call custom fields value in description in post, page, archive’ is closed to new replies.