Suggestion: Use shortcodes meta/transients
-
I read your FAQ about why you aren’t using shortcodes and think that problem of getting content on every page load could be mitigated with transients.
The “magic tags” are processed when you save the page
I like that you’re thinking about constantly reloading a remote gallery, but there’s nothing preventing you from doing the same thing as your magic tags, with a shortcode.
strpos()
the shortcode (probably the same way you are doing the magic code), store the content as post meta/transient and then display the stored content via the shortcode callback.I think this would make it a lot more user friendly and even opens you up to a tinymce button. I have clients that will never be comfortable in the “html editor” and frankly i don’t want them in there.
cheers!
PS- if you’re on github or equivalent I might be able to send a pull request.
- The topic ‘Suggestion: Use shortcodes meta/transients’ is closed to new replies.