★ Pre-fill Schema fields using Custom Fields ?

#66172
  • Resolved Surendra.S
    Rank Math free

    Hi Support,

    Is it possible to assign Custom Fields to Schema fields ?

    Its very difficult to manually fill all data for Schema for hundreds of postings.

    I am trying to use ‘Job Postings’ schema.

    As I did not fill the Schema data for each job posting, I started getting Google Console Errors & Warnings.

    If this feature of filling Schema fields data from Custom Fields is not available in free plugin, will it be at least available in your Paid plugin ?

    I dont want to use another plugin for this purpose.

    Please reply whats your suggestion.

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.

    If you know a little about coding or if you have a dev in your team you could be able to achieve it using our API. With this filter and some modifications you should be able to achieve it:

    **
     * Filter to change the schema data.
     * Replace $schmea_type with schema name like article, review, etc.
     * @param array $entity Snippet Data
     * @return array
     */
    add_filter( "rank_math/snippet/rich_snippet_{$schema}_entity", function( $entity ) {
     /* Here you would get the data from the custom fields and fill your schema */
     return $entity;
    });

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Even though I am not a developer, good to know at least there is some programmatical way to do it !

    Any idea if this feature will be available in Premium version of RANKMATH ?

    Alberto
    Rank Math business

    Hello,

    Right now we don’t have a public list of features we will have on the pro version, but I will send the suggestion to the dev team.

    Hope it helps 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 ‘★ Pre-fill Schema fields using Custom Fields ?’ is closed to new replies.