- Check for an existing
.gitignore
file in the project directory
ls -a
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\File; | |
class extractTranslationStrings extends Command | |
{ |
<template> | |
<b-container class="formulario"> | |
<b-form> | |
<b-form-group label="Estados"> | |
<b-form-select v-model="estado" :options="estados" class="mb-3"></b-form-select> | |
</b-form-group> | |
<b-form-group label="Cidade"> | |
<b-form-select v-model="cidade" :options="cidades" class="mb-3"></b-form-select> |
webpack.mix.js
file in root directory:const { mix } = require('laravel-mix');
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');
/* Optional: uncomment for bootstrap fonts */
// mix.copy('node_modules/bootstrap-sass/assets/fonts/bootstrap/','public/fonts/bootstrap');
<?php | |
require dirname(__FILE__).'/wp-blog-header.php'; | |
$wpdb->query("DELETE FROM wp_terms WHERE term_id IN (SELECT term_id FROM wp_term_taxonomy WHERE taxonomy LIKE 'pa_%')"); | |
$wpdb->query("DELETE FROM wp_term_taxonomy WHERE taxonomy LIKE 'pa_%'"); | |
$wpdb->query("DELETE FROM wp_term_relationships WHERE term_taxonomy_id not IN (SELECT term_taxonomy_id FROM wp_term_taxonomy)"); | |
$wpdb->query("DELETE FROM wp_term_relationships WHERE object_id IN (SELECT ID FROM wp_posts WHERE post_type IN ('product','product_variation'))"); | |
$wpdb->query("DELETE FROM wp_postmeta WHERE post_id IN (SELECT ID FROM wp_posts WHERE post_type IN ('product','product_variation'))"); | |
$wpdb->query("DELETE FROM wp_posts WHERE post_type IN ('product','product_variation')"); |
<?xml version="1.0" encoding="utf-8"?> | |
<colorTheme id="9999" name="One Dark Like" modified="2015-09-01 19:55:49" author="Adam Gent" website="http://snaphop.com"> | |
<searchResultIndication color="#E5C07B" /> | |
<filteredSearchResultIndication color="#E5C07B" /> | |
<occurrenceIndication color="#4B4E55" /> | |
<writeOccurrenceIndication color="#4B4E55" /> | |
<findScope color="#4B4E55" /> | |
<deletionIndication color="#DF5F5F" /> | |
<sourceHoverBackground color="#4B4E55" /> | |
<singleLineComment color="#969896" italic="false" /> |
<? | |
$yourTaxonomySlugHere = get_the_terms($post->ID, 'yourTaxonomySlugHere'); | |
if ($terms) : | |
foreach ($terms as $term) : | |
echo $term->name; | |
endforeach; | |
endif; | |
?> |