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
<!-- Global site tag (gtag.js) - Google Analytics --> | |
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxx-xx"></script> | |
<script> | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} | |
gtag('js', new Date()); | |
gtag('set',{'content_group1':'{{page.title}}'}); | |
if (window.performance) { | |
var timeSincePageLoad = Math.round(performance.now()); | |
gtag('event', 'timing_complete', { |
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
{ | |
"@context": "https://schema.org/", | |
"@type": [ | |
"LodgingBusiness", | |
"CampGround" | |
], | |
"@id": "#brand", | |
"sameAs": [ | |
"http://www.facebook.com/your-profile", | |
"http://www.twitter.com/yourProfile", |
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 post_word_count() { | |
$count = 0; | |
$posts = get_posts( array( | |
'numberposts' => -1, | |
'post_type' => array( 'post', 'page' ) | |
)); | |
foreach( $posts as $post ) { | |
$count += str_word_count( strip_tags( get_post_field( 'post_content', $post->ID ))); | |
} | |
$num = number_format_i18n( $count ); |
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
attorney2: | |
birth_country: "United States of America" | |
birth_city: "Paso Robles" | |
birth_region: CA | |
birth_zip: 93446 | |
education: "Southeastern University: B.A. History – 2008, University of Florida Levin College of Law: Juris Doctor – 2011" | |
first_name: attorney | |
last_name: One | |
honorary: Esq | |
nationality: "United States of America" |
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
--- | |
layout: default | |
--- | |
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org", | |
"@type": "Article", | |
"url": "{{ site.url }}{{ page.url }}", | |
"name": "{{ page.title | jsonify }}", | |
"headline": "{{ page.title | jsonify }}", |
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
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org", | |
"@type": "CollectionPage", | |
"name": "Page Title", | |
"url": "URL of Page", | |
"description": "Meta Description", | |
"mainEntity": { | |
"@type": "ItemList", | |
"itemListElement": [ |
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 | |
/** | |
* Plugin Name: Endo Stock Report Exporter | |
* Plugin URI: http://www.endocreative.com | |
* Description: A custom stock report exporter plugin for WooCommerce | |
* Version: 1.0.0 | |
* Author: Endo Creative | |
* Author URI: http://www.endocreative.com | |
* License: GPL2 | |
*/ |
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
# BEGIN WordPress https://wordpress.org/support/article/htaccess/ | |
<Files xmlrpc.php> | |
Order Deny,Allow | |
Deny from all | |
Allow [ Trusted Domains/IPs ] | |
</Files> | |
# FINISH XML RPC BLOCKING | |
RewriteEngine On | |
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] |