WPBuddy / largo

A WordPress framework for news websites. Finely-crafted by INN and expertly-honed and maintained by the technology team at WP Buddy.
http://largo.wpbuddy.co
GNU General Public License v2.0
170 stars 83 forks source link

Should largo_byline require an explicit post to be specified? #1517

Open benlk opened 6 years ago

benlk commented 6 years ago

This would need to be undertaken in steps:

This would lessen the chance that we have bylines that don't match stories when building custom partials.

benlk commented 6 years ago

https://github.com/INN/largo/pull/1561 merged in 0.6, so the next stage of deprecation can be in 0.7.

benlk commented 5 years ago

Deprecate largo_byline without post specified

benlk commented 5 years ago

Adding the error message to the actual byline should be done in the else section of this chunk of code:

https://github.com/INN/largo/blob/f50df16e9e06fb9402802e2f1ce76ce058d26d76/inc/post-tags.php#L127-L138