How to put custom admin setting field into a shortcode
Your issues aren’t shortcode-related, just some PHP syntax problems. I suggest enabling debugging so you can see PHP errors being generated. Opening <?php and closing ?> php tags are for switching between html and php output. See escaping from html in PHP documentation. A function can only return once, as it immediately ends execution and … Read more