Schema

This topic contains 3 replies, has 2 voices, and was last updated by  Guust 8 years, 7 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #196049

    don quixote
    Expired Member
    Post count: 667

    Where exactly do I find this?
    Here?> https://wordpress.org/plugins/search.php?q=Add+new+GD+Schema

    I’ve created a file called add_new_gd_schema.php in wp-content/plugins with this code in it

    <?php
    /*
    Plugin Name: Add new GD Schema
    Plugin URI: https://wpgeodirectory.com/
    Description: This plugin adds new category Schemas to GeoDirectory Categories.
    Author: GeoDirectory Team
    Author URI: https://wpgeodirectory.com/
    License: GPLv2 or later
    */

    add_filter(‘geodir_cat_schemas’, ‘add_new_schema’,10,1);
    function add_new_schema($schemas){
    //add new schemas
    $schemas[‘Product’] = ‘Product’;
    $schemas[‘Offer’] = ‘Offer’;
    ksort($schemas);// sort array a-z
    return $schemas;
    }

    #196250

    Guust
    Moderator
    Post count: 29970

    GD is Schema ready, there is no need to add anything. Just go to your categories, and when editing them, select a Schema Type towards the bottom of the page.

    #196277

    don quixote
    Expired Member
    Post count: 667

    Paolo sent me the above link about 30 days ago I believe that it has more categories!

    #196418

    Guust
    Moderator
    Post count: 29970
Viewing 4 posts - 1 through 4 (of 4 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