Last active
April 3, 2017 22:54
-
-
Save braddalton/9cc9c1a5c15d4594e26a8e524ae0dcde to your computer and use it in GitHub Desktop.
Back To Blog Link https://www.studiopress.com/forums/topic/return-to-blog-link-from-single-post/#post-204248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'genesis_before_content_sidebar_wrap','back_to_blog_link' ); | |
function back_to_blog_link() { | |
if ( is_singular( 'post' ) ) | |
echo '<a href="https://example.com/blog/">← Go Back To Our Blog</a>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment