Skip to content

Instantly share code, notes, and snippets.

View joseadanof's full-sized avatar
🎯
Focusing

Jose Adan Ortiz joseadanof

🎯
Focusing
View GitHub Profile
### Keybase proof
I hereby claim:
* I am joseadanof on github.
* I am joseadan (https://keybase.io/joseadan) on keybase.
* I have a public key whose fingerprint is E3AB D983 CF3A C044 58D6 DA1C 4EBB AD81 C3C5 4065
To claim this, I am signing this object:
<?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(
@joseadanof
joseadanof / _productCarousel.js
Created May 8, 2014 19:14
3 Products Slider Wordpress, bootstrap based
$('#productCarousel').carousel({
interval: 10000
});
$('.pcarousel .item').each(function(){
var next = $(this).next();
if (!next.length) {
next = $(this).siblings(':first');
}
next.children(':first-child').clone().appendTo($(this));
@joseadanof
joseadanof / gist:214465fa056ff26f58fc
Created May 8, 2014 13:59
Wordpress Date Spanish Español
<?php setlocale(LC_TIME, "es_ES"); ?><?php echo strftime("%d de %B de %Y"); ?>
@joseadanof
joseadanof / gist:9380253
Created March 6, 2014 01:09
Autoplay Bootstrap Carousel
Put this lines before </body> tag.
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
<script type="text/javascript">
var $ = jQuery.noConflict();
$(document).ready(function() {
$('#myCarousel').carousel({ interval: 3000, cycle: true });
@joseadanof
joseadanof / gist:8493086
Created January 18, 2014 16:53
Basic steps to setup a GIT repository
git init
git add .
git commit -m "Text"
Create Repo
git remote add origin http://repo/sitory.git
git push -u origin master