Open MirandaEcho opened 4 years ago
For technical approach:
Cultural Coverage Sidebar
(or something else) through Largo and display it by default on this new template, but still allow users the option to overwrite it with a different sidebar if neededcategory-cultural-coverage
or whatever the category name will be and style them from there to make them look like the examples on https://www.voiceofsandiego.org/@benlk anything I missed?
One simple thing that Lauchlin mentioned was having the Top Term tags be different colors for certain different types of content. We can do that with the top-term classes ostensibly introduced in https://github.com/INN/largo/issues/1474
The Largo implementation appears to be bugged in WP >= 4.9, however, and we may need to copy this code into MS Today from Rivard Report: https://github.com/INN/umbrella-rivard-report/blob/master/wp-content/themes/rivard-report/inc/post-tags.php#L62-L118
@joshdarby - can I get estimates for the options above? Thanks!
@MirandaEcho
@joshdarby can I get a browser mockup/screenshot examples of:
@MirandaEcho Here's a mockup of how category labels could look on the homepage (using the example from https://www.voiceofsandiego.org/):
2-8 hours to create a custom template, depending on final designs
- includes creating a custom sidebar that would be the default for this template, but allow users to override it by selecting a different sidebar in the post editor
If the layout will not differ, just colors and fonts, then we may be able to get by without a specific template for this post. We can hook CSS styles on the article
tag's classes, hnews item post-543933 post type-post status-publish format-standard has-post-thumbnail hentry category-commentary prominence-top-story featured-media featured-media-image
, or add another set of options to our Developer-Driven Custom Post Classes plugin in https://github.com/INN/umbrella-mstoday/blob/master/wp-content/themes/mstoday/inc/DDCPC.php
Going a CSS-only route would probably save 2h from template creation, but knowing whether we can do that depends on the complexity of the layout.
For distinguishing these posts on the homepage
- 2 hours to exclude these from all loops on the homepage (assuming they have a category assigned)
- 2 hours to create styling for any articles on the homepage that have a specific category assigned for these posts
We should check with them whether this needs to be excluded from all loops on the homepage, or just the main post river. Largo already has a function to exclude specific categories from the main post river, with the cats_home
option.
@joshdarby this is great, thanks! Can I see a version with Blue as well?
@MirandaEcho Here are two examples of how adding 2 categories could look on the bottom of their homepage:
One column (custom)
Two column (default)
@MirandaEcho Blue tags:
Requirements:
Examples:
What we need: