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

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

Add reCaptcha to WordPress comments

July 30, 2017

A simple code to add Google reCaptcha into WordPress comment form.