• Resolved mrjonnywood

    (@jwoodcreative)


    Hi, I’m trying to use multiple loops within event-single.php with no luck.

    Essentially what I need to do is have the standard loop that pulls any single event in, but then use an if statement as follows:

    if (is-particular-event-ID) {
    add a second loop to pull in a list from another custom post type (with a specific tag)
    }

    Forgive the complete layman terms here, I’ve attempted this so far without the conditional if statement, just to try and output the second loop using a custom wp_query after the main loop has ended but I can’t even get that working.

    I realise this isn’t 100% specific to Event Organiser but any help from anyone would be massively appreciated!

    Thanks.

    https://wordpress.org/plugins/event-organiser/

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

The topic ‘additional loop within event-single’ is closed to new replies.