Plugin Directory

Changeset 2238478


Ignore:
Timestamp:
02/04/2020 04:33:39 PM (5 years ago)
Author:
JasmanXcrew
Message:

fix readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rest-api-helper/trunk/readme.txt

    r2238475 r2238478  
    29292. Activate the plugin through the 'Plugins' menu in WordPress
    3030
     31
    3132for enable Woo product and categories, edit rest-api-helper.php change line, or add code in wp-config.php
     33
    3234    define("IMH_WOO", false);
     35   
    3336to
     37
    3438    define("IMH_WOO", true);
    3539
    3640
    3741You can changing custom field for gallery (default woo using _product_image_gallery metakey), edit rest-api-helper.php change line
     42   
    3843    define("IMH_WOO_ACF_GALLERY", '_product_image_gallery');
     44   
    3945to
     46
    4047    define("IMH_WOO_ACF_GALLERY", 'images');
    4148
     
    4653
    4754for enable oneSignal Sender
     55
    4856    define("IMH_ONESIGNAL_PUSH", false);
     57   
    4958to
     59
    5060    define("IMH_ONESIGNAL_PUSH", true);
    5161
     
    7989
    8090send comment using url like this:
     91
    8192    http://wordpress.co.id/wp-json/wp/v2/comments?author_name=Your Name Here&[email protected]&author_name=Your Name Here&content=Your Comment Here&post=20
    8293
     
    8596
    8697Response is:
     98
    8799    [vc_row]Hello World . . .[/vc_row]
     100   
    88101Response should be:
     102
    89103    <div class="row">Hello World . . .</div>
     104   
    90105
    91106Add this code on wp-config.php
     107
    92108    define("IMH_VC_SHORTCODE",true);
    93109
Note: See TracChangeset for help on using the changeset viewer.