This plugin allows home brewers, professional breweries, and beer afficianadoes to enter individual beer, beer categories, and beer details. It provides a shortcode that will allow for display management.
Beer Directory is a WordPress plugin that creats a custom post which allows home brewers, professional breweries, and beer afficianadoes to enter individual beer, beer categories, and beer details. It provides a shortcode that will allow for display management.
9
stars
3
forks
source link
Add filter or option to filter content instead of using single-beer.php #1
I would love to see an option (via UI or filter) to add support for displaying the single beer via the default single.php instead of the single-beer.php
The reason for this is that a of themes do not include the standard HTML structure, resulting in a broken single beer page.
An easy way to get around this is to filter the_content instead of registering a template file. This means appending the beer meta data to the bottom of the content. (this is how EDD works).
I know it's simple to copy single.php to single-beer.php, but that also means copying the meta data. Having an option or filter would make this work on a large percentage of sites without having to edit template files.
(this was my biggest hurdle to turning this on on my own site).
I would love to see an option (via UI or filter) to add support for displaying the single beer via the default single.php instead of the single-beer.php
The reason for this is that a of themes do not include the standard HTML structure, resulting in a broken single beer page.
An easy way to get around this is to filter
the_content
instead of registering a template file. This means appending the beer meta data to the bottom of the content. (this is how EDD works).I know it's simple to copy single.php to single-beer.php, but that also means copying the meta data. Having an option or filter would make this work on a large percentage of sites without having to edit template files.
(this was my biggest hurdle to turning this on on my own site).