Press enter to see results or esc to cancel.

Abraham Garcia Abraham Garcia in PHP Scripts   Thursday, May 23 2019

How to Remove index.php on URL in CodeIgniter

Remove the index.php in the URL for CodeIgniter. Simple and Fast Tutorial for all PHP Developers.

Short instructions on how to remove the CodeIgniter index.php with .htaccess 1. Create .htaccess File RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] 2. Update

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Friday, May 17 2019

How to Convert UNIX timestamp to Format Date String

Easy way to convert unix timestamp to nice date format in PHP.

Use this to convert unix timestamp to format php date <?php $timestamp=1333699439; echo gmdate("Y-m-dTH:i:sZ", $timestamp); ?>  

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Thursday, May 9 2019

Clean Phone PHP Remove Parentheses and Dashes

A Short Snippet to Clean Phone from Special Characters. Remove Parentheses and Dashes.

This is a short snippet on how to clean a phone number from Dashes and Paranteses. Use this to clean phones on the fly.  $ph_number = '(619) 584-5555'; $phone = preg_replace('/[^dxX]/', '', $ph_number);    

Continue reading
Abraham Garcia Abraham Garcia in WordPress   Sunday, May 5 2019

Contact Form 7 Select First Option Being a Select Options

The First Option to Print as Label in Contact Form 7 WordPress Plugin.

This is the snippet to get the first label in the contact form 7 select display a select option or first as label.  [select my_select first_as_label class:styled "Select Options" "Option 1" "Option 2" "Option 3" "Option 4"]

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Tuesday, January 1 2019

My Favorite jQuery Lightbox for Youtube and Vimeo Videos

Best jQuery Lightbox for Youtube and Vimeo Video Pop Ups.

This is my favorite jQuery Plugin for Youtube or Vimeo Lightbox. It is sosimple to use and has great documentation.  Installation <link href="dist/lity.css" rel="stylesheet"> <script src="vendor/jquery.js"></script>

Continue reading
Abraham Garcia Abraham Garcia in HTML/CSS Scripts   Wednesday, December 19 2018

Disable Manual Input in datepicker jQuery

Learn how to disable the manual entry on the jquery datepicker. Simple and Easy.

This short snippet will allow you to disable manual input for the jQuey Datepicker.  <input type="text" name="datepicker" id="datepicker" readonly="readonly" /> Just add a simple readonly and you should be good to go :)

Continue reading
Rafael Meneses Rafael Meneses in Video Editing   Tuesday, November 13 2018

Best Exporting Guidelines and Tips For Facebook Videos

The Best Exporting Tips for Facebook Videos. Export from Premier or After Effects like a professional.

Facebook has a long list of supported formats for video and they cover almost all video codecs known to man.  It is recommended that you use a MOV or MP4 codec with an aspect ratio no larger that 4000px wide and a frame rate below 30 fps with

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Monday, October 8 2018

Disable Array of Dates in Datepicker jQuery

How to disable days from jquery ui datepicker. A Simple solution to block out dates.

This is a code snippet on how to blockout dates for the jquery ui datepicker.    var array = ["2013-03-14","2013-03-15","2013-03-16"] $('input').datepicker({ beforeShowDay: function(date){ var string =

Continue reading
Abraham Garcia Abraham Garcia in HTML/CSS Scripts   Wednesday, September 19 2018

How to Change Address Header Color in Newest Chrome Version

Meta Tag Required to change Address Header Color in Android Chrome

This is the meta tag that you need to insert to change the color header on the address bar in Chrome for Android.  <meta name="theme-color" content="#999999" />

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Wednesday, August 29 2018

Initiate Isotope Hash Filter With URL without Click

A short snippet to pass hash from one url to another and filter isotope results.

This is a code snipped on how to initiate hash filter from url without using the click jquery parameter. Use this when passing has filter from one URL to another.  function getHashFilter() { var hash = location.hash; // get

Continue reading