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: Full Width |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{% comment %} | |
This is for widgets that share content on Twitter. | |
Twitter developer info: https://dev.twitter.com/docs/cards | |
Brought to you by Viralica http://viralica.com | |
{% endcomment %} | |
{% if template contains 'product' %} | |
<meta name="twitter:card" content="product"> | |
<meta name="twitter:title" content="{{ product.title }}" /> | |
<meta name="twitter:description" content="{{ product.description | strip_html | strip_newlines | truncatewords: 160, '' | escape }}" /> |
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 | |
/** | |
* WARNING! THIS SNIPPET MAY BE OUTDATED. | |
* The latest version of this snippet can be found in the Gravity Wiz Snippet Library: | |
* https://github.com/gravitywiz/snippet-library/blob/master/gp-easy-passthrough/gpep-edit-entry.php | |
*/ | |
/** | |
* Gravity Perks // Easy Passthrough // Edit Entry | |
* | |
* Edit entry ID specified in field with current form submission. |
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 | |
/** | |
* Gravity Wiz // Gravity Forms // Map GF Checkbox Field to ACF Checkbox Field (User Meta) | |
* http://graivtywiz.com/ | |
*/ | |
add_filter( 'gform_user_registration_meta_value', function( $value, $meta_key ) { | |
// Update "checkboxes" to your custom field's name. | |
if( $meta_key === 'checkboxes' ) { | |
$value = array_map( 'trim', explode( ',', $value ) ); | |
} |
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 networkx as nx | |
site = nx.DiGraph() | |
# load links from crawl into a list of dictionaries called edges with keys 'Source' and 'Destination' | |
for edge in edges: | |
site.add_edges_from([(edge['Source'], edge['Destination'])]) | |
# set norm_mr to be an array of normalized raw mozranks for the nodes in site |
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
<!-- Two one-half columns --> | |
<div class="one-half first">Content goes here.</div> | |
<div class="one-half">Content goes here.</div> | |
<div class="clearfix"></div> | |
<!-- Three one-third columns. --> | |
<div class="one-third first">Content goes here.</div> | |
<div class="one-third">Content goes here.</div> | |
<div class="one-third">Content goes here.</div> | |
<div class="clearfix"></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
<script> | |
(function(){ | |
var data = { | |
"@context": "http://schema.org", | |
"@type": "BlogPosting", | |
"mainEntityOfPage": { | |
"@type": "WebPage", | |
"@id": {{Page URL}} | |
}, | |
"headline": {{SCHEMA - Article Headline}}, |
NewerOlder