Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .sass-cache/b4c1b7699d4821663acc83ff2c03e56f0a9f2ae5/_globals.scssc
Binary file not shown.
Binary file not shown.
Binary file modified .sass-cache/b4c1b7699d4821663acc83ff2c03e56f0a9f2ae5/style.scssc
Binary file not shown.
31 changes: 26 additions & 5 deletions Checkout.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
<?php
/*
Template Name: Checkout
* Template Name: Checkout
*
* Easy Digital Downloads automatically creates multiple Pages when the
* plugin is installed and activated. This template is created for use
* with the Checkout page.
*
* To edit the Checkout template, do so in a child theme by COPYING
* and pasting the quota/templates/content-checkout.php file into your child
* folder in the same structural location. Then, WordPress will use your child
* theme's content-checkout.php file instead of Quota's.
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'quota-checkout' ); ?>>
<div class="entry-content">
<?php the_content(); ?>

get_header(); ?>

<div class="container" id="checkout">
<?php
// start the loop
while ( have_posts() ) : the_post();

get_template_part( 'templates/content', 'checkout' );

endwhile; // end the loop
?>
</div>



<?php get_footer(); ?>
151 changes: 151 additions & 0 deletions archive.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
<?php
/*
Template Name: Archive
*/

?>
<?php get_header(); ?>

<?php
if (function_exists('category_image_src')) {
$category_image = category_image_src( array( 'size' => 'full' ) , false );
} else {
$category_image = '';
}
?>

<div class="container-fluid" id="grid">

<div class="grid">



<div class="block full medium-half large-one-third type-image" data-order="" data-order-medium="" data-order-large="">
<div class="block-inner ">
<a href="http://wearefounded.com/projects/generation/" class="block-content">
<div class="content-rollover no-caption">

<div class="background">
<?php if ($category_image) : ?>

<!-- category featured image -->
<img src="<?php echo $category_image; ?>" alt="<?php single_cat_title();?>" desc="<?php echo wp_strip_all_tags( category_description() );?>"/>

<?php endif; ?>
</div>

<div class="caption block-padding colour-light">
<span style="color:inherit">GENERATION</span>
</div>

</div>
</a>
</div>
</div>



<div class="block full medium-half large-one-third type-image" data-order="" data-order-medium="" data-order-large="" >
<div class="block-inner ">
<a href="http://wearefounded.com/projects/futsal/" class="block-content">
<div class="content-rollover no-caption" style="background-color: transparent !important">

<div class="background">
<img class="" src="http://wearefounded.com/wp-content/uploads/2015/03/Futsal_Main-1000x563.jpg"/>
</div>

<div class="caption block-padding colour-light">
<span style="color:inherit">Futsal</span>
</div>

</div>
</a>
</div>
</div>



<div class="block full medium-half large-one-third type-image" data-order="" data-order-medium="" data-order-large="" >
<div class="block-inner ">
<a href="http://wearefounded.com/projects/baltic-pv/" class="block-content">
<div class="content-rollover no-caption" style="background-color: transparent !important">

<div class="background">
<img class="" src="http://wearefounded.com/wp-content/uploads/2014/09/BalticPrivate_1-960x540.jpg"/>
</div>

<div class="caption block-padding colour-light">
<span style="color:inherit">BALTIC Private View</span>
</div>

</div>
</a>
</div>
</div>



<div class="block full medium-half large-one-third type-image" data-order="" data-order-medium="" data-order-large="">
<div class="block-inner ">
<a href="http://wearefounded.com/projects/hammer/" class="block-content">
<div class="content-rollover no-caption" style="background-color: transparent !important">

<div class="background">
<img class="" src="http://wearefounded.com/wp-content/uploads/2015/01/NewNewNew1-1000x563.jpg"/>
</div>

<div class="caption block-padding colour-light">
<span style="color:inherit">Hammer</span>
</div>

</div>
</a>
</div>
</div>



<div class="block full medium-half large-one-third type-image" data-order="" data-order-medium="" data-order-large="" >
<div class="block-inner ">
<a href="http://wearefounded.com/projects/baltickitchen/" class="block-content">
<div class="content-rollover no-caption" style="background-color: transparent !important">

<div class="background">
<img class="" src="http://wearefounded.com/wp-content/uploads/2014/08/BALTIC-Kitchen-1-960x540.jpg"/>
</div>

<div class="caption block-padding colour-light">
<span style="color:inherit">BALTIC Kitchen</span>
</div>

</div>
</a>
</div>
</div>



