Unit Text Missing and Custom Fields

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

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    What do you mean with “Unit” in this case?

    You can set as default Schema for posts in Global the Job Posting schema and you will be able to set some fields like the title and description but fields like payment will need to be set on each post (since those fields change on each publication).

    Looking forward to helping you. Thank you.

    ​​​​​​​

    I mean unitText https://prnt.sc/tnkm88 is not available on Job Posting Schema Type on Rank Math SEO Metabox

    Hmmmm so currently, we do have 178 job listings posts, so we have to manually fill out all the schemas? Do you have a hook or the like to map those fields for us?

    Hello,

    The unit text value is optional. To add it, please select a value for the Payroll field:
    img

    You can customize the following filter to change your schema:

    
    **
     * 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 ) {
     return $entity;
    });
    

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Thanks for the reply Michael,

    Does this filter can fill out all the schema details for job listing types? I mean the json/ld without filling out each of the metabox?

    Hello,

    Yes, you can fill all the Schema fields using that filter without the need for the input fields.

    Looking forward to help you.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.