Tutorials

Category

21 posts found

27 May 2017
0.46K
No Comments

Undefined index error occurred when you are using custom login with custom columns default #laravel use password column eg: you have defined column just like entity_password  in database and you have passed in $credential array for auth()->guard(); This is wrong for login auth Just you have to change key from entity_password

Post in

23 Dec 2016
0.29K
No Comments
how to get category from url in wordpress

I was development a section a in my #wordpress theme I need the current category from url, here is I figure out how to get category from url

Post in

16 Nov 2016
2.16K
No Comments

The #wordpress concatenating […] in #the_excerpt and sometimes with [&hellip]; I here function defined as trim_excerpt and it passed in add_filter you can copy and put the following code in functions.php file of your current active theme. little bit information about add_filter function #add_filter can change modify of the data, you can customize everything which is

Post in

14 Oct 2016
3.33K
No Comments

the_category(); function is not allowing to direct change tags and attributes, get_the_category(); function return categories of posts in array so we can modify with custom html tags and attributes check out the below example code, its used in under loop of  #the_loop

Post in

26 Sep 2016
2.87K
No Comments

#wordpress is show too much text the the_excerpt, so we need to customize it for showing shorted excerpt paragraph. copy this code and paste into your current active theme’s functions.php file set different post excerpt length for mobile devices wp_is_mobile is builtin function of #wordpress which return true when it

Post in

17 Sep 2016
2.88K
No Comments
css scroll table body – table freeze panes

By default header of table are moving on top position of table when we scrolling down, so that time we didn’t see the headings of table to identify column value, Here is I have wrote the whole code to set fixed table header in top position of table. Css of

Post in

12 Aug 2016
3.26K
No Comments

Array column #php function added after release version of (PHP 5 >= 5.5.0, PHP 7), If error occurred please check the version of php by calling #php builtin function phpversion(); this function will works if you have php version greater than 5, If array_column function works on localhost and not defined on live

Post in

11 Aug 2016
2.74K
No Comments
PHP print triangle diamond

This is easy and too much loop less code to write diamond and triangle shapes Following code is diamond with the technique of css inline styles Result of diamond code ************************************ Following code is normal triangle with the technique of css inline styles Result of triangle code * ** ***

Post in

29 Jul 2016
2.81K
No Comments
PHP check is mobile tablet or desktop

Now modern days we are using many type of devices to access the websites and applications. Websites and application are showing different sizes contents and media data for smartphones, tablets and desktops like showing tiny size of logo of profile image showing for mobile, medium size showing for tablet iPad devices and the

Post in