This file contains hidden or 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
::-webkit-input-placeholder { | |
color: red; | |
} | |
:-moz-placeholder { /* Firefox 18- */ | |
color: red; | |
} | |
::-moz-placeholder { /* Firefox 19+ */ | |
color: red; |
This file contains hidden or 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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |
This file contains hidden or 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
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] |
This file contains hidden or 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
$(".btn-funciona").click(function(event){ | |
$(this).parent().next(".cover").animate({right:'0'}, 800).addClass("cover-abierto"); | |
}); | |
$(".cerrar-cover").click(function(event){ | |
$(this).closest(".cover").animate({right:'-75%'}, 800).removeClass("cover-abierto"); | |
}); |
This file contains hidden or 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
$(".item-servicio").mouseover(function(event){ | |
$(this).children('.color-falso').fadeOut('fast'); | |
$('.color-falso').addClass('oculto'); | |
}); | |
$(".item-servicio").mouseleave(function(event){ | |
$(this).children('.color-falso').fadeIn('fast'); | |
}); |
This file contains hidden or 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 | |
function filter_where($where = '') { | |
//only show posts published within the last 30 days | |
$where .= " AND post_date > '" . date('Y-m-d', strtotime('-7 days')) . "'"; | |
return $where; | |
} | |
add_filter('posts_where', 'filter_where'); | |
// Query posts | |
query_posts( 'cat=3&posts_per_page=1&orderby=rand' ); |
This file contains hidden or 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
div { | |
transition: background-color 0.5s ease; | |
background-color: red; | |
} | |
div:hover { | |
background-color: green; | |
} |
This file contains hidden or 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 get_custom_cat_template($single_template) { | |
global $post; | |
if ( in_category( 'category-name' )) { | |
$single_template = dirname( __FILE__ ) . '/single-template.php'; | |
} | |
return $single_template; | |
} | |
add_filter( "single_template", "get_custom_cat_template" ) ; |
This file contains hidden or 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
.ul { | |
overflow: hidden; | |
text-align:center; | |
} | |
.ul li { | |
display:inline-block; | |
*display:inline; /*IE7*/ | |
*zoom:1; /*IE7*/ | |
overflow:hidden; |
This file contains hidden or 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
$(".catsm").mouseover(function(event){ | |
if($('div.dummysm').hasClass('ocultar')) | |
{ | |
$('div.dummysm').removeClass('ocultar'); | |
$('div.dummysm').addClass('mostrar'); | |
} | |
}); |