Skip to content

Commit

Permalink
Remove more references to largo_featured_widget
Browse files Browse the repository at this point in the history
Copies part of #1469 into the 0.5-dev branch.

Co-authored-by: @mikeschinkel <mike@newclarity.net>
  • Loading branch information
benlk and mikeschinkel committed Nov 8, 2018
1 parent f0bf74d commit 8cdcbbf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 45 deletions.
13 changes: 1 addition & 12 deletions partials/footer-widget-3col-default.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@
</div>

<div class="span6 widget-area" role="complementary">
<?php if ( ! dynamic_sidebar( 'footer-2' ) ) {
the_widget( 'largo_featured_widget', array(
'term' => 'footer-featured',
'title' => __('In Case You Missed It', 'largo'),
'widget_class' => 'default',
'num_posts' => 2,
'num_sentences' => 2,
'thumb' => 'before'
)
);
}
?>
<?php dynamic_sidebar( 'footer-2' ); ?>
</div>

<div class="span3 widget-area" role="complementary">
Expand Down
13 changes: 1 addition & 12 deletions partials/footer-widget-3col-equal.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@
</div>

<div class="span4 widget-area" role="complementary">
<?php if ( ! dynamic_sidebar( 'footer-2' ) ) {
the_widget( 'largo_featured_widget', array(
'term' => 'footer-featured',
'title' => __('In Case You Missed It', 'largo'),
'widget_class' => 'default',
'num_posts' => 2,
'num_sentences' => 2,
'thumb' => 'before'
)
);
}
?>
<?php dynamic_sidebar( 'footer-2' ); ?>
</div>

<div class="span4 widget-area" role="complementary">
Expand Down
13 changes: 1 addition & 12 deletions partials/footer-widget-4col.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@
</div>

<div class="span3 widget-area" role="complementary">
<?php if ( ! dynamic_sidebar( 'footer-2' ) ) {
the_widget( 'largo_featured_widget', array(
'term' => 'footer-featured',
'title' => __('In Case You Missed It', 'largo'),
'widget_class' => 'default',
'num_posts' => 2,
'num_sentences' => 2,
'thumb' => 'before'
)
);
}
?>
<?php dynamic_sidebar( 'footer-2' ); ?>
</div>

<div class="span3 widget-area" role="complementary">
Expand Down
9 changes: 0 additions & 9 deletions partials/sidebar-fallback.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,3 @@
)
);
}

the_widget( 'largo_featured_widget', array(
'term' => 'sidebar-featured',
'title' => __('We Recommend', 'largo'),
'widget_class' => 'default',
'num_posts' => 5,
'num_sentences' => 2
)
);

0 comments on commit 8cdcbbf

Please sign in to comment.