Skip to content

Commit

Permalink
reverting
Browse files Browse the repository at this point in the history
  • Loading branch information
adeojonathan committed Sep 27, 2014
1 parent e99d98b commit 44d36dc
Show file tree
Hide file tree
Showing 18 changed files with 1,079 additions and 857 deletions.
14 changes: 7 additions & 7 deletions archive.php
@@ -1,7 +1,7 @@
<?php
/**
* default archive page template part
*
*
* @package multiloquent
*/

Expand Down Expand Up @@ -42,10 +42,10 @@
</div>
<section class="container post">
<?php
$colour = $multiloquent->multiloquent_get_random_blue_class();
$colour = multiloquent_get_random_blue_class();
while (have_posts()) {
the_post();
$multiloquent->multiloquent_render_the_archive($colour);
multiloquent_render_the_archive($colour);
}
?>
</section>
Expand All @@ -62,11 +62,11 @@
</ul>
</nav>
</div>
<?php
} else {
<?php
} else {
?>
<div class="container post">
<?php
<div class="container post">
<?php
get_template_part('error-snippet');
?>
</div>
Expand Down
16 changes: 8 additions & 8 deletions author.php
@@ -1,8 +1,8 @@
<?php
/**
/**
* author pages template part.
* have an archive and a bio for the author
*
*
* @package multiloquent
*/
get_header();
Expand All @@ -15,7 +15,7 @@
<div class="col-xs-12 col-sm-8">
<h2><?php the_author_meta('display_name'); ?></h2>
<p><strong>Website: </strong> <?php the_author_link();?> </p>
</div>
</div>
<div class="col-xs-12 col-sm-4 text-center">
<figure>
<?php echo get_avatar(get_the_author_meta('ID'));?>
Expand All @@ -24,7 +24,7 @@
</figcaption>
</figure>
</div>
</div>
</div>
<div class="col-xs-12 divider">
<div class="col-xs-12">
<?php
Expand All @@ -34,16 +34,16 @@
}
?>
</div>
</div>
</div>
</header>
</div>
</div>
<section class="container post">
<?php
$colour = $multiloquent->multiloquent_get_random_blue_class();
$colour = multiloquent_get_random_blue_class();
while (have_posts()) {
the_post();
$multiloquent->multiloquent_render_the_archive($colour);
multiloquent_render_the_archive($colour);
}
?>
</section>
Expand All @@ -59,7 +59,7 @@
</nav>
</div>
<?php } else { ?>
<div class="container post">
<div class="container post">
<?php get_template_part('error-snippet');?>
</div>
<?php
Expand Down
8 changes: 4 additions & 4 deletions breadcrumb.php
@@ -1,15 +1,15 @@
<?php
<?php
/**
* breadcrumb template part
*
*
* @package multiloquent\template_parts
*/
?>
<nav class="container hidden-xs">
<ul class="breadcrumb clearfix">
<?php
echo $multiloquent->multiloquent_breadcrumbs();
echo multiloquent_breadcrumbs();
get_template_part('metadata');
?>
</ul>
</nav>
</nav>
6 changes: 3 additions & 3 deletions category.php
@@ -1,7 +1,7 @@
<?php
/**
* category archives template part
*
*
* @package multiloquent\template_parts
*/

Expand All @@ -20,10 +20,10 @@
</div>
<section class="container post">
<?php
$colour = $multiloquent->multiloquent_get_random_blue_class();
$colour = multiloquent_get_random_blue_class();
while (have_posts()) {
the_post();
$multiloquent->multiloquent_render_the_archive($colour);
multiloquent_render_the_archive($colour);
}
?>
</section>
Expand Down
8 changes: 4 additions & 4 deletions featuredimage.php
@@ -1,7 +1,7 @@
<?php
/**
* template part to output a featured image
*
*
* @package multiloquent\template_parts
*/

Expand All @@ -12,7 +12,7 @@
$theimg = $slider_image[0];
} else {
$theimg = get_header_image();
}
}
// remove the domain part as some hosts baulk at it
//$urlparts = parse_url($theimg);
//$extracted = $_SERVER['DOCUMENT_ROOT'].$urlparts['path'];
Expand All @@ -22,9 +22,9 @@

?>

<h1 class="multiloquent_h1_tag" style="background-image:url('<?php echo $theimg;?>');"><?php echo $multiloquent->multiloquent_post_title(); ?></h1>
<h1 class="multiloquent_h1_tag" style="background-image:url('<?php echo $theimg;?>');"><?php echo multiloquent_post_title(); ?></h1>
<figure class="thumbnail main_image">
<figcaption>
<span class="fa fa-comment-o fa-fw"></span> <?php echo $multiloquent->multiloquent_post_title(); ?></figcaption>
<span class="fa fa-comment-o fa-fw"></span> <?php echo multiloquent_post_title(); ?></figcaption>
</figure>

6 changes: 3 additions & 3 deletions front-page.php
@@ -1,7 +1,7 @@
<?php
/**
* home page template part if static page selected as homepage
*
*
* @package multiloquent\template_parts
*/
if ('posts' == get_option('show_on_front')) {
Expand All @@ -17,12 +17,12 @@
the_post();
the_content('<p class="serif">' . 'Read the rest of this page' . ' &raquo;</p>');
}
?>
?>
</div>
</div>
<!-- google_ad_section_end-->
<p class="lead text-center">Featured Posts</p>
<?php echo $multiloquent->multiloquent_paralax_slider();?>
<?php echo multiloquent_paralax_slider();?>
<div class="container">
<?php get_template_part('advert');?>
</div>
Expand Down

0 comments on commit 44d36dc

Please sign in to comment.