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
<div style="<?php echo ((is_rtl()) ? 'right' : 'left'); ?>: -999em; position: absolute;"><label for="trap"><?php _e('Anti-spam', 'woocommerce'); ?></label><input type="text" name="email_2" id="trap" tabindex="-1" autocomplete="off" /></div> | |
<?php do_action('woocommerce_register_form'); ?> | |
<form method="post" class="register"> | |
<?php do_action('woocommerce_register_form_start'); ?> | |
<div class="form-group"> | |
<label for="account_first_name">Primeiro nome <span class="required">*</span></label> |
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 estilo_script_enqueue() { | |
wp_enqueue_style('customstyle', get_template_directory_uri() . '/assets/css/estilo.css', array(), '1.0.0', 'all'); | |
} | |
add_action('wp_enqueue_scripts', 'estilo_script_enqueue'); |
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
<form action="" method="GET"> | |
<div class="form-group row"> | |
<label for="mesDoRelatorio" class="col-4 col-form-label">Mês do relatório</label> | |
<br> | |
<div class="col-8"> | |
<div class="input-group"> | |
<div class="input-group-prepend"> | |
<div class="input-group-text"> | |
<i class="fa fa-calendar"></i> | |
</div> |
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 result = document.querySelector("#result"); | |
// Consulta via Fetch no Wordpress | |
const URL = "https://meusite.com.br/wp-json/wp/v2/posts"; | |
fetch(`${URL}`) | |
.then((body) => body.json()) | |
.then((data) => { | |
//console.log(data[0]); |
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 React from "react"; | |
import ReactDOM, { render } from "react-dom"; | |
import parser from "html-react-parser"; | |
//import "./styles.css"; | |
//https://www.npmjs.com/package/html-react-parser | |
class Blog extends React.Component { | |
componentDidMount() { | |
async function fetchPposts(url) { |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.4.1/milligram.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
"use strict"; | |
let form = document.querySelector("#form01"); | |
let btn1 = document.querySelector("#btn1"); | |
let confirmacao = document.querySelector("#confirmacao"); | |
function dadosFormClienteEnvio() { | |
console.log("script carregou"); | |
form.addEventListener( | |
"submit", |
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
/*Arrays Objetos, loops e forEach---------------------------------------------*/ // | |
const marcaPedal = ["Boss", "Digitech", "Mooer", "Ibanez"]; | |
//Array com Objetos | |
const pedaisGuitarra = [ | |
{ | |
modelo: "DS-1", | |
marca: marcaPedal[0], | |
ano: "1978", |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Document</title> | |
<link rel="stylesheet" href="css/main.css" /> | |
</head> | |
<body> | |
<header> |
OlderNewer