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
LMP on category archive page uses different partial than category.php #868
Comments
Rough code, to be inserted before the
(Because of Catalyst Chicago and HELPDESK-337) |
Any fix here should also check tag, search, date, author, and non-landing-page series archives. |
Note to travelers from the Future: This is only current to December 15, 2015. Your child themes may have changed. Here's a list of partials slugs used in Largo and in child themes, based on the files present in the themes. One column is reserved for if the partial needs to be considered in this issue.
|
minor note: the argolinks partial should no longer be needed |
In category.php:
In inc/ajax-functions.php, in
largo_load_more_posts
:The category archive page uses partials/content-archive.php and LMP uses partials/content-home.php on category pages. This is okay in Largo because neither partial exists in Largo, and so it falls back to partials/content.php in both cases.
But if a child theme defines either of those, then there will be markup mismatch between the posts included in the initial page load and in the posts loaded with the LMP button.
The text was updated successfully, but these errors were encountered: