Actually, you do not want to open memcached port in your firewall. #ref: http://serverfault.com/questions/530051/memcached-ports-and-csf...
Ways to load an array from file into a variable: 1- $var = require 'myarray.php'; // or include // myarray.php contents return array("test","test2"); 2 – require 'myarray.php...
bootstrap offcanvas double scrollbar bug fixWhen your content area is smallar then your offcanvas menu you’ll get double-rainbowed. To prevent this simply remove either body | html from the following rule in offcanvas....
Better bootstrap accordionThere are a few issues (things I dont like) about the bootstrap accordion: 1- The title is inline, so you have to click the text part to activate it 2- There is no indication if th...
There are various ways to get user_ID in WP. But which one is the fastest ? I’ve compared 3 ways function get_uid_from_global() { global $current_user; return $current_user-&...