Pinned posts should be displayed before any other posts regardless of their published date. Pinned posts should be displayed before any other posts regardless of their published date. The Solution, You can accomplish this by modifying the order clause in the query. Nulla nunc mi, pharetra sed dolor eu, porta finibus neque. Maecenas hendrerit pulvinar nisl, nec volutpat augue mollis sit amet.