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.

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.

Add TinyMCE WYSWIYG HTML editor to custom field

July 6, 2017

In this tutorial, we add a new custom field to post and activate HTML editor in it. In end, we add it to post single view. Open your theme or child […]