When using the blog page template, posts after a post that contains Simple FAQ content fail to display. The current page title displays instead:
To reproduce:
Create a blog page using the Blog template.
Ensure Genesis → Theme Settings → Content Archives is set to display Entry Content with no limit.
Make sure there are at least two posts displaying on the blog page.
Edit the first post and add a Simple FAQ shortcode.
Return to the blog page. The second post and onward fail to display.
Changing wp_reset_query(); to wp_reset_postdata(); in includes/class-gs-faq-shortcode.php seems to solve the issue. We should use wp_reset_postdata in includes/class-gs-faq-widget.php too.
When using the blog page template, posts after a post that contains Simple FAQ content fail to display. The current page title displays instead:
To reproduce:
Changing
wp_reset_query();
towp_reset_postdata();
inincludes/class-gs-faq-shortcode.php
seems to solve the issue. We should usewp_reset_postdata
inincludes/class-gs-faq-widget.php
too.