WordPress.org

Ready to get started?Download WordPress

Forums

Retrieving Custom Field Info of Each Post of an Archive While in the Header (4 posts)

  1. pwit
    Member
    Posted 2 years ago #

    I am trying to add a Nivo Slider to my archive pages and I would like the slider to rotate through the featured images of each post on the archive page. How can I retrieve a list of every post displayed on a particular archive page while in the header?

    Or maybe in other words, how do I get a list of all posts on a page while outside of the loop?

  2. rfair404
    Member
    Posted 2 years ago #

    the results of the query should be available while the header is loading. you can basically do a second loop in the header and do whatever it is you need to do.

  3. pwit
    Member
    Posted 2 years ago #

    Thank you for your reply, I'll give it a try later on today. Hopefully I'll have much praise and adulation for you at that time. :)

    Thanks again.

  4. pwit
    Member
    Posted 2 years ago #

    I just wanted to reply that adding the loop to the header worked as suggested.

    Thanks rfair404!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.