INN / umbrella-mstoday

umbrella repository for Mississippi Today https://my.wpengine.com/installs/mstoday
http://mississippitoday.org
GNU General Public License v2.0
0 stars 1 forks source link

Explore & mock up options for sponsored and cultural content #102

Open MirandaEcho opened 4 years ago

MirandaEcho commented 4 years ago

Requirements:

Examples:

What we need:

joshdarby commented 4 years ago

For technical approach:

@benlk anything I missed?

benlk commented 4 years ago

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

MirandaEcho commented 4 years ago

@joshdarby - can I get estimates for the options above? Thanks!

joshdarby commented 4 years ago

@MirandaEcho

MirandaEcho commented 4 years ago

@joshdarby can I get a browser mockup/screenshot examples of:

joshdarby commented 4 years ago

@MirandaEcho Here's a mockup of how category labels could look on the homepage (using the example from https://www.voiceofsandiego.org/):

screencapture-mississippitoday-org-2020-07-21-14_15_01

benlk commented 4 years ago

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.

MirandaEcho commented 4 years ago

@joshdarby this is great, thanks! Can I see a version with Blue as well?

joshdarby commented 4 years ago

@MirandaEcho Here are two examples of how adding 2 categories could look on the bottom of their homepage:

One column (custom) screencapture-mstoday-test-2020-07-21-14_36_38

Two column (default) screencapture-mstoday-test-2020-07-21-14_35_25

joshdarby commented 4 years ago

@MirandaEcho Blue tags: screencapture-mississippitoday-org-2020-07-21-14_42_45