Dan, I made a custom template titled "beer" and put the following code inside it.
If you need help implementing it, let me know.
I then called $beer wherever I wanted it in the postbit template.
Additionally, I made two plugins, "buy me a beer cache template" and "buy me a beer in postbit"
Plugin Info:
Hook Location: cache_templates
Title: buy me a beer cache template
Plugin PHP Code:
PHP Code:
$globaltemplates = array_merge($globaltemplates, array('beer'));
Hook Location: postbit_display_complete
Title: buy me a beer in postbit
Plugin PHP Code:
PHP Code:
eval('$beer = "' . fetch_template('beer') . '";');
Bookmarks