Meta Box
Support › General › Using shortcode as hyperlink
I have created a Register link for an event cpt, and want to display the field value (which is a URL) as a button.
I have tried to use the following:
<a href=" [rwmb_meta meta_key="event_register"] ">Register</a>
the problem is that after saving the page, the shortcode is changed somehow to this
<a href=" [rwmb_meta meta_key=">Register</a>
what could be causing this issue? or is there something about the MB plugin that prevents me from doing this?
Hi Neil,
Can you try changing it to:
<a href="[rwmb_meta meta_key='event_register']">Register</a>
I think it's the problem of using double quotes inside double quotes.