Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add the edit link back below the content in GP
add_action( 'generate_after_content','generate_add_edit_link' );
function generate_add_edit_link()
if ( ! is_singular() )
edit_post_link( __( 'Edit', 'generatepress' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.