Barry

Forum Replies Created

Viewing 15 posts - 16,141 through 16,155 (of 17,936 total)
  • Author
    Posts
  • Barry
    Member

    Well, there are a few strategies you might use here. The easiest to implement is to add a little code to your custom list.php template (see our tut on template overrides if you are unsure about creating custom templates).

    This code could be placed after the opening line of the event loop (in list.php):

    while ( have_posts() ) : the_post();

    And simply checks to see if the event started before today’s date and, if that is the case, ignores it.

    Does that help here?

    in reply to: Add venue class to event post loop #32422
    Barry
    Member

    Would something like this help as a starting point?

    in reply to: Single Venue Layout #32421
    Barry
    Member

    I don’t think we’ve got much if any documentation on that – simply because it’s not a process that is specific to our plugin. There are some great docs out there that can provide some insight though:

    in reply to: Merge venues and organizers after upgrade to Pro #32420
    Barry
    Member

    Hi Bernhard, no problem πŸ™‚

    Let me check in with Sam as I’m not sure how his solution is going to be implemented.

    in reply to: Events not showing in calendar #32419
    Barry
    Member

    Hi Simone, I appreciate you need a fix here but I’m afraid we just don’t have the bandwidth right now to provide you with the answers you need.

    We do aim to create a tutorial to help users of Gantry (and one or two other themes) but, right now, there’s not much else we can do to help I’m afraid.

    in reply to: Venue Page Sidebar Pushed Down Below #32418
    Barry
    Member

    You’re right, it’s a problem with our template. Can you look at this thread and use the suggested fix?

    If anything is unclear or you need further help just let me know πŸ™‚

    in reply to: User capabilities for categories #32416
    Barry
    Member

    I can put that forward as a feature request for sure.

    Right now the capabilities needed for a user to work with event categories are publish_tribe_events and edit_tribe_events – if you want to do something differently here I think you’ll be able to call register_taxonomy() a second time and overwrite the capabilities setting to whatever you want.

    You would of course need to do this after the taxonomy is initially registered.

    in reply to: RSS of events by venue #32415
    Barry
    Member

    OK, so there are quite a few factors in there πŸ™‚

    But so long as the various options are available to your hook (in the form of URL query parameters) it should all be possible, it’s just a little out of scope for us to work through here.

    in reply to: Single Venue Template override #32414
    Barry
    Member

    Yes, using template overrides. In essence, you create an events directory within your theme – in this case you’d place single-venue.php in there.

    You can find the original (if you want to use the existing template code as a starting point) in events-calendar-pro/views/single-venue.php.

    Does that help?

    in reply to: Calendar View Gone When Gantry Framework Activated #32413
    Barry
    Member

    Hi Simone, I’m sorry to hear that. We have plans to create a tutorial to help people with Gantry (and one or two other theme frameworks) but that isn’t ready yet so I can understand your frustration.

    Barry
    Member

    Thanks Chris – I’ll mark it as complete and answered. Have a good one πŸ™‚

    in reply to: Return category name with post in loop #32411
    Barry
    Member

    Cheer Chris πŸ˜€

    in reply to: Single Venue Layout #32373
    Barry
    Member

    Hi Samuel,

    Unfortunately, I think you might have to go it alone on this one as what you’re asking about is fairly custom.

    I’d love to have a little picture of the venue on top of the meta-information

    I’m not sure on how you intend to specify which image should be used here? You might either need to add a featured images capability to the venue post type or else devise a different system first of all.

    I’d love to have the height of the map dynamic and adjusted to the height of the post (from topline to the bottomline with a margin as now to the topline).

    I’ve no doubt that’s possible but I’m afraid it’s way beyond the scope of support that we can provide and would likely only play nicely with your theme and nobody else’s.

    It’s just a detail but have you noticed that there are a lot of english menue-items and descriptions in the german version. Not a real problem but it would be nice if the whole page was translated.

    It may be that the translation is incomplete.

    We do rely on the community for translations, so if you know how .mo and .po files work and are confident with gettext, please feel free to submit a new translation to us at [email protected].

    So again, I’m not sure if there’s much we can do to help on this occasion but I’d be happy to hear back from you if I’ve misunderstood anything or if you already have most of the solution and just need a prod in the right direction.

    Thanks!

    Barry
    Member

    So you’re mixing and matching stuff in there.

    Although your initial query using tribe_get_events() looks sound you are then calling setup_postdata() only to iterate through the main WordPress loop (hence tribe_get_start_date() doesn’t have any event data to work with and is returning the current date instead).

    Here is a minimal version of your code with the WP loop functions stripped out.

    in reply to: Return category name with post in loop #32371
    Barry
    Member

    * In my snippet above, you would need to populate $tribe_ecp first of all:

    $tribe_ecp = TribeEvents::instance();

Viewing 15 posts - 16,141 through 16,155 (of 17,936 total)