code

search page

120 searched posts found

6 Jan 2018
0.91K
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
35.94K
2 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.65K
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.52K
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
2.45K
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
2.49K
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

12 Mar 2017
9K
No Comments

1. non jQuery Slider, pure CSS image slider 2. Pure CSS3 slider by aladin ben sassi 3. Juizy slideshow Full CSS3/HTML5 slideshow 4. CSScience – CSS3 Responsive Slider / Carousel Using Radio Buttons 5. Pure CSS Featured Image Slider by Joshua Hibbert 6. CSS Image Slider Tutorial – Without Javascript

Post in

10 Mar 2017
0.62K
No Comments

1. Font Awesome, the iconic font and CSS toolkit 2. Sharp and clean symbols – GLYPHICONS.com 3. Linearicons 4. Elusive Icons 5. ZURB Foundation Icon Fonts 3 6. Pictorial Communcation Language – PICOL Icons 7. ionicons 8. Metrize Icons 9. IconMoon – Icon Fonts.png 10. MFG Labs icon set 11.

Post in

23 Feb 2017
0.27K
No Comments

This is happens to me and #valcatohosting allowed to use free #HTTPS #SSL  for website Other mostly #hosting companies are providing free for #SSL #wordpress websites only

Post in

1 Feb 2017
0.42K
No Comments

Most this error occurred when you forget to add csrf_token field in form tag and  in #laravel 5+ csrf_token field will be automatically when you call Form::open call following code for .blade template call following code for non .blade template. Another Solution when $sessionToken and $token are different. This may

Post in