Skip to content

Instantly share code, notes, and snippets.

André Daniel andredaniel

Block or report user

Report or block andredaniel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@andredaniel
andredaniel / metaquery.php
Created Jul 18, 2018
Meta query for lat and lng
View metaquery.php
<?php
$meta_query = array(
'relation' => 'AND',
array(
'key' => 'lat',
'value' => 'min_lat',
'compare' => '>=',
),
array(
@andredaniel
andredaniel / .htaccess
Last active Mar 13, 2018
Enable PHP 7.1 in Hostgator shared hosts trough .htaccess
View .htaccess
# Enable PHP 7.1
AddHandler application/x-httpd-php71 .php
<IfModule mod_suphp.c>
suPHP_ConfigPath /opt/php71/lib
</IfModule>
You can’t perform that action at this time.