Skip to content

Commit 54edd73

Browse files
committed
Oo mods
1 parent cffb2d5 commit 54edd73

19 files changed

+28
-35
lines changed

archive.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*
55
* @package multiloquent
66
*/
7-
global $multiloquent;
87
get_header();
98
if (have_posts()) {
109
?>

author.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*
66
* @package multiloquent
77
*/
8-
global $multiloquent;
98
get_header();
109
if (have_posts()) {
1110
?>

breadcrumb.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*
55
* @package multiloquent\template_parts
66
*/
7-
global $multiloquent;
87
?>
98
<nav class="container hidden-xs">
109
<ul class="breadcrumb clearfix">

category.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*
55
* @package multiloquent\template_parts
66
*/
7-
global $multiloquent;
87
get_header();
98
if (have_posts()) {
109
?>

featuredimage.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* @package multiloquent\template_parts
66
*/
77

8-
global $multiloquent;
9-
108
if (has_post_thumbnail()) {
119
// the current post has a thumbnail
1210
// set_post_thumbnail_size( 605, 100,1 ); // Normal post thumbnails

featuredposts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
*
66
* @package multiloquent\template_parts
77
*/
8-
global $multiloquent;
8+
99
echo $multiloquent->multiloquent_paralax_featured_sliders();

front-page.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*
55
* @package multiloquent\template_parts
66
*/
7-
global $multiloquent;
87

98
if ('posts' == get_option('show_on_front')) {
109
include (get_home_template());

functions.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,3 @@
88
require_once (trailingslashit(get_template_directory()) . 'function-definitions.php');
99
require_once (trailingslashit(get_template_directory()) . 'multiloquent-base.php');
1010

11-
global $multiloquent;
12-
$multiloquent = new multiloquent_base();
13-
14-

home.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @package multiloquent\template_parts
66
*/
7-
global $multiloquent;
7+
88
get_header();
99
if (have_posts()) {
1010
?>

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @package multiloquent\template_parts
66
*/
7-
global $multiloquent;
7+
88
get_header();
99
if (have_posts()) {
1010
?>

0 commit comments

Comments
 (0)