- This topic has 9 replies, 2 voices, and was last updated 7 years ago by Ulrich.
-
AuthorPosts
-
August 25, 2017 at 12:16 pm #121091UlrichParticipant
Is there a way to remove the “/#more-xyxy” section of links?
The browser should show:
http://www.stiftung-meeresschutz.org/projektfoerderung/meeresschutzprojekte/la-gomera-langestuetzte-beobachtung-von-delfinen-und-walenfor example when you hit the “weiterlesen ->” from the post and should not jump into the middle of the post.
Regards
Ulrich KarlowskiAugust 26, 2017 at 10:18 am #121115PratikParticipantHi @dsm,
Can you send me link to your blog page, i want to check it.
Also, can you try changing your permalink to something else at Dashboard=> Settings=> Permalinks.
More info about changing here: https://codex.wordpress.org/Settings_Permalinks_Screen
Regards,
PratikAugust 26, 2017 at 11:38 am #121119UlrichParticipantHi @Pratik,
Thanks for gettingt back. The main link is:
http://www.stiftung-meeresschutz.org
I will take a look at the permalink solution you suggested but that probably means changing all links with the /#more-1010 and so on manually….?
Regards,
UlrichAugust 28, 2017 at 11:31 pm #121251PratikParticipantHI @dsm,
I meant the page where the link is. I have your home page, I need the page where the link originates.
August 29, 2017 at 2:08 am #121262UlrichParticipantHi @Pratik,
the /#more- Link shows when one hits the “weiterlesen” (read more) link of a post, like here:
Sorry, I can’t explain it better but hope this helps :).
Regards
UlrichAugust 29, 2017 at 2:23 am #121264PratikParticipantHi @dms,
Can you try activating parent theme and let me know if the issue persists?
Regards,
PratikAugust 29, 2017 at 9:32 am #121283UlrichParticipantHi @Pratik,
Thanks, seems the parent theme can not be activated. I also do not want to lose all the adaptions of the child theme…
Also tried to set a permalink like from:
http://www.stiftung-meeresschutz.org/projektfoerderung/meeresschutzprojekte/la-gomera-langestuetzte-beobachtung-von-delfinen-und-walen/#more-1039
to
http://www.stiftung-meeresschutz.org/projektfoerderung/meeresschutzprojekte/la-gomera-langestuetzte-beobachtung-von-delfinen-und-walendidn’t do anything.
Looks like I have to live with this, what do you think?
Regards
Ulrich
August 30, 2017 at 12:28 pm #121352UlrichParticipantHi @Pratik,
Finally I got the parent theme activated, didn’t wait long enough when I first tried…
But this didn’t change anything….
Any other idea or should we bury the issue?
Regards
UlrichAugust 30, 2017 at 11:52 pm #121386PratikParticipantHI @dsm,
Now can you check for conflict plugins. I think this is a plugin issue. For this, check our post: https://catchthemes.com/wordpress-tutorials/how-to-check-for-plugin-conflicts-with-our-themes/.
Let me know how this goes.
Regards,
PratikAugust 31, 2017 at 9:25 am #121407UlrichParticipantHi @Pratik,
Thanks. This looks like a lenghty procedure so I did some searching with the German WP-community and found somethinsg that seems to have solved the issue:
I added
function remove_more_jump_link($link) {
$offset = strpos($link, ‘#more-‘);
if ($offset) { $end = strpos($link, ‘”‘,$offset); }
if ($end) { $link = substr_replace($link, ”, $offset, $end-$offset); }
return $link;
}
add_filter(‘the_content_more_link’, ‘remove_more_jump_link’);to the function.php of the child theme and voila: all the /#more- links seem to have gone
I think we can close the issue now. Thanks for your advice and help :).
Regards
Ulrich -
AuthorPosts
- The topic ‘Removing the /#more- Link’ is closed to new replies.