Custom Shortcode to display certain Values of Job Posting Schema

#684821
  • Resolved Online Rebellion
    Rank Math free

    Hi RankMath Team

    Is it possible to only display certain values via the rank_math_rich_snippet.
    For Example using the Snippet for the Job Posting Schema gives me all Values of the jobposting.php File (e.g baseSalary, currency, datePosted etc.)

    -How can i only display the base Salary for example. Is this possible using the RankMath Hooks Option?
    -Can i create own Shortcodes which access the job Posting Values one by one?

    Best Regards

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

    We apologize for the inconvenience you’re experiencing. Currently, Rank Math does not have a built-in feature to display only specific values of the JobPosting Schema using the rank_math_rich_snippet shortcode. Additionally, creating custom shortcodes to access individual job posting values is not supported through Rank Math’s hooks option.

    If you need to display specific values of the JobPosting Schema, you may need to consider custom development or using other methods to extract and display the desired information from the schema.

    We understand the importance of having this functionality, and we’ll make sure to pass on your feedback to our development team for consideration in future updates.

    If you have any other questions or need further assistance, please feel free to ask.

    Best regards

    Sources:
    JobPosting Schema Type » Rank Math
    Configuring “Schema Markup” in Rank Math » Rank Math

    Hi,

    ok I Understand.
    I know that rank Math Post Data is stored in the Database Table “postmeta”. I have an entry for a certain postID with the meta_key = rank_math_schema_JobPosting. In the meta_value field are the different data values stored. However i cannot find certain values. Like the Values for Adress, Place, title etc. are all there, but values for baseSalary not, even though i defined them in the Post Rank Math Schema Tab.
    Are they stored somewhere else?
    Which database tables does Rank Math use to store the informations for each Post Schema?

    Hello,

    Those values should also show in the same meta_value, can you please try to find the property using your database browser/panel and see if you can locate the properties?

    Also, the rank_math_schema_JobPosting meta is serialized so to read it programmatically, you need to process the raw data first.

    Looking forward to helping you with this one.

    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 ‘Custom Shortcode to display certain Values of Job Posting Schema’ is closed to new replies.