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
//@import "compass"; // Compass Required, or not | |
// | |
// Use with modernizr.js for fallbacks IE or old-browsers | |
// | |
@mixin nop( $property ) { | |
.no-#{ $property } & { | |
@content; | |
} | |
} |
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 | |
function get_post_views( $postID ){ | |
$count_key = "post_views"; | |
$count = get_post_meta ($postID, $count_key, true ); | |
if( $count=="" ){ | |
delete_post_meta( $postID, $count_key ); | |
add_post_meta( $postID, $count_key, "0" ); | |
return "0 View"; | |
} | |
return $count." Visualizações"; |
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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
// _variables.scss | |
$cor1: #FFF; | |
$cor2: #000; | |
$cor3: blue; |
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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
.meu-link { | |
&, &:hover, &:active, &.active { | |
text-decoration: none; | |
} | |
} |
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
<script type="text/javascrit"> | |
function newsletter_send( name, email, category register ) { | |
jQuery.ajax({ | |
type: "POST", | |
url: alm_localize.ajaxurl, | |
data: { | |
action : "newsletter_register", /// function for register data in DB. | |
user_name : name, | |
user_email : email, | |
user_category : category, // Here you can find the values of the select |
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
"use strict"; | |
var gulp = require( "gulp" ), | |
plugins = require( "gulp-load-plugins" )({ lazy: false }), | |
argv = require( "minimist" )(process.argv.slice(1)), | |
comb = require( "./csscomb.json" ), | |
path = require( "path" ); | |
gulp.task( "task:styles", function() { | |
gulp.src( "../assets/sass/**/*.scss" ) |
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
.navbar .menu-item a { | |
color: #fff; | |
display: inline-block; | |
padding: 18px 0 18px 0; | |
margin: 0 0 0 0; | |
font-size: 14px; | |
font-weight: 600; | |
line-height: 14px; | |
text-transform: uppercase; | |
text-decoration: none; |
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
<ul id="mainmobilemenu" class="main-menu"> | |
<li class="mhome"><a href="http://www.dicaslumia.com/">Inicio</a></li> | |
<li class="menu-item"><a href="/search/label/Psiphon">Psiphon</a></li> | |
<li><a href="/search/label/aparelhos">Aparelhos</a></li> | |
<li><a href="/search/label/app">Aplicativos</a></li> | |
<li><a href="/search/label/destaque">Destaque</a></li> | |
<li><a href="/search/label/tutorial">Tutoriais</a></li> | |
<li><a href="/search/label/dicas">Dicas</a></li> | |
<li><a href="/search/label/windows%2010">Windows 10</a></li> | |
</ul> |
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 | |
get_header(); | |
wize_set_views(get_the_ID()); | |
$image_id = get_post_thumbnail_id($post->ID); | |
$cover = wp_get_attachment_image_src($image_id, 'single-full'); | |
$no_cover = get_template_directory_uri(); | |
$cover_full = get_post_meta($post->ID, "post_cover", true) == 'yes'; |
OlderNewer