[Resolved] Shortlink button disappeared with update

Home Forums Support [Resolved] Shortlink button disappeared with update

Home Forums Support Shortlink button disappeared with update

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #670600
    Bey

    Howdy –

    Was the shortlink removed from the newest build (or am I crazy heh)? I had to add this to functions.php to get it back

    add_filter( 'get_shortlink', function( $shortlink ) {return $shortlink;} );

    #670765
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    GeneratePress itself doesn’t reference the shortlink at all.

    Perhaps this will help?: https://www.wpbeginner.com/wp-tutorials/how-to-restore-the-get-shortlink-button-in-wordpress/

    #671247
    Bey

    Hiya –

    Yeah, that’s what I did… see my original post 😉

    Back to the drawing board. I thought perhaps it was the GP Premium update that did it. The shortlink disappeared from the builder right after I updated and the only sites affected are the ones using GP.

    Anyway, thanks. I’ll keep picking at it.
    B

    #671266
    Tom
    Lead Developer
    Lead Developer

    No problem – hope you’re able to track it down!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.