Skip to main content
7 events
when toggle format what by license comment
Apr 13, 2017 at 12:37 history edited CommunityBot
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
Sep 4, 2016 at 17:13 comment added Dave Romsey No worries! Glad it's working now.
Sep 4, 2016 at 17:07 vote accept Atasha
Sep 4, 2016 at 17:07 comment added Atasha Sorry, I missed that. Thanks a lot! My code works now. Thanks for the reference links as well. They helped a lot! :)
Sep 4, 2016 at 14:54 comment added Dave Romsey No, our code is not the same! Mine works :) Take a closer look please. You are using get_stylesheet_directory_uri() and I'm using get_stylesheet_directory(). Those are two different functions. Here's a great supplement to the Codex on loading files within WordPress.
Sep 4, 2016 at 13:30 comment added Atasha Yes, what you suggested is what I have in my code, see codes in the post above. My problem is that in my file.php inside the inc directory, when I use the add_filter code, it throws the error that add_filter is an undefined function.
Sep 3, 2016 at 22:37 history answered Dave Romsey CC BY-SA 3.0