Customize excerpt read more button

Posted in: Newspaper
Post count: 68

Hi!

I am trying to customize the excerpt “Read More” button on Flex Block 1.

But when I try to do it with some code in functions.php customizing the default WordPress “Read More” button it does not work – it seems like you made your own “Read More button” filter?

I tried this default function from WordPress Codex, and did not work:
function modify_read_more_link() {
return ‘Your Read More Link Text‘;
}
add_filter( ‘the_content_more_link’, ‘modify_read_more_link’ );

What to do?

Post count: 21065

Hello @kennethhede !

This will require custom work which is not covered by the support team.
For customization and other services you can contact our custom work team here: https://tagdiv.com/premium-customization-services/

Thank you so much for understanding!

Post count: 68

Ok, but that is kind of frustrating for me 🙂

You should have some kind of filter I can call in functions.php to change its behavior?

Now when you disabled me to use the default WordPress filter to do this.

Post count: 21065

Hello @kennethhede !

In order to customize the Read More button from the Flex block 1, you have some settings: https://prnt.sc/zyVQAm6gpNlV -> https://prnt.sc/3pR74OBjdN4e.

Thank you!

Post count: 68

Yes I know, but I need to manipulate the action, so it is a “Report” button instead.

That would be easy, if I was able to use the default filter in functions.php, but I am not using your Flex block.

I would try to solve it using some JS, but I don’t know, if it will work..

Post count: 21065

Hello @kennethhede !

For customization and other services you can contact our custom work team here: https://tagdiv.com/premium-customization-services/

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.