What’s the safest way to switch and restore a post global? July 24, 2022 by Tarik Billa Use setup_postdata() to change and wp_reset_postdata() to roll back to original.