There are times when you want to check the processing by outputting the debug log in WordPress. In that case, you can output to the log file by setting in wp-config.php.
That way is very easy. Since it explains with sample code, it ends soon. Let's see it now.
In WordPress, copying from the production environment to create the development environment, copying from the development environment to create the production environment may be.
To do that work, there are roughly a copy of the DB, a copy of the plugin, a copy of the theme, a copy of the upload file such as a media file.
The way to explain from now on is possible with WordPress multi-site.
I could not add menus with "Appearance -> Menus" in WordPress' s multi - site subsite. Moreover, a phenomenon which can not be edited occurred.
The cause was in the Category Order and Taxonomy Terms Order plug-in.
Details of the cause and how to deal with it.
How to build WordPress development environment with Atom of text editor.
I do not do any difficult things. Just install and configure the required packages.
When creating an English site based on a Japanese site, we simply set up a translation file (en_US.mo) on the English site.
Next, I defined functions.php to call load_child_theme_textdomain () with the after_setup_theme action.
However, when I try to debug it I can not read the translation file.
The result of investigating the cause, the solution. (WordPress 4.8.1 - 4.9.2)
We will introduce the packages recommended for WordPress development environment at Atom of text editor.
It is a method of basic authentication with web server nginx.
nginx does not use .htaccess file.
It is a way to implement Ajax on WordPress publishing site.
WordPress is not assuming too much to use Ajax on publishing sites. However, there is a way to implement it and its way is very easy.
It is a method of performing secure communication with WordPress Ajax. It can be easily implemented by using a nonce.
This is how to implement Ajax when creating WordPress management screen.