<div class="block full medium-half large-one-third type-image" data-order="" data-order-medium="" data-order-large="" >
<div class="block-inner ">
<a href="http://wearefounded.com/projects/ryan-edy/" class="block-content">
<div class="content-rollover no-caption" style="background-color: transparent !important">

<div class="background">
<img class="" src="http://wearefounded.com/wp-content/uploads/2015/03/ryan-edy-31-1000x563.jpg"/>
</div>

<div class="caption block-padding colour-dark">
<span style="color:inherit">Ryan Edy</span>
</div>

</div>
</a>
</div>
</div>
</div>
</div>




<?php get_footer();?>
5 changes: 2 additions & 3 deletions carousel.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php /*
Template Name: Treehouse Carousel Template
*/ ?>

<?php get_header(); ?>


Expand Down Expand Up @@ -48,7 +49,7 @@

<?php endwhile; endif; ?>

</div>
</div>

<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
Expand All @@ -62,8 +63,6 @@

</div>



</div>

</div>
Expand Down
62 changes: 62 additions & 0 deletions category.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@

<?php get_header(); ?>


<div id="site-wrapper">

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="container-fluid" id="centre-buttons">


<span class= "button">
<?php previous_post_link ('%link', '<nav class="btn btn-lg" id="big-sexy"><i class="glyphicon glyphicon-chevron-left"></i> </nav>', TRUE ); ?>
<a href="<?php bloginfo('url'); ?>"> <span class="glyphicon glyphicon-th"></span></a>
<?php next_post_link ('%link', '<nav class="btn btn-lg"><i class="glyphicon glyphicon-chevron-right"></i> </nav>', TRUE ); ?>
</span>
<nav class="toggle-nav btn btn-lg" id="big-sexy"><i class="glyphicon glyphicon-info-sign"></i> </nav>
</div>

<div id="site-canvas">





<?php
$thumbnail_id = get_post_thumbnail_id();
$thumbnail_url = wp_get_attachment_image_src( $thumbnail_id, 'thumbnail-size', true );
?>
<div class="container-fluid">

<div class="imgBox">

<img src="<?php echo $thumbnail_url[0]; ?>" id="singleImage">
<!-- </a> -->
</div>
</div>
<div class="container-fluid" id="site-menu">
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>


</div>
</div><!-- #site-canvas -->


<?php endwhile; else:?>

<div class="page-header">
<h1>Oh no!</h1>
</div>

<p>No content is appearing in this space</p>

<?php endif; ?>

</div><!-- #site-wrapper> -->





<?php get_footer();?>
9 changes: 7 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ function theme_js() {
}
wp_enqueue_script( 'index_js', get_template_directory_uri() . '/js/index.js', array('jquery'), '', true );

wp_enqueue_script( 'theme_js', get_template_directory_uri() . '/js/theme.js', array('jquery','bootstrap_js'), '', true );

wp_enqueue_script( 'offcan_js', get_template_directory_uri() . '/js/offcan.js', array('jquery','bootstrap_js'), '', true );

add_action('wp_enqueue_scripts', 'index_js');
Expand All @@ -45,3 +43,10 @@ function register_theme_menus() {
);
}
add_action('init','register_theme_menus');


// add categories to attachments
function wptp_add_categories_to_attachments() {
register_taxonomy_for_object_type( 'category', 'attachment' );
}
add_action( 'init' , 'wptp_add_categories_to_attachments' );
54 changes: 54 additions & 0 deletions gallery.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php
/*
Template Name: Gallery
*/

?>
<?php get_header(); ?>



<div class="container-fluid" id="grid">
<nav class="toggle-nav btn btn-lg" id="Gallery-Toggle"><i class="glyphicon glyphicon-info-sign"></i> </nav>
<div class="grid">

<?php
$args = array(
'orderby' => 'name',
'order' => 'ASC'
);
$categories = get_categories($args);
foreach($categories as $category) {
$term_id = $category->term_id;
$image = category_image_src( array('term_id'=>$term_id) , false );
$name = $category->name;
?>

<div class="block full medium-half large-one-third type-image" data-order="" data-order-medium="" data-order-large="">
<div class="block-inner ">
<a href="<?php the_permalink(); ?>" class="block-content">
<div class="content-rollover no-caption">

<div class="background">

<img src="<?php echo $image; ?>">
</div>

<div class="caption block-padding colour-light">
<span style="color:inherit"><?php echo $name?></span>
</div>
</div>
</a>
</div>
</div>


<?php } ?>

</div>
</div>




<?php get_footer();?>
Loading