Skip to content

Instantly share code, notes, and snippets.

View LockeAG's full-sized avatar

Adrian Galvez G. LockeAG

View GitHub Profile
@LockeAG
LockeAG / old.php
Last active August 29, 2015 14:13 — forked from agustinho/old.php
<!--Inicia EPlanning-->
<?php //define nombre de sec:
/*$detect = new Mobile_Detect();
if( $detect->isMobile() && !$detect->isTablet()){
$seccion='Mobile';
} else {*/
if (is_single() || is_page()){
$seccion='notas';
} elseif (is_front_page()) {
@LockeAG
LockeAG / 0_reuse_code.js
Last active August 29, 2015 14:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php
*/
$args = array(