Closed joshdarby closed 4 years ago
Mapping the Future should be checked by default in the Newsletter signup:
- Make sure the new Checked on Frontend? field is appearing in the CL Mailchimp editor. If not, you'll need to add it in via the Custom Fields editor. Settings for it can be found here: 28e1309
- Make sure the checkboxes toggle checked/unchecked correctly based on their Checked on Frontend? field
The field wasn't automatically imported upon checkout; is there a way to trigger the import of the field?
Hides the hero image on author archive template
Where was it shown before?
The field wasn't automatically imported upon checkout; is there a way to trigger the import of the field?
@benlk I'm not sure 😕 I would say it's probably easier to just add the field manually on deploys to staging and prod
re: header: Where was it shown before?
It was shown above the author name.
Here's the markup for it
<div class="hero is-image ">
<img width="600" height="400" src="https://citylimits.test/wp-content/uploads/2014/10/charter.jpg" class="attachment-full size-full wp-post-image" alt="" srcset="https://citylimits.test/wp-content/uploads/2014/10/charter.jpg 600w, https://citylimits.test/wp-content/uploads/2014/10/charter-336x224.jpg 336w" sizes="(max-width: 600px) 100vw, 600px"> <p class="wp-caption-text">Opportunity Charter School, with 44 percent teacher attrition in 2011-12, actually saw lower turnover than 18 other city charter schools—at least according to state data, which some schools dispute.</p>
</div>
For Helen Zelon, is the author archive template for some reason displaying the featured image from the first post in The Loop? https://citylimits.org/author/helen-zelon/
The CSS fix here works, but I'm not sure why we're seeing that image there in the first place.
@benlk It looks like it might be a bug on the Largo archive.php
template
https://github.com/INN/largo/blob/f50df16e9e06fb9402802e2f1ce76ce058d26d76/archive.php#L78-L79
$post_id = largo_get_term_meta_post( $queried_object->taxonomy, $queried_object->term_id );
largo_hero($post_id);
$post_id
comes back as NULL
for largo_get_term_meta_post
there so it probably is defaulting to the first post featured image in the loop
Thanks for identifying the source of that bug, Josh! https://github.com/INN/largo/issues/1838
Changes
This pull request makes the following changes:
Checked on Frontend?
field to CL Mailchimp ACF JSON that defaults to having newsletter be checked on the frontend https://github.com/INN/umbrella-citylimits/commit/28e13093c4a0b14b626774f0613f99ea6dd9f3f5.and
to be lowercased https://github.com/INN/umbrella-citylimits/commit/c892f10398f80f4c742c201820c88a97ff67296cbaseFontSize: 16px
from Largo in child themevariables.less
and uses it to set the byline font size on the special projects seven posts widget so it's the same as on archive pages https://github.com/INN/umbrella-citylimits/commit/77e736044aa0dc52bb51c7183df8f30471ee5336Share via email
mailto: link to:Email Body is: From City Limits: [HEADLINE] [DEK] [Link]