Skip to content

Instantly share code, notes, and snippets.

View jpcontrerasv's full-sized avatar
🏠
Working from home

Juan Pablo Contreras Valdés jpcontrerasv

🏠
Working from home
View GitHub Profile
$('.over').hover(function () {
$(this).find('p').delay(1).animate({
color: 'white'
}, 0);
}, function () {
$(this).find('p').delay(3000).animate({
color: 'black'
}, 100);
});
//Shadows
$shadowsArray:
'01' $shadow-01,
'02' $shadow-02,
'03' $shadow-03,
'04' $shadow-04,
'05' $shadow-05,
'06' $shadow-06;
@each $shadowTuple in $shadowsArray {
.shadow-#{nth($shadowTuple, 1)} {
add_filter('get_post_metadata', function($value, $object_id, $meta_key, $single) {
if ($meta_key !== '_thumbnail_id' || $value) {
return $value;
}
preg_match('~<img[^>]+wp-image-(\\d+)~', get_post_field('post_content', $object_id), $matches);
if ($matches) {
return $matches[1];
}
return $value;
https://css-tricks.com/boxes-fill-height-dont-squish/
&:after {
content: '';
display: block;
width: 0;
height: 2px;
background: $minero;
transition: width .2s;
}
&:hover {
https://stackoverflow.com/questions/24671588/how-to-reveal-element-by-scrolling
primero habria que resolver como loguearse mediante el crontab
anotalo para el hijo stir e iact
descarga de rporte automatica diarios
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: pink;
}
::-moz-placeholder { /* Firefox 19+ */
color: pink;
}
:-ms-input-placeholder { /* IE 10+ */
color: pink;
}
:-moz-placeholder { /* Firefox 18- */
<?php echo ''.get_the_ID().'';?>
@jpcontrerasv
jpcontrerasv / get_the_term_list.php
Created December 13, 2016 04:07
get the term list
<?php $terms = get_terms('expertice', array('hide_empty' => true) );?>
<?php foreach($terms as $term){?>
<li><a href="<?php echo get_term_link( $term );?>">#<?php echo $term->name;?></a></li>
<?php } ?>