Skip to content

Commit

Permalink
Merge pull request #1241 from INN/remove-explore-related-widget
Browse files Browse the repository at this point in the history
Remove explore related widget
  • Loading branch information
rclations authored Sep 7, 2016
2 parents 6e659a5 + 96956ac commit 5900d73
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 653 deletions.
2 changes: 1 addition & 1 deletion css/editor-style.min.css

Large diffs are not rendered by default.

99 changes: 1 addition & 98 deletions css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/style.min.css

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions docs/users/sidebarswidgets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ Largo Donate Widget

Shows a donate message and button with a link to a donation page. You can change the message, button text, and/or link on a per-widget basis if you need to for different pages/sections of your site. By default, the link used in this widget is the one set under the **Appearance > Theme Options > Basic Settings** menu (also used for the donate button in the site header).

Largo Explore Related
---------------------

A tabbed widget to show related stories by category/tag. This widget works only on single-post pages, and fits best in the Article Bottom widget area. We recommend using the Largo Related posts widget instead but this widget is retained for backwards compatibility.

Largo Facebook Widget
---------------------

Expand Down Expand Up @@ -221,6 +216,7 @@ Widgets Deprecated in 0.5x
=========================

- **Largo Featured Posts** - Now just use the Largo Recent Posts widget and limit to the desired term in the Prominence taxonomy.
- **Largo Explore Related** - Replaced by the Largo Related posts widget.

Sidebar Options
===============
Expand Down
2 changes: 1 addition & 1 deletion homepages/assets/css/single.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion homepages/assets/css/top-stories.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions inc/enqueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,6 @@ function largo_enqueue_js() {
true
);

// Only load jquery tabs for the related content box if it's active
if ( is_single() ) {
wp_enqueue_script(
'idTabs',
get_template_directory_uri() . '/js/jquery.idTabs.js',
array( 'jquery' ),
$version,
true
);
}
}
}
add_action( 'wp_enqueue_scripts', 'largo_enqueue_js' );
Expand Down
4 changes: 2 additions & 2 deletions inc/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ function largo_update_widgets() {

$checks['show_related_content'] = array(
'values' => array('1'),
'widget' => 'largo-explore-related',
'settings' => array('title' => __( 'More About', 'largo' ), 'topics' => 6, 'posts' => 3),
'widget' => 'largo-related-posts',
'settings' => array('title' => __( 'Read Next', 'largo' ), 'qty' => 1),
);

$checks['show_next_prev_nav_single'] = array(
Expand Down
1 change: 0 additions & 1 deletion inc/widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ function largo_widgets() {
'largo_taxonomy_list_widget' => '/inc/widgets/largo-taxonomy-list.php',
'largo_twitter_widget' => '/inc/widgets/largo-twitter.php',
'largo_related_posts_widget' => '/inc/widgets/largo-related-posts.php',
'largo_explore_related_widget' => '/inc/widgets/largo-explore-related.php',
'largo_author_widget' => '/inc/widgets/largo-author-bio.php',
'largo_featured_widget' => '/inc/widgets/largo-featured.php',
'largo_tag_list_widget' => '/inc/widgets/largo-tag-list.php',
Expand Down
Loading

0 comments on commit 5900d73

Please sign in to comment.