Tag Info

Hot answers tagged


That's a Shortcode. It may be possible to find the function that renders that shortcode and copy/paste it into your own plugin, making it theme-independent, however, how easy that will be to do depends on how the shortcode works- if it depends on additional php functions, JavaScript, and CSS embedded within the theme.


I could take advantage of get_template_part( $slug, $name ) and use it like: get_template_part( 'theme-options', get_current_blog_id() ); Say we are on blog_id 5, if theme-options-5.php exists it will be loaded. If not theme-options.php will be loaded as a fallback. Please note that get_template_part is using require.

Only top voted, non community-wiki answers of a minimum length are eligible