Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Series byline fix #639

Merged
merged 5 commits into from
Apr 6, 2015
Merged

Series byline fix #639

merged 5 commits into from
Apr 6, 2015

Conversation

wjhdev
Copy link

@wjhdev wjhdev commented Apr 3, 2015

Fix for #452

  • restore wp_query after partials/content-series is finished.
  • added is_series_landing() conditional to abstract checking the post type.
  • tell the widget that is_series_landing() posts are ok too.

This pull request also contains commits from #638, because they touch the same piece of code. That pull request can be closed once this is merged in.

Landing pages were loading partials/content when
partials/content-series is used on landing pages.

 - [ ] added an indicator sent with LMP data to alert the dom
generating function that this is a series landing page
 - [ ] pass $opt variable that partials/content-series uses to
determine the dom to return.
 - [ ] be a good person and restore global $post after the landing page
is done using it.

We can probably (in the future) overhaul the series page template to
simplify how it asks and controls dom.
Fix for #452

 - [x] restore wp_query after partials/content-series is finished.
 - [x] added is_series_landing() conditional to abstract checking the
post type.
 - [x] tell the widget that is_series_landing() posts are ok too.
author box should not display on single posts if largo_byline is being
used
Guest Author archive URLs not being rendered in footer-sticky.php
partial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants