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
/** | |
* Flamingo Sample | |
*/ | |
body { | |
font-family: sans-serif; | |
font-size: 14px; | |
padding: 50px | |
} |
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
/* | |
* About HTML & CSS | |
*/ | |
/* | |
body { | |
font-family: Arial, sans-serif; | |
font-size: 14px; | |
padding: 50px |
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
/** | |
* Flamingo Sample | |
*/ | |
body { | |
font-family: sans-serif; | |
font-size: 14px; | |
padding: 50px; | |
background: #333; | |
} |
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
/** | |
* Flamingo Sample | |
*/ | |
body { | |
font-family: sans-serif; | |
font-size: 14px; | |
padding: 50px; | |
background: #333; | |
} |
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 | |
/** | |
* Template Name: Portfolio | |
* Created by Zoe Rooney http://zoerooney.com | |
*/ | |
get_header(); ?> | |
<div id="primary" class="full-width"> | |
<div id="content" role="main"> |
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 if ( has_post_format( 'gallery' )) { ?> | |
<div class="controls"></div> | |
<div class="slideshow"></div> | |
<div class="captionbox"></div> | |
<div class="thumb-wrapper"> | |
<?php $images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'post_status' => null, 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => -1 ) ); | |
if( $images ): ?> | |
<ul class="thumbs noscript"> | |
<?php foreach( $images as $attachment_id => $attachment ): ?> | |
<li> |
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(document).ready(function($){ | |
// Read URL and determine if it contains "free" | |
if(window.location.href.indexOf("free") > -1 ) { | |
// If it does, filter the list | |
$.filtrify("patterns-list", "filter", { | |
close : true, // let's not have any drop downs open | |
query : { | |
"cost" : ["free"] // pre-set the filter to only show free patterns | |
}, |
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 | |
/** | |
* ENQUEUE SCRIPTS | |
*/ | |
function add_new_scripts_method() { | |
if ( is_page_template('page-with-slider.php') ) : | |
wp_enqueue_script( | |
'unoslider', | |
get_template_directory_uri() . '/js/unoSlider-1.0.1.min.js', | |
array('jquery') |
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 | |
// create a variable, use it to get the lead time digit from an ACF custom field | |
$lead_time = get_field('lead_time'); | |
// then display the date relative to that lead time | |
echo date('F Y', strtotime('+'.$lead_time.' weeks')); | |
?> |
OlderNewer