[Resolved] Read More Tag In URL

Home Forums Support [Resolved] Read More Tag In URL

Home Forums Support Read More Tag In URL

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #196064
    Vernon Lees

    Hi Tom

    I’ve only just noticed this recently – I’m sure it wasn’t about previously.

    When I click the Read more link from the Blog section I’m getting this appended to the URL –

    http://mywebsite/my_post/#more-2254

    Is is possible to get rid of this?

    Best Regards,

    Vernon

    #196163
    Tom
    Lead Developer
    Lead Developer
    #196170
    Vernon Lees

    Hi Tom

    thanks for the quick reply. πŸ™‚

    I’m just trying to understand is this a new thing in WordPress or a change to GeneratePress? I’m thinking its GP as I have a site that has not been upgraded in a while which isn’t appending this tag to the URL?

    Best Regards,

    Vernon

    #196171
    Tom
    Lead Developer
    Lead Developer

    It was added to GP quite a long time ago, but it is standard WordPress functionality that GP didn’t have at one point.

    #196188
    Vernon Lees

    Figured it out. Under Blog Post Content I have the site with the additional URL structure set ‘Show Excerpt’.

    I changed this to ‘Show Full Post’ and it cleared up the link.:-)

    Thanks for stoking the grey matter!

    #196216
    Tom
    Lead Developer
    Lead Developer

    That’s my job! πŸ™‚

    #1110766
    Kirtish Vyas

    Hi Tom,

    I tried to add the PHP code using the code snippet plugin but still, I have two issues, where I am using the WP and generate press latest version.

    This is the code I added :
    add_action( ‘after_setup_theme’, function() {
    remove_filter( ‘attachment_link’, ‘generate_enhanced_image_navigation’, 10, 2 );
    } );

    (I tried by closing the tag with ?> and without closing tag)

    1- From homepage in a recent post if I do click to any post then the opened URL is having a random alphanumeric code added at the end, such as https://www.mrvyasidea.com/oberlo-review-shopify-dropshipping.html?fd827a&fd827a

    2- Under any category, if I am clicking to Read more button then every URL is added with a #more-
    https://www.mrvyasidea.com/oberlo-review-shopify-dropshipping.html#more-3375

    Please do check with my site:https://mrvyasidea.com

    #1110779
    Leo
    Staff
    Customer Support

    Hi there,

    This topic is super old.

    Can you open a new topic for your questions?

    Thanks πŸ™‚

    #1110784
    Kirtish Vyas
    #1110803
    Leo
    Staff
    Customer Support

    Thanks πŸ™‚

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Read More Tag In URL’ is closed to new replies.