Views // paginator.blade.php <?php $presenter = new Illuminate\Pagination\BootstrapPresenter($paginator); $trans = $environment->getTranslator(); if ($paginator->getLastPage() > 1): /* How many pages need to be shown before and after the current page */ $showBeforeAndAfter = 3; /* Current Page */ $currentPage = $paginator->getCurrentPage();…
Set WordPress Category and Articles Diff Style
In this post let's talk about how to set different categories using different categories list style, the article under Different categories use different articles style in WordPress. First we should to know two function of WordPress is_category and in_category, please…
Laravel Ajax Multiple Image Upload and Preview
This is post talk about ajax multiple image upload and preview with Dropzone.js in Laravel 4, and store file info in database. Dropzone.js comes with nice CSS and Javascript that make it a breeze to work with HTML 5 file…
Set Multi Core Browser Priority Use WebKit Rendering Engine
Add following code to <header> lable <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">