Skip to content

Commit

Permalink
Remove largo_after_hero_largo_edited_date by default; keep the functi…
Browse files Browse the repository at this point in the history
…on so it can be added to child themes
  • Loading branch information
benlk committed Dec 9, 2016
1 parent e50a032 commit 36549b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion inc/post-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,11 @@ function largo_edited_date( $post = null ) {

/**
* Output largo_edited_date() on the single post template
*
* This is disabled in Largo by default. To add it to your child theme, paste in this:
*
* #add_action( 'largo_after_hero', 'largo_after_hero_largo_edited_date', 5 );
*
* @since 0.5.5
* @action largo_after_hero
* @uses largo_edited_date
Expand All @@ -392,4 +397,3 @@ function largo_after_hero_largo_edited_date() {
echo '</div>';
}
}
add_action( 'largo_after_hero', 'largo_after_hero_largo_edited_date', 5 );

1 comment on commit 36549b0

@benlk
Copy link
Collaborator Author

@benlk benlk commented on 36549b0 Dec 9, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.