Hello,
I’m trying to enter a default value in the wysiwyg editor. That value should be a link to the currently post.
Something like
<a href="the_permalink();">More info </a> "
Is it possible to do it? I tried a shortcode plugin to get the post url, but it didn’t work. Is there any problem to use shortcodes with acf?
Shortcodes do not work in ACF field settings. To do this you should use an acf/load_field filter https://www.advancedcustomfields.com/resources/acfload_field/ and set the default value of the field dynamically in PHP. Or you can use an acf/load_value filter https://www.advancedcustomfields.com/resources/acfload_value/ and if the field has not value then set the value to what you want to be inserted as a default.