Introduction to Laravel

Posted in LaravelLeave a comment

Laravel is one of the most popular PHP Framework now. It's only because of it's simplicity security and Model View Controller Architecture. So let's get started  As you know every programming language starting with "Hello World !" Before get starting I will give you some hack tips about the Laravel Laravel is Opensource Project Model…

Laravel Installation

Posted in LaravelTagged , Leave a comment

Composer After you've downloaded and installed Xampp, we need to install Composer. Composer is a PHP package manager that is integrated with Laravel Framework. In Windows we can install it easy going to the official page and download the installer. Composer Download page After install it, we can open a Windows terminal and write composer…

Laravel Hello World Example

Posted in LaravelTagged , Leave a comment

Laravel Hello World After the above step, open CMD and hit the composer –version. You should receive the  Composer version information. That’s it! The setup was successful. After composer installation, Write following command in command line. composer global require “laravel/installer=~1.1” After above installation, create a directory in apache24 or xamp directory, then go to command line…

Laravel Application Structure

Posted in LaravelTagged , Leave a comment

Application Structure app − This directory contains the core code of the application. bootstrap − This directory contains the application bootstrapping script. config − This directory contains configuration files of application. database − This folder contains your database migration and seeds. public − This is the application’s document root. It starts the Laravel application. It…

How to Add a Header Widget in WordPress

Posted in WordPressLeave a comment

We can simply add the header widget to  WordPress website by modifying to pages in the website. For Adding header widget we need to modify the functions.php file and header.php file in the wordpress Path for the files function.php wp-content/themes/{theme name }/ function.php header.php wp-content/themes/{theme name }/ header.php Modifying the file Step 1 : Add the…

WordPress Visual Composer loading slowly

Posted in WordPressLeave a comment

If your Visual Composer loading slowly this will be helpful to you to solve the issue, open your wp-config.php file. (You can find it at the root directory of your WordPress installation) using a text editor. Now, paste the following codes: define( 'AUTOSAVE_INTERVAL', 180 ); // Seconds Just above of the /* That’s all, stop editing! Happy blogging. */ line. If 180 not…

What tables are there in WordPress default database and what they store?

Posted in WordPressLeave a comment

There are 11 tables by default in WordPress database as per given below: wp_commentmeta – This table stores every comment published to your site and contains information, or metadata. wp_comments – This table stores the body of the comments published to your site. wp_links – This stores the name, URL, and description of all links you create by using the…

WordPress redirect all pages to homepage using htaccess

Posted in WordPressLeave a comment

We can redirect all the pages of WordPress website to home page by using the htaccees Here's our example: If you want redirect old-website.com/blog/post to new-website.com/ along with all the other posts that use that same URL format. # BEGIN redirect to homepage RewriteEngine on RewriteCond %{REQUEST_URI} !^/$ RewriteCond %{REQUEST_URI} !\.(gif|jpe?g|png|css|js|php)$ RewriteCond %{REQUEST_URI} !^/wp-admin [NC]…

Page 1 Page 2 Page 3 Page 13