Henry

Forum Replies Created

Viewing 7 posts - 76 through 82 (of 82 total)
  • Author
    Posts
  • in reply to: Venue list page? #17228
    Henry
    Member

    @Jonah

    Great – looking forward to being able to paste directly here. Pastie.org does the job though. Thanks!

    in reply to: Venue list page? #17227
    Henry
    Member

    @Sarah

    The guys seem to have already provided some code that will do the tick for you. In case you still needed it, my code was:

    http://pastie.org/3680652

    in reply to: Venue list page? #17156
    Henry
    Member

    OK – that code paste didn’t work very well. i can send you the code or perhaps someone will let me know how to paste code on here? i seem to need to escape the opening and closing php tags

    in reply to: Venue list page? #17153
    Henry
    Member

    It may not come out-of-the-box but this is very easily done. You just need to know what the guys at tri.be have called the “venue” custom post type. The following code should work if you paste it into one of your templates:

    have_posts()) : $event_archive_query->the_post(); ?>
    <a href="” title=””>

    in reply to: Don't diplay past events in Single Venue view. #17142
    Henry
    Member

    Oops – that code paste didn’t seem to work?

    in reply to: Don't diplay past events in Single Venue view. #17141
    Henry
    Member

    I noticed this too. A workaround i’ve created on my site is:

    0 ): ?>
    Upcoming events

    <?php if ( ( strtotime(tribe_get_start_date()) < time() ) && ( strtotime(tribe_get_end_date())

    <?php the_title('‘, ‘‘); ?>
    ~

    in reply to: Already have custom post types for location and groups #17140
    Henry
    Member

    if you’ve set up your own post type “venues” in functions.php and you didn’t want the slug to clash with the slug used in the events calendar plugin then you could use the following when registering your post type:

    ‘rewrite’ => array(‘slug’ => ‘myvenues’),

    This will give you some control over the text used in your URLs

Viewing 7 posts - 76 through 82 (of 82 total)