This file contains hidden or 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
/** | |
* This function is intended to help you grab an image uploaded with ACF. | |
* | |
* @param [string] $field The ACF field you want to grab content from | |
* @param [string] $size The size of the image (defaults to thumbnail) | |
* @param boolean $subfield If the field is in a repeater, you need to use get_sub_field() | |
* @uses get_field() | |
* @uses get_sub_field() | |
* @return [string] the URL of the image |
This file contains hidden or 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 | |
/** | |
* Functions File | |
* | |
* @package WordPress | |
* @subpackage Imag | |
* @since 1.0 | |
*/ | |
This file contains hidden or 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 | |
/** | |
* GMC Functions | |
* | |
* @package GMC | |
* | |
* @since 1.0 | |
*/ | |
// Exit if accessed directly |
This file contains hidden or 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 Content Directory | |
// ======================== | |
define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . '/content' ); | |
define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/content' ); |
This file contains hidden or 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('WP_DEBUG', true); | |
define('WP_DEBUG_LOG', true); |
This file contains hidden or 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 src='https://s3.amazonaws.com/globalmomschallenge/widget/gmc.min.js' rel='gmc' data-width='300' data-height='600'></script> | |
<script src='https://s3.amazonaws.com/globalmomschallenge/widget/gmc.min.js' rel='gmc' data-width='300' data-height='1050'></script> | |
<script src='https://s3.amazonaws.com/globalmomschallenge/widget/gmc.min.js' rel='gmc' data-width='350' data-height='350'></script> |
This file contains hidden or 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
/*! jQuery v1.10.2 -effects | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license */ | |
;(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2 -effects",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},M=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(O(),x.ready())},O=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",M,!1),e.removeEventListener("load",M,!1)):(a.detachEvent("onreadystatechange",M),e.detachEvent("onload",M))};x.fn=x.proto |
This file contains hidden or 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
<div class="gmr-about container-full visible"> | |
<div class="container"> | |
<?php if( have_posts() ) : while( have_posts() ) : the_post(); ?> | |
<?php the_content(); ?> | |
<?php endwhile; endif; ?> | |
<div class="row stats"> | |
<div class="span4"> | |
<h5>Social actions</h5> | |
<p><span class="icon icon-message"><?php gmc_widget_get_share_number(); ?></span></p> | |
</div> |
This file contains hidden or 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 | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |