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

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

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
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.