This repository has been archived by the owner. It is now read-only.
Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ovpr/page-home.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
84 lines (79 sloc)
2.43 KB
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 | |
/* | |
Template Name: Home | |
*/ | |
?> | |
<?php get_header(); ?> | |
<script type="text/javascript"> | |
var ucMain = document.getElementById("uc-main"); | |
ucMain.className = ucMain.className + " ovpr-home"; | |
var thing = document.getElementById("uc-titlebar"); | |
thing.className = thing.className + " ovpr-home"; | |
</script> | |
<div id="home"> | |
<div class="row"> | |
<div class="span8" id="home-slide"> | |
<!-- Slideshow Widget Spot --> | |
<div id="home1"> | |
<?php if ( is_active_sidebar( 'home1' ) ) { ?> | |
<?php dynamic_sidebar( 'home1' ); ?> | |
<?php } else { ?> | |
<h1>Home1</h1> | |
<p>Go to Appearance > Widgets, and drag items into Home1 to edit this area.</p> | |
<?php }; ?> | |
</div> | |
</div> | |
<!-- START right sidebar --> | |
<div class="span4" id="home-aside"> | |
<?php dynamic_sidebar( 'ovpr-home' ); ?> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="span12" id="home-main"> | |
<div class="row-fluid"> | |
<div id="widget-feature" class="span3"> | |
<?php if ( is_active_sidebar( 'home2' ) ) { ?> | |
<?php dynamic_sidebar( 'home2' ); ?> | |
<?php } else { ?> | |
<h1>Home2</h1> | |
<p>Go to Appearance > Widgets, and drag items into Home2 to edit this area.</p> | |
<?php }; ?> | |
</div> | |
<div id="widget-feature" class="span3"> | |
<?php if ( is_active_sidebar( 'home3' ) ) { ?> | |
<?php dynamic_sidebar( 'home3' ); ?> | |
<?php } else { ?> | |
<h1>Home3</h1> | |
<p>Go to Appearance > Widgets, and drag items into Home3 to edit this area.</p> | |
<?php }; ?> | |
</div> | |
<div id="widget-feature" class="span3"> | |
<?php if ( is_active_sidebar( 'home4' ) ) { ?> | |
<?php dynamic_sidebar( 'home4' ); ?> | |
<?php } else { ?> | |
<h1>Home4</h1> | |
<p>Go to Appearance > Widgets, and drag items into Home4 to edit this area.</p> | |
<?php }; ?> | |
</div> | |
<div id="widget-feature" class="span3"> | |
<?php if ( is_active_sidebar( 'home5' ) ) { ?> | |
<?php dynamic_sidebar( 'home5' ); ?> | |
<?php } else { ?> | |
<h1>Home5</h1> | |
<p>Go to Appearance > Widgets, and drag items into Home5 to edit this area.</p> | |
<?php }; ?> | |
</div> | |
<div id="widget-feature" class="span3"> | |
<?php if ( is_active_sidebar( 'home6' ) ) { ?> | |
<?php dynamic_sidebar( 'home6' ); ?> | |
<?php } else { ?> | |
<h1>Home6</h1> | |
<p>Go to Appearance > Widgets, and drag items into Home5 to edit this area.</p> | |
<?php }; ?> | |
</div> | |
</div> | |
</div> | |
<!-- /span8 big left col --> | |
</div> | |
</div> | |
<?php get_footer(); ?> |