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
// Set page parents of Custom Post Types - in the Organisation Setting ACF Options page | |
// Based upon Joe Sexton's blog post http://www.webtipblog.com/setting-wordpress-custom-post-type-parent-specific-page/ | |
define( 'FRIENDS_PARENT_ID', get_field( 'friends_parent_page', 'option' ) ); | |
add_action( 'wp_insert_post_data', 'biscuit_cpt_parent_page', '99', 2 ); | |
function biscuit_cpt_parent_page( $data, $postarr ) { | |
global $post; |
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
<section class="mpu mpu-3 <?php if ($mpu_3_box_css):echo $mpu_3_box_css; endif;?>"> | |
<div class="container"> | |
<div class="row <?php if (!empty($mpu_3_collapse)): echo 'no-gutters'; endif; ?>"> | |
<?php if($mpu_3_title): echo '<h3 class="mpu-title">' . $mpu_3_title . '</h3>'; endif; ?> | |
<div class="col-md-4 mpu-flex box1"> | |
<div class="mpu-item-wrap"> | |
<?php if ($mpu_3_box_1_title):echo '<h3>' . $mpu_3_box_1_title . '</h3>'; endif;?> | |
<div class="mpu-item-content-wrap"> | |
<?php $image_att = wp_get_attachment_image_src( $mpu_3_box_1_image, $mpu_3_size ); ?> | |
<?php if ($mpu_3_box_1_image): echo '<div style="background-image: url( '. $image_att[0] . ')" class="mpu-header-image"></div>'; endif; ?> |
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 | |
/* This is built upon @jg314's really useful gist here https://gist.github.com/jg314/7591169 I have updated it for Universal Analytics tracking | |
rather than the older ga.js version*/ | |
// Add this bit to your functions.php file | |
/* | |
* Add custom query vars to handle Google Analytics Ecommerce tracking. | |
* This should be placed in a plugin or in functions.php of the theme. | |
* |
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
{"0":{"labelPlacement":"top_label","useCurrentUserAsAuthor":"1","title":"Biscuits Donation Form","descriptionPlacement":"below","button":{"type":"text","text":"Make a Secure Donation"},"fields":[{"type":"section","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"15","inputName":"","isRequired":"","label":"","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","ba |
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
.header-search{ | |
width:200px; | |
padding:8px; | |
-webkit-transition: none; | |
transition: none; | |
-webkit-transition: width 1200ms ease; | |
transition: width 1200ms ease; | |
float:left; | |
position:relative; |
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
<body> | |
<div class="top_block"> | |
<div class="wrap"> | |
<div class="container"> | |
<div class="row"> | |
<div class="span6 call_now"> | |
<div class="text_wrap1">Mauris adipiscing venenatis volutpat. Pellentesque sit amet lacus non odio gravida hendrerit at et nulla.</div> | |
</div> | |
<div class="span6 follow_us"> | |
<ul> |
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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title ><?php wp_title( '|', true, 'right' ); ?></title> | |
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<!--[if lt IE 9]> | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> |
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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<!--[if lt IE 9]> | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> |
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 url('http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300'); | |
@import url('css/prettyPhoto.css'); | |
@import url('css/camera.css'); | |
@import url('css/bootstrap.css'); | |
@import url('css/bootstrap-responsive.css'); | |
@import url('css/tango.css'); |
NewerOlder