[Resolved] Clicking button goes to another url with "#more-"

Home Forums Support [Resolved] Clicking button goes to another url with "#more-"

Home Forums Support Clicking button goes to another url with "#more-"

  • This topic has 2 replies, 2 voices, and was last updated 4 years ago by Leo.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1241891
    Jee

    On the homepage, I have a “continue reading” (read more) button. When you click on the button to go to a post, it adds a “#more- ” plus some numbers to the end of the url. How can I get rid of the “#more” so that clicking the button goes to the same url as the post?

    #1241893
    Jee

    Found the answer!

    Added this:

    add_filter( ‘generate_more_jump’,’generate_disable_more_jump’ );
    function generate_disable_more_jump()
    {
    return ”;
    }

    #1241986
    Leo
    Staff
    Customer Support

    Hi there,

    Yup this is the documentation page for it:
    https://docs.generatepress.com/article/generate_more_jump/

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