Latest posts on all pages

Did see your code before, and my original solution would not have worked. Do you have a link to the website this is on?

Maybe a long shot as not 100% sure what this is doing, have you tried changing the value == “1” to == “2” and see what happens?