Skip to content

Instantly share code, notes, and snippets.

View dimaspante's full-sized avatar
🚀

Dimas Pante dimaspante

🚀
View GitHub Profile
@dimaspante
dimaspante / woo_functions.php
Last active May 2, 2023 04:46
Edições gerais para o Woocommerce no arquivo de funções do Wordpress
<?php
/**
* Altera detalhes nos forms de checkout
*
* Lista de campos disponível em:
* https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/
*/
function my_shipping_fields($fields){
$fields['shipping']['shipping_address_2']['label_class'] = "visible"; //form de entrega
@dimaspante
dimaspante / index.html
Last active April 13, 2022 03:15
BS Starter Template (Bootstrap 4.3.1 CSS/JS + FontAwesome 4.7.0)
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{title}}</title>
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css">
@dimaspante
dimaspante / key_binding.txt
Last active July 29, 2019 14:54
Sublime 3 settings
[
{ "keys": ["ctrl+shift+d"], "command": "find_under_expand" },
{ "keys": ["ctrl+shift+k", "ctrl+shift+d"], "command": "find_under_expand_skip" },
{ "keys": ["ctrl+d"], "command": "duplicate_line" },
{ "keys": ["ctrl+shift+l"], "command": "sublime_linter_lint" },
{ "keys": ["ctrl+k", "ctrl+k"], "command": "sublime_linter_toggle_highlights" },
]