I’m creating a child theme off of wp-framework and in it’s header it uses
<?php echo IMAGES . '/favicon.ico'; ?>
to recall the folder where images are kept.
How do I define or create the location in order to recall it using echo IMAGES?
and if I can save the image folder location as IMAGES (If I recall it’s a string?) can I do the same with other information?
Many WordPress frameworks include helper functions and pre-defined folder locations. WP Framework is very well coded but requires some learning and inspecting the code to find the documentation.
In the file core.php many constants are defined but I did not see IMAGES but THEME_IMAGE is defined so it is likely that IMAMGE refers to the images folder in the child theme directory.
Here is the list of constants available for you to use:
WP Framework V 3.6 core.php:
If you need to define/redefine a constant:
If you need to echo
parent-themeimages
:If you need to echo
child-themeimages
:Or do you need to do something else?