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
"use strict"; | |
var gulp = require( "gulp" ); | |
var plugins = require( "gulp-load-plugins" )({ lazy: false }); | |
/******************** | |
* Task dos estilos | |
********************/ | |
gulp.task("styles", function() { | |
gulp.src("assets/sass/**/*.scss") |
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
RewriteEngine on | |
RewriteCond $1 !^(index\.php|resources|robots\.txt) | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php/$1 [L,QSA] |
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 | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
/* | |
| ------------------------------------------------------------------------- | |
| URI ROUTING | |
| ------------------------------------------------------------------------- | |
| This file lets you re-map URI requests to specific controller functions. | |
| | |
| Typically there is a one-to-one relationship between a URL string |
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 | |
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'; |
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 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 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
.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 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
"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 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
<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 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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
.meu-link { | |
&, &:hover, &:active, &.active { | |
text-decoration: none; | |
} | |
} |