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?
generic-oop-engr-theme/page-frontpage.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
29 lines (18 sloc)
571 Bytes
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: Front Page -- No Title & Breadcrumbs*/ ?> | |
<?php get_header(); ?> | |
<div class = "row" id = "contentsection"> | |
<div class = "large-12 column" id = "content-box"> | |
<?php if(is_active_sidebar('frontpage-area')): ?> | |
<?php dynamic_sidebar('frontpage-area'); ?> | |
<?php else: ?> | |
<?php if(have_posts()): ?> | |
<?php while(have_posts()): the_post(); ?> | |
<?php the_content(); ?> | |
<?php endwhile; ?> | |
<?php else: ?> | |
<?php get_template_part('content', '404'); ?> | |
<?php endif; ?> | |
<?php endif; ?> | |
</div> | |
</div> | |
<?php get_footer(); ?> |