Tutorials

Category

25 posts found

22 May 2015
3.89K
No Comments

Before releasing of responsive media queries features in #css we develop two different websites version for a single website one is for mobile and second for desktop browsers, but after media we can easily change #css properties to change height widths of elements and DIV Tables, Here is list of

Post in

22 May 2015
2.05K
No Comments

In action url of methods we just only allow user to submit ajax request on specified url or doing another stuff, Here is I am share examples of check ajax request on custom #PHP #CodeIgniter #Laravel. Check ajax request in core PHP Here is how to check and its best way

Post in

13 May 2015
1.55K
No Comments

Now we don’t need to check response web layout in mobile and tablet devices, Because Google chrome’s developer tools provide this feature to check layout but In case we need to open localhost from pc to smart phone browser for checking other things except responsive layout. Here is some steps.

Post in

11 Apr 2015
0.6K
No Comments

Mostly #wordpress theme developers put header data information in header.php file of theme and they not use each different header file for each wordpress post or pages category and this is best dynamic and quick way to put header information in header.php like head tag and #css #javascript and other

Post in

7 Apr 2015
0.39K
No Comments

This is default simple documentation of #laravel to send mail but problems is that this is static mail passed in parameter to(‘foo@sdtuts.com’) We also need to pass the dynamic email, for example we used it for user registration steps to sent mail for activation it that time we need dynamic

Post in

17 Mar 2015
0.79K
No Comments

This is big storage problem in computer, mobiles and all other devices, heavy and camera images consumed too many storage and website will become heavy if heavy images used on websites I also use my php code to lose images weight without losing dimension and quality of image Here is

Post in

12 Dec 2014
0.57K
No Comments
Calculate time difference total hours minutes months years

I developed my custom code to get difference between two dates, code is different from #php date_diff because my code calculate the total number of seconds, minutes, days,  months and years. Its best way to define this code in function to use any where of project where you want it,

Post in

29 Nov 2014
0.53K
No Comments
Define theme template in wordpress

#wordpress provide a good page template feature show page layout in different layouts like single-column, double-column, full-page, or custom-template. default template is page.php for page, so you want to show contact form or different layout from other page. To define your layout  go to  /wp-content/themes/theme_folder/ create file with php extension,

Post in

27 Nov 2014
0.41K
No Comments

There is different way to access array and object many developers are use array instead object, if any a data get object and need to convert from object to array. Some are may be prefer to use object instead array, here is code example to quickly convert your large amount

Post in

19 Nov 2014
0.74K
No Comments

By default #wordpress get_search_form function return default html of search form, you want to change or modify search form html here is example to replace whole search form. In below code we used #wordpress hook to modify search form html

Post in