Skip to content

Commit

Permalink
Removed unused query in homepages.php
Browse files Browse the repository at this point in the history
  • Loading branch information
benlk committed Oct 24, 2016
1 parent 3c72d84 commit d4e2ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homepages/homepage.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ function largo_home_single_top() {
function largo_home_featured_stories($max = 3) {
$big_story = largo_home_single_top();
$homepage_feature_term = get_term_by( 'name', __('Homepage Featured', 'largo'), 'prominence' );
$uncategorized_term = get_term_by( 'name', __('Uncategorized'), 'category' );

// Get the homepage featured posts
$featured_stories = get_posts(array(
Expand All @@ -175,6 +174,7 @@ function largo_home_featured_stories($max = 3) {
* 2. Gets the term that the 3 series stories belong to.
*
* @return array An array with `series_stories` and `series_stories_term` keys.
* @todo is this duplicating the functionality of the Largo_Related class?
*/
function largo_home_series_stories_data() {
$big_story = largo_home_single_top();
Expand Down

0 comments on commit d4e2ce5

Please sign in to comment.