WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Display graphic based on page (2 posts)

  1. starfishtrainers
    Member
    Posted 1 year ago #

    I have a special header image I want to use on the main search results page, and a different one I want to use on all of the other result page.

    So far, the search is good, and the proper (main) image loads. I am using pagination (built in) and I just want to know if the current page is page 2, 3, 4, etc., so I cn load the secondary image.

    Is there a quick and dirty way to do this w./o using a plugin?

    Thanks...

  2. starfishtrainers
    Member
    Posted 1 year ago #

    Figured it out. is_paged() worked nicely.

Topic Closed

This topic has been closed to new replies.

About this Topic