Written by Ilya Khristoforov
If you have a Divi-powered website with a large menu, contained nested menu items, you can face with the following issue for the mobile and tablet views: the nested menu expands, holds the whole screen and some menu elements can be hidden. There is a hack to make the mobile menu look more compact and…
Written by Ilya Khristoforov
Disable WordPress database revisions: wp-config.php add above ‘require-once’: Delete revisions from WordPress database: Perform the following SQL query on your database in PHPMyAdmin Customize “Read more” button functions.php Add “Read more” button for excerpts functions.php…
Written by Ilya Khristoforov
Is your request very big for $.getJSON() and you are looking for post alternative in jQuery to send large amount of data? I have bad news for you: there is no such function as $.postJSON() in jQuery. But, there is a way out: we can still perform AJAX post requests in JSON format by simply…
Written by Ilya Khristoforov
To remove unnecessary fields, like email, name (author), website (url) from a WordPress comment form use this snippet (just remove rows with the fields which you want to leave in the form):…
Written by Ilya Khristoforov
Here is a quick and simple example of how you can use AJAX call in WordPress without a plugin. This can really help if you are stacked in a mess of big AJAX tutorials around WordPress. AJAX call from your Java Script: PHP-part, placed in functions.php: That’s it! Cheers!…
Written by Ilya Khristoforov
When you perform “add_shotcode” in your functions.php, WordPress automatically and unnecessarily adds extra <p> tags above and below the shortcode content. In most of the cases, you don’t need this strange feature. To stop WordPress from adding these empty p-tags you can use this snippet:…
Written by Ilya Khristoforov
A tool for a quick economies evaluation. The project was a real challenge for us. We built a website, which allows the users to evaluate and compare any world economies in 5-minute with the help of our built-in interactive charts, ratings, and maps. Interactive chart for the comparison of US-states: Interactive map for the visual comparison…