Timeline for 404 Not Found on CSS file even though it's in the correct directory
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 27, 2021 at 17:56 | comment | added | rudtek | ah. looking at your screenshot it looked like the whole project was a plugin. If you want to go another route let me know! let me know where the css (plugin?) and where the enqueue function is though! | |
Feb 26, 2021 at 21:21 | vote | accept | Timothy Owen | ||
Feb 26, 2021 at 20:21 | comment | added | Timothy Owen | But you are right, if I move the enqueue to my plugin file, it works fine. I guess there's some problem with trying to do it from the template file. Not sure if I should mark answered or not. | |
Feb 26, 2021 at 20:18 | comment | added | Timothy Owen | plugin_dir_url( FILE ) gives me the child theme directory because this is in a template file, which is in the child theme dir | |
Feb 26, 2021 at 20:16 | history | answered | rudtek | CC BY-SA 4.0 |