- This topic has 4 replies, 2 voices, and was last updated 1 year, 2 months ago by .
-
Topic
-
Hi there,
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,<div>
tags.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?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.