Skip to main content
11 events
when toggle format what by license comment
Apr 16, 2018 at 15:37 answer added Igid timeline score: 0
Apr 16, 2018 at 13:31 history edited Igid CC BY-SA 3.0
changed title
Apr 16, 2018 at 13:08 history edited Igid CC BY-SA 3.0
added alternative link code
Apr 16, 2018 at 12:59 history edited Igid CC BY-SA 3.0
added error message
Apr 16, 2018 at 12:53 comment added Igid That would require using a PHP tag everywhere I want to retrieve a file from the same folder. Using a function returning the directory, I can save that as a string (in JavaScript) and prepend it to all file paths.
Apr 16, 2018 at 12:43 comment added Jacob Peattie So just pass the string as the argument to the function...
Apr 16, 2018 at 12:42 comment added Igid @JacobPeattie Because I can save that as a string and append to it, rather than having to pass in my filename to the function. get_stylesheet_directory_uri() did the trick.
Apr 16, 2018 at 1:52 answer added Jacob Peattie timeline score: 3
Apr 16, 2018 at 1:39 comment added Jacob Peattie Why would you prefer to use get_template_directory_uri() over get_theme_file_uri()?
Apr 15, 2018 at 22:11 answer added rudtek timeline score: 1
Apr 15, 2018 at 21:08 history asked Igid CC BY-SA 3.0