WP translate or replace text

May 20, 2019

If plugin missing some translations or some text are not suitable you site here is how you replace them same time multiple languages. This code is from wpml plugin.

Translate wordpress plugin in childtheme

December 11, 2018

Find the folder for the plugin and then search for translation files. Choose the one that suits you and make a copy of it on your computer. Translate the file […]

Traditional sub navigation menu to WordPress

December 5, 2018

This example adds a submenu parameter to the wp_nav_menu function. When the submenu parameter is set to true wp_nav_menu function shows items in the second level and down in the […]

Add multiple sites to Nginx

December 20, 2017

Website First one is PHP site config to the WordPress site. Add next lines in the file. Link config file to site enabled folder Web app Next is NodeJS app […]

Install Nginx on WSL

December 20, 2017

Short process install Nginx in WSL environment. Add line Open default config and comment line out. Save and exit. Then start nginx. Open browser and type in the address bar. […]

Add nodemon in nodejs project

November 1, 2017

To watch chances to project files I install Nodemon. Nodemon restarts app automatically when there are changes. Go to project root to bash and type. And test installation. To make easier to […]

Creating Node JS Express project in a WSL enviroment

October 31, 2017

At first, I expect that you haw an environment installed, if not here is a guide. All so you need to install Node js and npm into WSL. Any Ubuntu 14 […]

Exclude category in home and other collections

October 23, 2017

To exclude categories in any queries in the homepage.  Add following code themes functions.php file. Other possibilities can be found in here. This is a useful example if you what make Uncategorized category […]

Add table plugin in to WordPress TinyMCE editor

August 11, 2017

Download plugin here. Add table folder and file in it in /wp-includes/js/tinymce/plugins/. Next, open your theme’s functions.php and add following in it. Plugins table column has to include all already used […]