How can I hide the ACF shortcode when empty
the code needs some modification. see below. /***************************************************************************************************************************************************** * * Usage: [acf_href href_before=”mailto:” href=”acf:field_name” text=”acf:field_name”] * * acf:fieldname will retrieve the value of the specified “fieldname” and use that. * get:url_variable will grab a variable from the URL and use that. * * [acf_href href=”acf:my_link” text=”Link to web site”] * [acf_href href_before=”mailto:” href=”acf:email_address” text=”acf:user_name” post_id=”get:post_id”] … Read more