Last active
January 30, 2019 13:09
-
-
Save braddalton/1fa01eee185321034c212aa2785cdbd1 to your computer and use it in GitHub Desktop.
Add Shortlink Anywhere In Genesis https://wp.me/p1lTu0-ie6
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_action( 'genesis_entry_footer', 'add_wp_get_shortlink' ); | |
function add_wp_get_shortlink() { | |
printf( '<a href="%s">' . __( 'Your link text here' ) . '</a>', wp_get_shortlink() ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment