[Resolved] When I activate the GP Premium plugin and click the Home Page Post Read More but

Home Forums Support [Resolved] When I activate the GP Premium plugin and click the Home Page Post Read More but

Home Forums Support When I activate the GP Premium plugin and click the Home Page Post Read More but

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2274348
    SUBAN

    When I activate the GP Premium plugin and click the Home Page Post Read More button, the post URL automatically changes to # 1230 this type.

    #2274362
    Fernando
    Customer Support

    Hi Suban,

    That’s WordPress default behavior.

    Here’s an article for more information on how to disable this behavior: https://docs.generatepress.com/article/generate_more_jump/

    Adding PHP reference: https://docs.generatepress.com/article/adding-php/#code-snippets

    Hope this helps!

    #2275259
    SUBAN

    My suggestion is to add this code to the theme by default

    #2275464
    Fernando
    Customer Support

    I see, however, we don’t make decisions in the theme to disable a core default functionality of WordPress.

    You can read more about this functionality here: https://codex.wordpress.org/Customizing_the_Read_More

    This codex page also provides a core method to disable this behavior – we just made that a lot easier with the filter: add_filter( 'generate_more_jump', '__return_false' );

    Hope this clarifies!

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