-
Notifications
You must be signed in to change notification settings - Fork 873
Blog pagination issue w/ woocommerce - links shift from /blog to /store pages #836
Comments
@dberz, did you get this? Or, you could create a custom loop template for your blog entries, using |
@Eccola thank you! I will investigate this. I'm surprised that customization is needed as FoundationPress supports woocommerce products & blog posts. I would think the pagination links would work out of the box. |
@deberz I agree this should work out of the box. Will try to have a look in the future at this. |
Thanks @colin-marshall and team. You guys do a great job on this project! One note per @Eccola's suggestion above: I was able to set a post_type specific loop within index.php, but FoundationPress seems to lose that post_type requirement on page two of the search results. (ex. https://parsleyhealth.com/blog/page/2). Is the loop for pages past pages 2-n controlled somewhere else? My page 1 correctly displays all pages as 'posts', only on page 2 does this jump to 'products'. |
@dberz I'm trying to reproduce locally. Could you please provide me with screenshots of Thanks! |
Thank you @colin-marshall. Settings > Permalinks screenshot attached below. Happy to share my bitbucket repo with you privately. |
@dberz thanks! Can I also please get a screenshot of the Reading settings? |
Update: this issue has resolved itself after I deactivated all plugins and reactivated them. Cause is unknown, but perhaps a caching layer or my 'autoptimize' plugin was part of the problem. |
You can see this here:
I have not adjusted the FoundationPress index.php pagination code from the default:
Would like to keep the blog post pagination links to blog pages, and the store page links to store pages.
Any thoughts are appreciated!
The text was updated successfully, but these errors were encountered: