Hi all,
I was looking for a reliable way to define path constants for my child theme in my functions.php file.
I did find posts related to this in this forum but could not end up with a reliable way of using constants, specially for loading scripts that would always end up loading as a 404 error page in the <head> of my website.
I end up using a lot of get_bloginfo('stylesheet_directory') calls which I believe will unnecessarily slow my theme down on the long run with lots of queries.
I use a "child-theme-directory"/library/js to put my scripts on and a few other folders like "child-theme-directory"/library/functions to better organize the whole stuff.
Any help would be much appreciated!