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 output_featured_image() { | |
echo '<figure class="featured-image">'; | |
the_post_thumbnail( 'archive-feature', array( 'class' => 'alignnone' ) ); | |
// First, check to see if the Sharing buttons are supposed to display on content or excerpt | |
// Remove those sharing buttons if they are | |
$sharecontent = false; | |
$shareexcerpt = false; | |
if ( has_filter( 'the_content', 'sharing_display' ) ) { |
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
// Retrieve the latitude and longitude of the search result | |
lat = Math.round( lat * 100000 ) / 100000; | |
long = Math.round( long * 100000 ) / 100000; | |
for ( var i = 0; i < limit; i++ ) { | |
// Retrieve a new LatLng object for the marker | |
var markLatLng = markers[i].getPosition(); | |
// Retrieve the latitude and longitude of the marker, separately | |
var markLat = Math.round( markLatLng.lat() * 100000 ) / 100000; | |
var markLong = Math.round( markLatLng.lng() * 100000 ) / 100000; |
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
// Get the latitude and longitude of the search result | |
lat = Math.round( lat * 100000 ) / 100000; | |
long = Math.round( long * 100000 ) / 100000; | |
for ( var i = 0; i < limit; i++ ) { | |
// Retrieve the latitude and longitude of the marker | |
var markLat = Math.round( markers[i].position.Ra * 100000 ) / 100000; | |
var markLong = Math.round( markers[i].position.Sa * 100000 ) / 100000; | |
// Compare the search result to the current marker |
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
define( 'JETPACK_DEV_DEBUG', true ); |
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
<!-- Custom Head Code --> | |
<link rel='stylesheet' id='genericons-css' href='//www.umw.edu/wp-content/plugins/jetpack/_inc/genericons/genericons/genericons.css?ver=3.1' type='text/css' media='all' /> | |
<link rel='stylesheet' id='umw-fonts-css' href='//www.umw.edu/wp-content/plugins/umw-fonts/fonts.css?ver=0.2' type='text/css' media='all' /> | |
<link rel='stylesheet' id='umw-online-tools-font-css' href='//www.umw.edu/wp-content/plugins/online-tools/images/icons/svg-online-tools/icon-font/style.css?ver=0.5.2' type='text/css' media='all' /> | |
<link rel='stylesheet' id='umw-online-tools-css' href='//www.umw.edu/wp-content/plugins/online-tools/styles/umw-online-tools.css?ver=0.5.2' type='text/css' media='all' /> | |
<link rel='stylesheet' id='outreach-pro-css' href='//www.umw.edu/wp-content/mu-plugins/styles/outreach-pro.css?ver=1.0.20' type='text/css' media='all' /> | |
<link rel='stylesheet' id='umw-outreach-mods-css' href='//www.umw.edu/wp-content/mu-plugins/styles/umw-outreach-mods.css?ver=1.0.20' type='text/css' media=' |
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
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-[your-analytics-id]-1']); | |
_gaq.push(['_setDomainName', 'none']); | |
_gaq.push(['_setAllowLinker', true]); | |
_gaq.push(['_trackPageview']); | |
(function() { | |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
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
<ul> | |
<!-- Original First Name/Last Name Complex Field --> | |
<li id="field_6_13" class="gfield field_sublabel_below field_description_above"> | |
<label class="gfield_label" for="input_6_13_3">Name</label> | |
<div class="ginput_complex ginput_container no_prefix has_first_name no_middle_name has_last_name no_suffix" id="input_6_13"> | |
<span id="input_6_13_3_container" class="name_first"> | |
<input type="text" name="input_13.3" id="input_6_13_3" value="" aria-label="First name" vk_1cc20="subscribed" data-cip-id="input_6_13_3"> | |
<label for="input_6_13_3">First</label> | |
</span> | |
<span id="input_6_13_6_container" class="name_last"> |
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 | |
if ( ! class_exists( 'My_Customizer_Theme_Mods' ) ) { | |
class My_Customizer_Theme { | |
var $version = '0.1'; | |
function __construct() { | |
/** | |
* We have two basic sizes of images used from the images set in the Customizer | |
* One of them is full-width of the browser, so let's make it large, but not unlimited | |
* The other is a 125x125 icon, but, just in case it needs to be a bit larger on mobile or |
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> | |
<head> | |
<title>My Document Title</title> | |
<body> | |
<ul> | |
<li>First list item | |
<li>Second list item | |
<li>Third list item | |
</ul> |