Divi mobile menu: collapse nested menu items
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…
Read moreWordPress snippets 2019
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…
Read morejQuery: $.postJSON
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…
Read moreWordPress AJAX: a simple example without plugins
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!…
Read moreHow to remove extra p-tags from shortcode in WordPress? Wpautop function
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:…
Read more5-Minute Economist
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…
Read more