djarrin
djarrin
Depends on what your using it for. I'm using it for redirects. I seem to be able to get around cacheing by using the template_redirect hook, like so: `add_action('template_redirect', 'split_test',...
In your renderNode property method you can use a method like this: ``` const elementAndClassPresent = (node, tag, className) => { const attr = node.attribs return (node.name === tag &&...
I solved this issue from the backend by removing any p tags that surround images (here is the expression in PHP): `preg_replace('/\s*()?\s*()\s*()?\s*/iU', '\1\2\3', $text);`