Site logo

Archived topic

duplicate Read More with Custom Excerpt and WPSP

5 replies · Started by Maik on September 14, 2021

Viewing posts 1–6 of 6

Hi.
I want to refer to the Doc "Activating Read More with Custom Excerpt", where I can fix the missing button. This solution is fine so far, but I need a little fix for this because, now I get 2 "read more" buttons, when I also use the Plugin "WP - Show Posts" on my site. Can we exclude WPSP with a filter from this fix? And are there any plans to integrate this fix in GP-core?

Thanks :)
Maik

Sure, here you go. :)

Please scroll down to the last content section to see the WPSP elements.

Hi there,

Do you have PHP snippets on your site? If yes,

Are you using any action hooks or filters that changes the_excerpt?

Hi Elvin.
Yes I´m using some own PHP snippets, but nothing with the_excerpt in it. And I use the button snippet from here.

Like I wrote it is because of using the WPSP-plugin, which also generates the "read more" buttons.
I also could delete the "Read more text" content and just use the button snippet. This could be the easiest way for now I think, until there´s a workaround for the WPSP "read more"?!

Does this help?

Ah that's the one adding the extra button.

You can test this by disabling it. You'll see that the duplicate button on WPSP will disappear when you do. :D

This archived topic is closed to new replies.