I've been spending a bit of time reading up on customising MarketPress the past few days, including the posts on the topic on this site, as an upcoming project is likely to require some customisation of MarketPress templates.
Specifically what I need to do right now is add additional, custom meta to the product listings and product pages after the product excerpt. Ideally I don't want to be creating whole new page templates just for this, as overall I'm happy with the default layouts provided by the plugin.
I was hoping to find some sort of
add_action( 'mp_after_excerpt' , 'my_function' ); but can't find anything like this. At the moment, I've played around using filters, e.g.
add_filter( 'the_excerpt' , 'my_function' , 10 ) and adding my custom meta HTML on the end. It works OK, but I'm a little uncomfortable as I need to add a closing
</div> at the start ( to close the div containing the excerpt ) and leave out my closing
</div> so it can be closed by the existing template.
Looking for some input here, is the way I'm currently working reasonable or is there a better way?