DEV Community

Discussion on: Shortcode in WordPress

Collapse
 
tw2113 profile image
Michael Beckwith

on the flipside, if you want this to persist regardless of what theme you're using, it's not difficult at all to make your own quick plugin with almost all the same code (excepting the plugin header), and have the shortcode persist across themes. Plugins can very much be individual single purpose functions.php files that you have an extra step to take in activating.

Worth consideration.

Collapse
 
texe profile image
Chris Texe

You're right! This tip is for beginners and I didn't wanted to make a mess in their head. 😁