Convert pixels into numbers. ( add/subtraction purposes )
Example: 1024px – 1px parseInt( 1024px ) – 1 Output: 1023px
Add browser name as class on body class ( body_class(); )
First is you must have the browser.php in your current themes. If not, click here and create a file named browser.php in your current themes. Copy the codes below and place it into your function.php file.
Custom and simple jQuery tabs, no library needed
Custom and simple jQuery tabs, no library needed. This example is very easy and light to your page. Follow and copy the codes below. DEMO Tab 1 Tab 2 Tab 3 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the […]
Browser detect php
This code is to display the current browser name of your browser. Then this code is to be placed to your function.php file of your current theme Then create a new file browser.php inside of your current theme folder and put all code below inside of browser.php