Tutorials

Category

25 posts found

6 Jan 2018
0.35K
No Comments

Create folder and Directories This tutorial is made for all of beginners to learn how to create html to WordPress theme, Here is all of steps are defined with video tutorial, if you are facing any of problem or missed any step watch the video tutorial. Register theme Copy folder

Post in

6 Jan 2018
0.26K
No Comments

single template is used post/post-type inner page, for more read WordPress template hierarchy. Create single.php in theme directory and call get_header and get_footer function to include header and footer section of theme. Start Loop for single post Create breadcrumb and add links Add links and create breadcrumb. Show post title

Post in

6 Jan 2018
0.5K
No Comments

Create comments template create comments.php file in theme directory and we have already called in single.php by using comment_template() WordPress core function. Create condition of post if comments are enabled else show message look below. if (get_option(‘comment_registration’) && !$user_ID) condition used for registration is enabled from admin panel user must

Post in

29 Dec 2017
0.12K
No Comments

This function I was made specially for my theme which is running in this blog. I made function because Gravatar generate random images on each user’s avatar if user not uploaded real image, this function will not work no localhost so please use domain path eg: domain.com/wp-content/themes/mytheme/images/DefaultAvatar.jpg

Post in

29 Nov 2017
0.18K
No Comments

In Current 4.9 or preview versions we cannot get the_excerpt or get_the_excerpt by post ID so here is a little bit hack code to get excerpt paragraph of post by postID with alternate code

Post in

21 Jun 2017
1.07K
No Comments
Laravel custom columns login authentication

Laravel provide a great solution for login authentication, in sometimes we have typically a database table with custom table name  eg: student, customer, employee, and custom login columns eg:student_id, customer_id, employee_id but the default in Laravel authentication only use id, login and password columns. To get install laravel from composer

Post in

7 Jun 2017
0.54K
3 Comments

This is weird thing from #laravel on fresh installation, so everyone wants to remove public from url, there are two different methods. 1. Method is remove public from url in #.htaccess Create .htaccess file on main directory of laravel and put the following code 2. Method is remove public url

Post in

27 May 2017
0.85K
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.32K
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