This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajax({ | |
type:'GET', | |
url: 'http://vimeo.com/api/v2/video/' + video_id + '.json', | |
jsonp: 'callback', | |
dataType: 'jsonp', | |
success: function(data){ | |
var thumbnail_src = data[0].thumbnail_large; | |
$('#thumb_wrapper').append('<img src="' + thumbnail_src + '"/>'); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
input[type=checkbox]:before { content:""; display:inline-block; width:12px; height:12px; background:red; } | |
input[type=checkbox]:checked:before { background:green; } | |
</style> | |
<input type="checkbox" id="chk1" /><br/> | |
<input type="checkbox" id="chk2" /> <label for="chk2">Some label</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="https://graph.facebook.com/UID/picture?type=square"/> | |
<img src="https://graph.facebook.com/UID/picture?type=small"/> | |
<img src="https://graph.facebook.com/UID/picture?type=large"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function codex_custom_init() { | |
$labels = array( | |
'name' => 'Books', | |
'singular_name' => 'Book', | |
'add_new' => 'Add New', | |
'add_new_item' => 'Add New Book', | |
'edit_item' => 'Edit Book', | |
'new_item' => 'New Book', | |
'all_items' => 'All Books', | |
'view_item' => 'View Book', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$args = array( | |
'showposts' => 20, | |
'post_type' => array( 'automoviles' ), | |
'meta_key' => 'Precio', | |
'orderby' => 'meta_value_num', | |
'order' => 'ASC', | |
'post_parent' => $postid, | |
'tax_query' => array( | |
'relation' => 'AND', | |
array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _ga = _ga || {}; | |
var _gaq = _gaq || []; | |
_ga.trackSocial = function(opt_pageUrl, opt_trackerName) { | |
twttr.ready(function (twttr) { | |
_ga.trackTwitter(opt_pageUrl, opt_trackerName); | |
}); | |
}; | |
_ga.trackTwitter = function(opt_pageUrl, opt_trackerName) { | |
var trackerName = _ga.buildTrackerName_(opt_trackerName); | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function() { | |
jQuery.support.placeholder = false; | |
test = document.createElement('input'); | |
if('placeholder' in test) jQuery.support.placeholder = true; | |
}); | |
// This adds placeholder support to browsers that wouldn't otherwise support it. | |
$(function() { | |
if(!$.support.placeholder) { | |
var active = document.activeElement; | |
$(':text').focus(function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
#esto se debe agregar al functions.php del theme | |
define( 'WP_AUTO_UPDATE_CORE', false ); | |
remove_action( 'load-update-core.php', 'wp_update_plugins' ); | |
add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return null;" ) ); | |
add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) ); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html class="no-js" lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo dirname(__FILE__); | |
?> |
OlderNewer