query if on page/2/? May 23, 2022 by Tarik Billa Use the conditional Tag is_paged() for this purpose Look at: Codex WordPress