[wp-hackers] Allowing theme to override plugin markup on data

Tom Barrett tcbarrett at gmail.com
Thu Nov 7 15:45:31 UTC 2013


I'm writing a shortcode that is going to produce a list of items (oof!).
It's a custom post type, with some meta. Pretty much a standard loop
scenario.

I'd like the shortcode to produce some basic output, and let the theme
really jazz things up. Ideally I'd have the data available with no markup
(for the theme) and then, if the theme doesn't do anything, let the plugin
apply some simple markup of it's own.

Any recommendations on how to engineer this the best?

-- 
http://www.tcbarrett.com | http://gplus.to/tcbarrett |
http://twitter.com/tcbarrett


More information about the wp-hackers mailing list