• Hi,
    I really like this plugin and I thank you so much for building it!
    I just can’t get my head around how to add new Markup Types.
    I’ve read trough your documentation and read this page multiple times. But unfortunately I’m unclear as to what needs to be done after I instert this filter to functions.php.
    Could you please direct me or maybe provide a short tutorial on how to “create additional callback functions for type properties”, as you wrote in the article.

    Thank you so much!
    M.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hesham Zebida

    (@hishaman)

    After you add the function to your Theme’s functions.php file, you will find the new type you’ve set under Schema > Types. You can then create a new Type entry to enable on a specific post type.

    I know this maybe confusing, and also in some cases it won’t be straightforward. You will mostly need to extend schema markup output to add support for the Schema properties of the Type you’ve added.

    I hope this helps.

    Thread Starter nostro

    (@nostro)

    Hi Hesham,

    and thanks for your reply. I tried your suggestion:

    • I updated functions.php of my child theme with the filter you shared in the link mentioned above
    • I open wp-admin/Schema/Types/Add new, but can’t see the new type, only previously existing ones.
    • What am I doing wrong?

    Plugin Author Hesham Zebida

    (@hishaman)

    I really don’t know!

    But, if the filter has been used during the page load, it certainly should add the new type!

    Anyone find a solution to this? I too tried these instructions;
    https://schema.press/docs/adding-support-new-schema-org-types/
    However I still only see the ‘Article’ type in the drop down box.

    Hi @geez1 / @nostro,

    Did you manage to get any further adding new schema types?

    Thanks

    Tim

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to add new Markup Types’ is closed to new replies.