Custom display of single events on wordpress page.

Home Forums Calendar Products Events Calendar PRO Custom display of single events on wordpress page.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #78375
    justjuicy
    Participant

    Below is a copy of this post that was never resolved:
    https://tri.be/support/forums/topic/custom-diplay-of-events-on-page/#post-60541
    ——————————————–
    Hi. Jonah was kind enough to help me on this post:

    Category Display Page

    I wanted to set up a page template to have a single event category displayed, and also have the date filtering code work from the other post. The result would be a single category, with only future events from the next 2 weeks displayed.

    Is it possible to help me so that it will display ‘future’ & ‘current’ events – with a link to the event page only if it is a ‘future’ event (ie = not begun yet). If the event is ‘finished’ (end date has passed) It should be hidden from the page.

    I can see how the code below works, but I dont know how to change the operators to make it do what i want.

    http://pastebin.com/RTbVuWXa

    Also do you know if the code in the previous post will still work if i update the woo-tickets plugin, woo-commerce and the events calender plugin. Right now I’m on WT 1.0.1 / WC 2.0.10 / TEC 2.0.11

    Many thanks if you can help
    Steve

    #78376
    justjuicy
    Participant

    Sorry. I meant to add – I’ve still not resolved this issue. I was ‘out of action’ with a hospital procedure, and only just got back to this. In the previous post Rob and Barry were good enough to have a look at this for me.

    I am wanting to display the ‘tvikets’ as described above on this page:
    http://www.moderngulf.com/newsite/courses/management-development/

    It was almost working in a previous version of the plugin.. but not when i upgraded. I am using the code inside a wordpress page template below:


    array(TribeEvents::POSTTYPE),
    ‘posts_per_page’ => 10,
    ‘post_status’ => ‘publish’,
    ‘meta_query’ => array(
    ‘relation’ => ‘OR’,
    array(
    ‘key’ => ‘_EventStartDate’,
    ‘value’ => array(
    date(‘Y-m-d H:i:s’, strtotime(‘now’)),
    date(‘Y-m-d H:i:s’, strtotime(‘+16 weeks’))),
    ‘compare’ => ‘BETWEEN’,
    ‘type’ => ‘DATETIME’
    ),
    array(
    ‘key’ => ‘_EventEndDate’,
    ‘value’ => array(
    date(‘Y-m-d H:i:s’, strtotime(‘now’)),
    date(‘Y-m-d H:i:s’, strtotime(‘+16 weeks’))),
    ‘compare’ => ‘BETWEEN’,
    ‘type’ => ‘DATETIME’
    )
    ),
    ‘tax_query’ => array(
    array(
    ‘taxonomy’ => TribeEvents::TAXONOMY,
    ‘field’ => ‘slug’,
    ‘terms’ => array(‘management-development’),
    ‘operator’ => ‘IN’
    )
    )
    );
    $get_posts = null;
    $get_posts = new WP_Query();
    $get_posts->query($args);
    if($get_posts->have_posts()) : while($get_posts->have_posts()) : $get_posts->the_post(); ?>

    <!–<a href="”> –>

    <a href="”>  > View Details

    #78377
    justjuicy
    Participant

    sorry. code from pastebin:

    #78378
    justjuicy
    Participant
    #78379
    justjuicy
    Participant

    or an alternative would be to display a list of tickets available for a category outside of the calendar?

    IE – The tickets selector on this calendar page:
    http://www.moderngulf.com/newsite/calendar-dates/test-event/

    but show the ticket list on another page?

    #78488
    Barry
    Member

    Hi Steve,

    We’d love to help further with this but its really a customization that you would need to drive forward by yourself: we could certainly provide a list of freelancers/independent developers that might be able to assist you, though, if that would help?

    #78601
    justjuicy
    Participant

    hi Barry. in my prevoius post you were happy to address this issue and passed it onto Rob to deal with. I just started this new post as the other one got closed while I was in hospital.

    the post is here
    https://tri.be/support/forums/topic/custom-diplay-of-events-on-page/#post-60541

    Thanks
    Steve

    #78602
    justjuicy
    Participant

    I meant to ask. . is it not possible to look at based on your previous decision to pass it onto Rob? Had I not been ‘out of action’ it would have been resolved by now.

    thanks again

    #78744
    Barry
    Member

    Hi Steve:

    Rob was checking in to see if you still needed assistance (in that other thread) but generally – and though we can occasionally make exceptions, depending on the overall volume of support we’re dealing with at any one time – we don’t help with customizations like this other than to try and give a prod in the right direction.

    Really though this is very much the realm of custom development and is something that should be within the grasp of a suitably skilled WP developer (and we’ll happily provide a list of folks you might consider contacting) but, regrettably, is out of the scope of what we can help with here – and that situation may not have been different in the other thread, I just didn’t quite have the information I needed to make that decision.

    I hope that makes a little more sense and certainly don’t want you to feel that we’re ‘closing the door in your face’, but realistically we do have to draw a line when it comes to more involved customization requests.

    #982654
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Custom display of single events on wordpress page.’ is closed to new replies.