Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter NikkiAddams

    (@nikkiaddams)

    Here is what I have:

    http://pastebin.com/8e7qUHsA

    Thread Starter NikkiAddams

    (@nikkiaddams)

    Thank you! 🙂 I think that’s what I did previously, but I had one issue I couldn’t figure out. When using secondary loops with WP_Query(), this happens:

    Between the 2nd and 3rd loops is one line of text that needs to display the_title_attribute() from the 1st loop. The title should be “Artist Name”. However, the title is now being displayed as the title of the last post displayed in the 2nd (video) loop. In other words, the_title_attribute() shows “Photos of Video Post #3:” instead of “Photos of Artist Name:”.

    Am I not ending the 2nd loop properly? I am using endwhile; endif; endforeach;. If it weren’t for that one line, everything works perfectly using the WP_Query() loops example you gave.

Viewing 2 replies - 1 through 2 (of 2 total)