Welcome to the Treehouse Community
Looking to learn something new?
suyash patankar2,310 Points
Notice : Notice: do_shortcode_tag was called incorrectly.
I copy+paste code from project files attached here.
I get following notice and my shortcode do not work at all.
Notice: do_shortcode_tag was called incorrectly. Attempting to parse a shortcode without a valid callback: wptreehouse_badges Please see Debugging in WordPress for more information. (This message was added in version 4.3.0.) in D:\xampp\htdocs\wordpress\wp-includes\functions.php on line 3622
Steven Stanton59,998 Points
I just had the same issue. In my case my mistake was that I had made the function that I reference in add_shortcode () private, so WordPress was unable to find it. I don't know if that is of any help.