In a project I needed color codes which were inserted in hex code and i needed to make different shades of this color so I needed a HEX to RGBA converter in PHP. This below code highly satisfied my needs and I am sharing this with you guys. It needed first variable as a HEX […]

Read More →

Its very easy to Create your own shortcode in wordpress. Simply follow this code and copy from here to your wordpress function.php placed at the theme directory. This will create shortocde [wp_get_childpages] that is attached with a function  wp_get_list_child_pages()

Use this in a content page as [wp_get_childpages] Demo: http://www.totalhindime.com/sabhi-pradesh-ki-government-job-search-aur-apply-kare/

Read More →

Create an attractive timeline in css/html .An attractive timeline is created under jsfiddle a live example. have a look to the fiddle here https://jsfiddle.net/shakalya/myg7cdk8/ Add bootstrap css or get a latest Bootstrap link from http://getbootstrap.com/getting-started/ PHP inside a wordpress page is given.¬†Define some variables before the post loop $atts[‘title’]=’Your title Here’; $atts[‘timeline_color’]=’green’; $align=’left’; /*left/right*/ $mid=’module_id’; […]

Read More →

Lorem ipsum dolor sit amet, aenean dolor. Enim lorem ipsum. Placerat sapien. Dolore eu eos volutpat in, risus dictumst et dolor orci, mi quis, dictum dui nulla odio. Lectus risus suscipit tempor lacus, ullamcorper non at, eu nec, lorem mi ut placerat, dolor ac sit. Aliqua platea magna diam eu tellus, cras hendrerit vivamus leo […]

Read More →

 

Read More →

How to detect a mobile device in php?? is you ever got this problem during the development to know your device can be detect by user agent. You have to match keywords to the user agent and get a Boolean true or false for your result. Below is an best suitable code for detecting mobile […]

Read More →

Validate gravity form for unwanted words use the below code and put it at your functions.php

 

Read More →

So many challenges you can face during developing a project. I was working on a project with a video at home page and I didn’t want the video to be load on mobile devices. So i needed a logic to detect mobile devices in php. Here is the code that i followed to get it […]

Read More →

This is very good advantage to add animations at your website. It look so amazing while animation appears on your screen and user gives a positive feedback. There are so many HTML5 effects are available. Here we will be discussing how to make Animation effects on page appear event that you have seen in a […]

Read More →

Create a custom widget area for your wordpress site simply by following code. You have to copy and paste below code at your wordpress function.php or anywhere where you can add such functions for your site. function.php is places right at your theme directory.

Now a new Widget Area ‘Custom Widget Area’ will be […]

Read More →