Modal/Popup window in WordPress admin

If you need to create modal/popup window in WordPress admin, its easy. You can use buit-in thickbox jquery library. It’s very well documented @ https://codex.wordpress.org/Javascript_Reference/ThickBox, though lets see quick integration sample code below. Load thickbox js and css by calling function <?php add_thickbox(); ?> Add a link to html with class name ‘thickbox’ example below – … Read more Modal/Popup window in WordPress admin

CSS Less @keyframes animation error

How to solve when you get Less @keyframe animation error. Follow the following steps: Check less version and upgrade it if it is not latest globally by sudo npm install less@3.9.0 -g Check less version by   lessc -v  If above command gives an error “/usr/bin/env: ‘node’: No such file or directory” then run below command … Read more CSS Less @keyframes animation error

Installing the OpenJDK Java environment on Ubuntu

To install the OpenJDK Java environment for Ubuntu by using the apt-get install command, perform the following steps. To make openjdk-8 available to the APT environment, perform the following steps: Enter the following command to add the Personal Package Archive (PPA) for Java SE Development Kit 8: Enter the following command to download the package lists from … Read more Installing the OpenJDK Java environment on Ubuntu

Debug ionic apps installed on device using google chrome

Run following command on terminal – ionic cordova run  –device –debug Next it will ask platform, example android Then Open chrome and Web Inspector in chrome, and follow below menu path. From right side menu “Customize and contorl DevTools” -> More tools ->  Remote Devices It will show list of devices, click on your device, … Read more Debug ionic apps installed on device using google chrome