Set CSS to only affect an x-length list

May 29, 2019

Think scenario where you want you CSS only effect list that haw 3. items. In my chase, I wanted to show list different way when there is 1. 2. or […]

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 […]

Divi Theme mobile menu, collapsing submenu navigation

December 7, 2018

This adds + open and close buttons to the mobile navigation menu. CSS Javascript

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 […]

Hyphenopoly js to WordPress site

September 3, 2018

Download files and add them to your child theme folder. This example, they are in js/hyp folder. Hyphenopoly in Git Add following code to theme functions.php file. ICL_LANGUAGE_CODE is WPML […]

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. […]