Category: Wordpress

Wordpress configuration

Moving WordPress configuration file

- by

By default, the WordPress configuration file is located in the root of your website. In the event that PHP stops functioning on your web server for any reason, you run the risk of this file being displayed in plaintext, which will give up your password and database information to visitors.   So, where do you... View Article

Wordpress configuration

Using wp_localize_script() in WordPress

- by

I’ve recently used wp_localize_script function for building a custom contact form.   What is wp_localize_script? If you don’t know what wp_localize_script is and how it works you can read about it on the WordPress codex website. Localizes a registered script with data for a JavaScript variable.   How can it be useful for our code?... View Article