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
- https://globaltouch.com.br/ | |
- https://balaiodesign.com.br | |
- https://igom.co/ | |
- https://mazzinigomes.com.br/ | |
- https://extrafruti.com.br/ |
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
{ | |
// Define o tema do VSCode | |
"workbench.colorTheme": "Dracula", | |
// Configura tamanho e família da fonte | |
"editor.fontSize": 14, | |
"editor.lineHeight": 28, | |
"editor.fontFamily": "Fira Code Retina", | |
"editor.fontLigatures": true, | |
"explorer.compactFolders": false, |
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(); | |
$current_page = basename(get_permalink()); | |
?> | |
<main id="main" class="site-main main-<?php echo $current_page; ?>"> | |
<?php | |
switch ($current_page) { | |
case $current_page: |
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 abrirWhats(){ | |
$('#blogCarousel').carousel({ | |
interval: 5000 | |
}); | |
// chamar whats | |
// window.open('https://api.whatsapp.com/send?phone=55839SEUNUMERO&text=Olá,%20quero%20saber%20mais%20sobre%20o%20Centro%20Jurídico', '_blank'); | |
// console.log($("#nome").val()); | |
// console.log($("#email").val()); | |
// console.log($("#telefone").val()); |
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 | |
/** | |
* Template Name: Blog | |
*/ | |
get_header(); | |
?> | |
<main id="main" class="site-main innerPage"> | |
<section class="banner-innerPage" style="background-image: url(<?php echo get_template_directory_uri(); ?>/assets/images/banner-conteudo.jpg)"> | |
<div class="container text-center"> |
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
const { src, dest, watch } = require('gulp'); | |
const sass = require('gulp-sass'); | |
const minifyCSS = require('gulp-csso'); | |
const babel = require('gulp-babel'); | |
const concat = require('gulp-concat'); | |
const browserSync = require('browser-sync').create(); | |
function css() { | |
return src('./sass/*.scss', { sourcemaps: true }) | |
.pipe(sass()) |
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"; | |
// Load plugins | |
const autoprefixer = require("autoprefixer"); | |
const browsersync = require("browser-sync").create(); | |
const cp = require("child_process"); | |
const cssnano = require("cssnano"); | |
const del = require("del"); | |
const eslint = require("gulp-eslint"); | |
const gulp = require("gulp"); |
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
STEPS: | |
1 - If the theme was not developd by you, first create a child theme (How to create a child theme? Read at https://codex.wordpress.org/Child_Themes) or else modifications will be lost when updating your theme. | |
2 - Add the following CSS file in your theme/child theme (better if you create a folder to add CSS there). | |
3 - Add the following snippet in your functions.php file: | |
function tpw_enqueue_custom_admin_style() { | |
echo '<link rel="stylesheet" type="text/css" href="' . get_stylesheet_directory_uri() . '/css/admin/custom-login-styles.css" />'; | |
} |
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 | |
$category = get_the_category(); | |
$args_post = array( | |
'post_type' => 'post', | |
'posts_per_page' => 16, | |
'paged' => get_query_var('paged') ? get_query_var('paged') : 1 | |
); | |
$query_post = new WP_Query( $args_post ); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<defaultDocument> | |
<files> | |
<clear /> | |
<add value="index.php" /> | |
</files> | |
</defaultDocument> | |
<rewrite> |
NewerOlder