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('WP_DEBUG', true); | |
if ( WP_DEBUG ) { | |
@error_reporting( E_ALL ); | |
@ini_set( 'log_errors', true ); | |
@ini_set( 'log_errors_max_len', '0' ); | |
define( 'WP_DEBUG_LOG', true ); | |
define('WP_DEBUG_DISPLAY', false); |
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
jQuery(document).ready(function(){ | |
/*-----------------------------------------------------------------------------------*/ | |
/* Add rel="lightbox" to image links if the lightbox is enabled */ | |
/*-----------------------------------------------------------------------------------*/ | |
if ( jQuery( 'body' ).hasClass( 'has-lightbox' ) && ! jQuery( 'body' ).hasClass( 'portfolio-component' ) ) { | |
jQuery( 'a[href*=".jpg"], a[href*=".jpeg"], a[href*=".gif"], a[href*=".png"]' ).each( function () { | |
var imageTitle = ''; | |
if ( jQuery( this ).next().hasClass( 'wp-caption-text' ) ) { | |
imageTitle = jQuery( this ).next().text(); |
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
<div style="width:30%;padding:0 3% 0 0;float:left;"> | |
Your content for your column #1 | |
Your content for your column #1 | |
Your content for your column #1 | |
</div> | |
<div style="width:30%;padding:0 3% 0 0;float:left;"> | |
Your content for your column #2 | |
Your content for your column #2 | |
Your content for your column #2 |
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> | |
<li><a href="#a">A</a></li> | |
<li><a href="#b">B</a></li> | |
<li><a href="#c">C</a></li> | |
<li><a href="#d">D</a></li> | |
<li><a href="#e">E</a></li> | |
<li><a href="#f">F</a></li> | |
<li><a href="#g">G</a></li> | |
<li><a href="#h">H</a></li> | |
<li><a href="#i">I</a></li> |
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 | |
add_action('gform_after_submission_14', 'reformat_multiselect', 10, 2); | |
function reformat_multiselect($entry, $form) { | |
$post_id = $entry['post_id']; | |
$selects = array( | |
'custom_field1' => 'ACF_field_key', | |
'custom_field2' => 'ACF_field_key', | |
'custom_field3' => 'ACF_field_key' |
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
Choose "location" from the search bar below and type your location in order to find Bushcare sites near you. | |
The default distance is 15km, but you can specify your own. | |
<div id="map-results" class="acf-map"></div> | |
[wp-ultimate-search-bar] | |
[wp-ultimate-search-results] |
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
:after { | |
content:"."; | |
display:block; | |
height:0; | |
clear:both; | |
visibility:hidden; | |
} |