Alchemy United
Alchemy United
@toddlevy said "Not sure why this wouldn't be part of the theme..." If I'm understanding you correctly, you want *_page_* specific versions of the hooks that are already there? This...
@toddlevy - I get that. There are no page or post specific hooks. Just the same universal hooks for all. But once you use the hook, within that callback function,...
@toddlevy - oops. try 'storefront_before_header' it's in header.php and that's called from every page + post + product. that is, anytime wp_header() is called.
hey @djcabrera - i like your ideas. Keep in mind there are security "rules" that the browser enforces to prevent JavaScript from doing nefarious things to your local files and...
{...thinking out loud...} 1) I'm not sure when you last looked but last week-ish I added a second save button. There's now save and JSON and save as .txt (text.)...
Also, if the SVG strings are not inlined, that is, they're stored elsewhere before being "injected" into a page, then technically, those SV string should be escaped. If you're interested,...
"Nothing specific about security risk." I'm not so sure that's the case. What I did was done in the Summer of 2018 and I do remember searching to see what...
This is what I used https://github.com/darylldoyle/svg-sanitizer There might be something newer and better but as of mid-summer 2018 it was the best I could find but the need that I...
I'm not sure you have a choice really. It's likely in a steady state so fork it and add your own namespace so there's no conflicts.
Pardon me if I didn't read in detail, and I realize this is an old issue and likely since resolved but...Can't you just get the post object, look at the...