Skip to content
This repository has been archived by the owner. It is now read-only.

Initial commit of CLAS #1

Merged
merged 1 commit into from Feb 17, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
110 changes: 110 additions & 0 deletions archive.php
@@ -0,0 +1,110 @@
<?php
/*
Template Name: Archives
*/
?>
<?php get_header();?>
<div class="holdit">
<section id="content-hold" class="container content">
<!-- =========== Archives ============ -->
<section id="archive">

<div id="home-interior">
<div class="row" id="row1">
<section id="archive-inner" class="archive-page row-fluid">
<!-- Results Side Bar -->


<div class="page-title clear">
<h1>Search Results</h1>
</div>

<div class="interior-hero clear">

</div>
<div class="no-hero"></div>

<div class="span12">
<div class="row-fluid search-results-search">
<!-- Search Bar -->
<?php get_search_form(); ?>
<!-- <section class="cate-hold">
<!-- Genres -->
<!-- <div class="cate-inner">
<ul>
<?php wp_list_categories(array(
'title_li' => __( '<h1>Search by Categories</h1>' )
)); ?>
</ul>
</div>
</section>
<section class="dates-hold">
<!-- Dates -->
<!--<div class="dates-inner">
<h1>Search by Month</h1>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</div>
</section> -->

</div>
<!-- End -->
<!-- Prosepctive content ---->

<h3 class="search-header clear">Search Results&nbsp;<span class="unbolding">for &ldquo;<?php the_search_query(); ?>&rdquo;</span></h3>
<!-- Start of Search Results -->
<!-- One Single Search Result -->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="result"> <a href="<?php the_permalink(); ?>">
<h5 class="result-header">
<?php the_title(); ?>
</h5>
</a> <span class="result-details">
<span><a href="<?php the_permalink(); ?>">

</a></span> <em><a href="#">
<!-- <?php $cats = get_the_category();
if(!empty($cats)) {
$first = $cats[0];
//echo $first->name;
$singleCat = single_cat_title('', false);//false to surpress echo
echo (empty($singleCat)?$first->name:$singleCat);
} ?> -->
</a></em> </span> <br class="search-br" /><span class="result-info">
<?php the_excerpt();?>
</span> <a href="<?php the_permalink(); ?>"><em class="readmore"> Read More &raquo; </em></a> </div>
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, no content matched your criteria.'); ?>
</p>
<?php endif; ?>

<!-- End of single search result -->
<div class="navigation">
<?php
global $wp_query;

$big = 999999999; // need an unlikely integer

echo paginate_links( array(
'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
'format' => '?paged=%#%',
'show_all' => 'true',
'current' => max( 1, get_query_var('paged') ),
'total' => $wp_query->max_num_pages
) );
?>
</div>

</div>

</div>

</section>
</section>


</section>
</div></div></div>
<?php get_footer();?>
7 changes: 7 additions & 0 deletions bootstrap/css/_notes/dwsync.xml
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<dwsync>
<file name="bootstrap-responsive.min.css" server="testing.wordpress.uconn.edu" local="130671166190000000" remote="130671166190000000" Dst="1" />
<file name="bootstrap-responsive.css" server="testing.wordpress.uconn.edu" local="130671166190000000" remote="130671166190000000" Dst="1" />
<file name="bootstrap.min.css" server="testing.wordpress.uconn.edu" local="130671166190000000" remote="130671166190000000" Dst="1" />
<file name="bootstrap.css" server="testing.wordpress.uconn.edu" local="130671166190000000" remote="130671166190000000" Dst="1" />
</dwsync>