Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Ingmar

    (@ingmarkrijtenberg)

    Hi,

    Thanks for the reply. The issue here is that I want to list all events, public and private. (I have set display_private => true in the eventbrite query) It’s just that there are some options to choose from when adding a new event in eventbrite.com (like ‘invite only’), but those options do not appear in the data the plugin is returning.

    Any further suggestions are more than welcome!

    Ingmar

    (@ingmarkrijtenberg)

    Oh shoot, your name is NOT Laura.

    My apologies Lara

    Ingmar

    (@ingmarkrijtenberg)

    Hey Lara,

    Can you please provide with some more details on your last post? I’m trying to use your code but I get stuck some things. For example: what is ‘gear_to_deal’? Is that a custom field or a custom post type or maybe the custom field group name?

    This is what I’m trying to do:

    {% for rental in post.get_field('address__for_rent') %}
        <div class="address">
            {% set details = TimberPost(rental.for_rent) %}
            {% if details %}
                <h3 class="highlight">For rent</h3>
                {% for detail in details %}
                    <span>{{detail.address_street}}</span>
                {% endfor %}
            {% endif %}
        </div>
    {% endfor %}

    – address__for_rent = the name of the relational field
    – TimberPost(rental.for_rent) = custom post type ‘for_rent’
    – address_street = a custom field from the linked for_rent post

    Do I need some php inside my template file perhaps?
    Please enlighten me! Much appreciated ??

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