schema.org

This topic contains 9 replies, has 3 voices, and was last updated by  Paolo 8 years, 9 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #113998

    wasanajones
    Buyer
    Post count: 180

    choices for category creation don’t include all the latest schema

    how can we fix this

    #114003

    Guust
    Moderator
    Post count: 29970
    #114015

    wasanajones
    Buyer
    Post count: 180

    so the geodirectory policy is that we have to create a plugin and edit it each time we discover that the default values provided by geodir are outdated?

    #114061

    Guust
    Moderator
    Post count: 29970

    No, the policy is to add all the most common ones and most requested ones, and also to provide the option to add your own. As far as I know the list of default ones included will be expanded in the next update.

    #114192

    wasanajones
    Buyer
    Post count: 180

    Hi –

    unfortunately I can’t get that plugin to update the category schema and I’m sort of stuck – I’m ready to upload a gazillion listings and I don’t want them to get indexed without the right schema.

    It activates, just won’t add schema – I posted on the thread you referred me to.

    I gave up playing with the plugin and simply edited cat_meta.php

    thanks

    #114216

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    Stiofan replied on the other post. if you tell us what you are trying to do and give us access to your website, we could check what you are not doing correctly.

    Let us know,

    Thanks

    #114251

    wasanajones
    Buyer
    Post count: 180

    I edited cat_meta.php to include more schema

    I think it will be easier to just edit that as updates occur than mess around with the plugin

    #114253

    Paolo
    Site Admin
    Post count: 31206

    You will lose your changes after every update, while if you do it via a plugin that you control, you won’t have that problem.

    In any case it’s your decision.

    Thanks

    #114258

    wasanajones
    Buyer
    Post count: 180

    have you tried the plugin yourself? I couldn’t get it to work

    #114285

    Paolo
    Site Admin
    Post count: 31206

    Yes i did and it works.

    1st you need to repace this file: geodirectory-functions/cat-meta-functions/cat_meta.php

    With : https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory-functions/cat-meta-functions/cat_meta.php

    This was noted here: https://wpgeodirectory.com/support/topic/schema-type-for-custom-post-type-what-is-schema-type/#post-65129

    Than create the plugin, change this 2 lines according to your needs:

    
    
      $schemas['NewSchema'] = 'NewSchema';
      $schemas['AnotherNewSchema'] = 'AnotherNewSchema';
    

    Upload and activate and the new schema is added.

    Thanks

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount