Skip to content

Commit 44d36dc

Browse files
committed
reverting
1 parent e99d98b commit 44d36dc

18 files changed

+1079
-857
lines changed

archive.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* default archive page template part
4-
*
4+
*
55
* @package multiloquent
66
*/
77

@@ -42,10 +42,10 @@
4242
</div>
4343
<section class="container post">
4444
<?php
45-
$colour = $multiloquent->multiloquent_get_random_blue_class();
45+
$colour = multiloquent_get_random_blue_class();
4646
while (have_posts()) {
4747
the_post();
48-
$multiloquent->multiloquent_render_the_archive($colour);
48+
multiloquent_render_the_archive($colour);
4949
}
5050
?>
5151
</section>
@@ -62,11 +62,11 @@
6262
</ul>
6363
</nav>
6464
</div>
65-
<?php
66-
} else {
65+
<?php
66+
} else {
6767
?>
68-
<div class="container post">
69-
<?php
68+
<div class="container post">
69+
<?php
7070
get_template_part('error-snippet');
7171
?>
7272
</div>

author.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
/**
2+
/**
33
* author pages template part.
44
* have an archive and a bio for the author
5-
*
5+
*
66
* @package multiloquent
77
*/
88
get_header();
@@ -15,7 +15,7 @@
1515
<div class="col-xs-12 col-sm-8">
1616
<h2><?php the_author_meta('display_name'); ?></h2>
1717
<p><strong>Website: </strong> <?php the_author_link();?> </p>
18-
</div>
18+
</div>
1919
<div class="col-xs-12 col-sm-4 text-center">
2020
<figure>
2121
<?php echo get_avatar(get_the_author_meta('ID'));?>
@@ -24,7 +24,7 @@
2424
</figcaption>
2525
</figure>
2626
</div>
27-
</div>
27+
</div>
2828
<div class="col-xs-12 divider">
2929
<div class="col-xs-12">
3030
<?php
@@ -34,16 +34,16 @@
3434
}
3535
?>
3636
</div>
37-
</div>
37+
</div>
3838
</header>
3939
</div>
4040
</div>
4141
<section class="container post">
4242
<?php
43-
$colour = $multiloquent->multiloquent_get_random_blue_class();
43+
$colour = multiloquent_get_random_blue_class();
4444
while (have_posts()) {
4545
the_post();
46-
$multiloquent->multiloquent_render_the_archive($colour);
46+
multiloquent_render_the_archive($colour);
4747
}
4848
?>
4949
</section>
@@ -59,7 +59,7 @@
5959
</nav>
6060
</div>
6161
<?php } else { ?>
62-
<div class="container post">
62+
<div class="container post">
6363
<?php get_template_part('error-snippet');?>
6464
</div>
6565
<?php

breadcrumb.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
<?php
1+
<?php
22
/**
33
* breadcrumb template part
4-
*
4+
*
55
* @package multiloquent\template_parts
66
*/
77
?>
88
<nav class="container hidden-xs">
99
<ul class="breadcrumb clearfix">
1010
<?php
11-
echo $multiloquent->multiloquent_breadcrumbs();
11+
echo multiloquent_breadcrumbs();
1212
get_template_part('metadata');
1313
?>
1414
</ul>
15-
</nav>
15+
</nav>

category.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* category archives template part
4-
*
4+
*
55
* @package multiloquent\template_parts
66
*/
77

@@ -20,10 +20,10 @@
2020
</div>
2121
<section class="container post">
2222
<?php
23-
$colour = $multiloquent->multiloquent_get_random_blue_class();
23+
$colour = multiloquent_get_random_blue_class();
2424
while (have_posts()) {
2525
the_post();
26-
$multiloquent->multiloquent_render_the_archive($colour);
26+
multiloquent_render_the_archive($colour);
2727
}
2828
?>
2929
</section>

featuredimage.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* template part to output a featured image
4-
*
4+
*
55
* @package multiloquent\template_parts
66
*/
77

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

2323
?>
2424

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

front-page.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* home page template part if static page selected as homepage
4-
*
4+
*
55
* @package multiloquent\template_parts
66
*/
77
if ('posts' == get_option('show_on_front')) {
@@ -17,12 +17,12 @@
1717
the_post();
1818
the_content('<p class="serif">' . 'Read the rest of this page' . ' &raquo;</p>');
1919
}
20-
?>
20+
?>
2121
</div>
2222
</div>
2323
<!-- google_ad_section_end-->
2424
<p class="lead text-center">Featured Posts</p>
25-
<?php echo $multiloquent->multiloquent_paralax_slider();?>
25+
<?php echo multiloquent_paralax_slider();?>
2626
<div class="container">
2727
<?php get_template_part('advert');?>
2828
</div>

0 commit comments

Comments
 (0)