View jp-api-post-editor.js
(function($){
var url = JP_POST_EDITOR.root;
url += 'wp/v2/posts';
function getPostsByUser( defaultID ) {
url += '?author=';
url += JP_POST_EDITOR.userID;
url += '&[per_page]=20';
$.ajax({
View wordpress.nginx
##
# @server studio
# @host hackisition.com
# @desc nginx host rules
# @author Julien Le Coupanec <julien@gentlenode.com>
##
# HTTP Server
server {
listen 80;
View .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>