• Hi there – I’ve been trying out this plugin because it offers functionality I’m keen to use, but I’ve come across a sticking point, and I’m not sure if there’s likely to be an easy fix, or if the precise functionality I’m looking for isn’t possible with this plugin.

    What I’ve been trying to do is display a number of different posts, each with potentially different post types and post templates, and include pagination. So I might display a couple of post excerpts, then have a page break followed by full post and a shop product, then another break followed by another post excerpt and an event, and so on.

    What I’ve found is that if I use the WP <!--nextpage--> code to split up the page, the posts to page shortcode seems to be stripped out/skipped over on all but the first page. The shortcode is still visible when you edit the page, but nothing is seen in the rendered HTML.

    Any content before and after the shortcode is displayed correctly, and it doesn’t appear to be theme-specific.

    (I realise I could set up separate pages for each handful of posts, but it seems more economical to set everything up in one page, rather than having to manually link pages, which is part of what I’m trying to avoid)

    https://wordpress.org/plugins/posts-in-page/

The topic ‘WP page breaks strip out shortcode?’ is closed to new replies.