Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

getting value outside the loop

  • Hi, i want to get tribe_events single post title and featured image outside the loop. Is it possible to create a visual loop that will allow the dynamic tags to work?

  • Hi there,

    I’m not sure I understand the case, can you explain some more?

  • Hi, i am trying to show few content outside the loop on current page so if i will able to create a wp_query that will allow getting the current post id which will allow showing the contents.

    wp_query start
    == content i want to show ==
    wp query end

    I want to show Event title, Featured Image and is it not working because it is outside the content on current page. They are in Elements created as page header after site header.

  • Hi there,

    If I understand your requirement correctly — are you trying to add static content between individual loop items inside the Query Loop?

    If you can share an example or mockup of how you’d like it to appear, that would help clarify the setup.

  • Hi, i have a Content Template Elements which is present in two columns.

    Dynamic Content + Sidebar.

    Anything under Dynamic content is put for current post, works. but not in the sidebar.

    I want to create the sidebar a blank content loop where i can put the custom fields, featured image, title and it outputs the data from current post.

    Like the shortcodes from this page https://theeventscalendar.com/knowledgebase/embedding-single-events-with-the-tribe_event_inline-shortcode/ will not work in sidebar area as it is outside the loop.

  • ok, i found the solution i was using page template instead of event template for the events calender so the data was not showing. i will simply Hook the content as sidebar now and it works instead of creating a content template.

  • Glad to hear that 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.