- This topic has 4 replies, 2 voices, and was last updated 6 months, 1 week ago by .
I have made a custom Block with MB Blocks which presents a loop of custom posts. In the output of this block are many link tags (
<a>), which is pretty unwanted in the Gutenberg editor itself, because you can now click on items in the Gutenberg editor itself, redirecting the entire page to the permalink…
I would like to remove these link tags in the back-end (admin) mode and replace them with, for example,
Now I tried to use both the render_template and the render_callback function but this does not work.
Is there a way to get this to work?
- You must be logged in to reply to this topic.