이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

AJAX Table with Custom CRUD API

설명

‘AJAX Table with Custom CRUD API’ generates Custom CRUD based REST API for the selected database table enabling user to perform Add/Edit/Delete operations. It also helps to display data from API beautifully using Short Code: [AJDT api=’API-NAME’].

Features:

  • Generates CRUD based Custom REST API
  • Displays API data using AJAX with shortcode format [AJDT api=’API-NAME’]
  • Integrates Bootsrap table
  • Search records with AJAX
  • Filter visibility by data category.
  • No reloading, only ajax

How It Works:

  • Install and activate plugin
  • Go to Admin area -> AJDT Settings
  • Create API by selecting database table. Test the api by clicking URL field*

Usage of API:

  • Create API by visiting – Go to Admin area -> AJDT Settings
  • Get the API Name and API URL
  • Test API URL using POSTMAN or any other API testing tool with authentication header ‘X-WP-Nonce’ with wordpress Rest Nonce
  • Use the short code wherever required to display the data
  • Syntax
    [AJDT api=’ API – Name given while creation from via AJDT Settings’]
  • Short Code example:-
    [AJDT api=’MY-API-NAME’]
  • From Code example:-
    echo do_shortcode(“[AJDT api=’MY-API-NAME’]”);

1.1.1

  • Initial version

스크린샷

  • AJDT Settings page for managing custom REST APIs.
  • API Create New Page.
  • ‘Short Codes’ for viewing, and displaying API data
  • Sample API data

설치

  1. Install ‘AJAX Table with Custom CRUD API’ either via the WordPress.org plugin directory, or by uploading the files to your server
  2. Activate ‘AJAX Table with Custom CRUD API’ and you’re ready to go!

FAQ

  • Can I use generated REST api in my custom modules? What authentication method should I use?
    Yes, you need to WordPress Cookie Authentication(‘X-WP-Nonce’). For more info about Cookie Authentication, please refer: https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/
  • What are the HTTP Methods supported ?
    GET, POST and DELETE
  • How to render API data from php code?
    Use echo do_shortcode(“[AJDT api=’MY-API-NAME’]”); Here the MY-API-NAME is the user defined name provided while creating the API.
  • My shortcode is not working !
    If shortcode content is not seen printed, check the WP settings to see if any option is enabled to restrict where and when shortcode is printed. Also confirm if the shortcode API-NAME is correct and there is no duplicate api attribute for the shortcode. Please try the shortcode content in an isolated environment and confirm if the shortcode content is working correctly as expected.

후기

모든 1 평가 읽기

기여자 & 개발자

“AJAX Table with Custom CRUD API”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “AJAX Table with Custom CRUD API”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.