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 insert_taxonomy_terms() { | |
wp_insert_term( | |
'Test', | |
'taxonomy', | |
array( | |
'description' => 'taxonomía via functions', | |
'slug' => 'test' | |
) | |
); |
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
//funcion para agrandar o achicar el tama�o de letra (25/09/2003) | |
var max_size = 150; | |
var min_size = 50; | |
function dzIncreaseFontSize(idElemento) { | |
if (document.all || document.getElementById) { | |
var elemento = document.all ? document.all[idElemento] : document.getElementById(idElemento); | |
if (elemento) { |
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 | |
$args = array( | |
'post_type'=>'casas', | |
'posts_per_page'=>4, | |
'orderby'=>'date', | |
'order'=>'DESC', | |
'tax_query' => array( | |
array( | |
'taxonomy'=>'categorias_casas', | |
'field' => 'slug', |
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
.wow { | |
visibility: hidden; | |
} |
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 substr(get_the_excerpt(), 0,50); ?> |
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
/* | |
Bootstrap 3.3.6. dropdown nav menu on hover | |
*/ | |
dropdown:hover > .dropdown-menu { | |
display: block; | |
} |
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
pre, code { | |
padding:30px; | |
box-sizing:border-box; | |
-moz-box-sizing:border-box; | |
webkit-box-sizing:border-box; | |
display:block; | |
white-space: pre-wrap; | |
white-space: -moz-pre-wrap; | |
white-space: -pre-wrap; | |
white-space: -o-pre-wrap; |
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
<html> | |
<head> | |
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet"> | |
<style type="text/css"> | |
html { | |
font-size: 62.5%; | |
} |
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
sudo npm install -g npm | |
sudo npm install -g express |
OlderNewer