So on this particular project, I have a blog and a portfolio set up, the portfolio being powered by a custom post type, and the blog being powered by wordpress’s default post type and post formats. I’m using
get_template_part()to load a template file onto the portfolio’s archive page, which works.
However, using jetpack’s infinite scroll, jetpack doesn’t seem to recognize my call to
get_template_part('portfolio');in the loop, and instead skips loading the portfolio post template when it appends new posts. This can be very frustrating, and I’m not sure how to approach dealing with the issue.
- The topic ‘Jetpack, Custom Post Types, Custom Templates’ is closed to new replies.