I have a loop displaying regular Posts as the main post type and an additional Custom Post Type (case studies).
I have set the loop to display 3 posts per page but I end up with 6 items : 3 posts followed by 3 CPT
Is there a way to limit the overall number of items to X per page, main and additional post types combined?
Thanks in advance!
]]>When setting an earlier published post to sticky, the resulting behavior is that the query loop shows TWO total posts. Oddly, within the editor, this behavior is not observed. Within the editor, only the most recent post is observed (i.e. the sticky post is exclude).
I tried setting the query loop to max page = 1, but that did not change anything. Anybody know why this is happening or how to rectify this?
]]>When posts are displayed on archive page, sticky posts are shown at the top, regarding of post date. I can live with that, but…
If there are lot of posts so Archive is shown paged, on each page, sticky posts are on the top and then rest comes. This is quite annoying. When users lists pages he sees all the same post again and again.
As I said, it would be OK if sticky post are displayed only on the first page but I would prefer to have option to simply ignore sticky flag and show posts sorted by date only.
QueryLoop has option to shows sticky posts, not to show them and only to shows them. There is no option to ignore sticky state.
Is there a way I can accomplish this?
<!-- wp:latest-posts {"postsToShow":16,"postLayout":"grid","stickyPosts":true,"displayFeaturedImage":true,"featuredImageSizeSlug":"medium","featuredImageSizeWidth":225,"featuredImageSizeHeight":225,"columns":4} /-->
]]>I cannot figure out how to customize the count of posts on my homepage.
“Reading Settings” -> “Blog pages show at most” is set to 9 and posts marked as Sticky are 3, but the homepage shows 11 posts.
Am I able to customize it through a custom loop as I was used to or is there another solution for how to do it – e.g. with some custom code in functions.php?
]]>Anybody know why?
Thx in advance.
Ken Gray
]]>What am I missing?
Many thanks!
]]>