Custom Schema Types?

This topic contains 4 replies, has 3 voices, and was last updated by  Khaled 5 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #465262

    Khaled
    Expired Member
    Post count: 16

    Hi,
    Can we add new (Schema Types) on the categories?
    I want to add Cinemas & Movies categories to a custom post type something like: MovieTheater https://schema.org/MovieTheater
    will it work if i add it to the get_schemas() function in class-geodir-admin-taxonomies on /geodirectory/includes/admin/
    or it’s more complex than this? any recommandation what schema type should i use for theaters & movies?
    Thanks

    #465282

    Paolo
    Site Admin
    Post count: 31206

    There is a hook to add new schema types. Are you using V2 or V1? A developer will get back to you as soon as we know for which version you need this. I’m not sure the hook is the same.

    Thanks

    #465283

    Khaled
    Expired Member
    Post count: 16

    I am using V2 hope the hook is for it.
    Thanks

    #465372

    Kiran
    Moderator
    Post count: 7069

    Hello Khaled,

    To include more schema, you can you snippet provided here https://wpgeodirectory.com/support/topic/schema-type-for-custom-post-type-what-is-schema-type/page/3/#post-122410

    Kiran

    #465459

    Khaled
    Expired Member
    Post count: 16

    Hi Kiran,
    Thanks a lot. i did a search on your /docs for this but didn’t search the forums sorry for this.
    Best,

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket