- This topic has 9 replies, 4 voices, and was last updated 6 years, 3 months ago by
Leo.
-
AuthorPosts
-
May 23, 2016 at 4:26 am #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
May 23, 2016 at 10:25 am #196163Tom
Lead DeveloperLead DeveloperMay 23, 2016 at 10:39 am #196170Vernon 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
May 23, 2016 at 10:40 am #196171Tom
Lead DeveloperLead DeveloperIt was added to GP quite a long time ago, but it is standard WordPress functionality that GP didn’t have at one point.
May 23, 2016 at 12:48 pm #196188Vernon 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!
May 23, 2016 at 3:44 pm #196216Tom
Lead DeveloperLead DeveloperThat’s my job! 🙂
December 21, 2019 at 12:02 pm #1110766Kirtish 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-3375Please do check with my site:https://mrvyasidea.com
December 21, 2019 at 12:31 pm #1110779Leo
StaffCustomer SupportHi there,
This topic is super old.
Can you open a new topic for your questions?
Thanks 🙂
December 21, 2019 at 12:44 pm #1110784Kirtish Vyas
Hi Leo, here I started a new topic :https://generatepress.com/forums/topic/read-more-and-post-url-is-having-randome-value-added-at-the-end/
December 21, 2019 at 1:27 pm #1110803Leo
StaffCustomer SupportThanks 🙂
-
AuthorPosts
- The topic ‘Read More Tag In URL’ is closed to new replies.