Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • martijeanp
    Participant

    By the way, for all you Genesis/Dynamik lovers out there, I put each of the PHP code into a shortcode named event-maker-past-events and event-maker-upcoming events respectively under Genesis -> Dynamik Custom -> HookBoxes.

    or for those who dont have it, you can always use one of my other favorite non-Genesis plugins – Shortcodes UI by Bainternet!

    Not affiliated with anyone of them, but kudos to all!

    martijeanp
    Participant

    i tried it and it looks like its working fine :) Maybe it was the last update but I am not complaining anymore!!!

    Here is the code to display the past events while it didn’t work. Just another way to use your wonderful plugin!

    <div class=”events-maker-custom-heading”>PAST EVENTS</div><hr>
    <?php
    $args = array(
    ‘number_of_events’ => 0
    ,’order’ => ‘desc’
    ,’show_past_events’ => true
    ,’date_format’ =>’Y-m-d’
    ,’event_start_before’ => date(“Y-m-d”, time() – 3600*24)
    );
    echo em_display_events($args);
    ?>

    …and..

    <div class=”events-maker-custom-heading”>UPCOMING EVENTS</div><hr>
    <?php
    $args = array(
    ‘number_of_events’ => 0
    ,’order’ => ‘desc’
    ,’show_past_events’ => false
    ,’date_format’ =>’Y-m-d’
    ,” => date(“Y-m-d”, time() – 3600*24)
    ,’event_start_after’ => date(“Y-m-d”, time() – 3600*24)
    );
    echo em_display_events($args);
    ?>

    I used the id to style the title and the php function to return yesterdays date. This may return yesterday date and the day before yesterday. Havent checked that yet, but I am sure someone will :)

    Maybe my friends at dFactory can put a option list for “today” and “yesterday”? Thanks for you prompt response and understanding.

    Happy Holidays!

    martijeanp
    Participant

    BTW, I think it would be great to have a gallery of sites using events maker summarizing any customization’s or unique ways the developer used your product. That way developers get to showcase their skills and of course give you fuel for future implementations!

    martijeanp
    Participant

    I installed your plugin yesterday after researching EVERYONE out there :) I saw your [EM-EVENTS] shortcode in your online documentation section located at https://www.dfactory.co/docs/events-maker-plugin/shortcodes/.

    I used Genesis/Dynamik with a few other plugins and thought there was a conflict because it did not evaluate at all. Your widgets worked fine but were limited to what I wanted to used it for which was provide a listing for upcoming and past events, showing as separate sections.

    There was an update to your plugin yesterday which I installed and of course wrote over my modifications :) but it still didn’t work as I expected. There is also the issue of the missing start/end attributes.

    I had another choice which was to use WP_Query, which I tested and worked perfectly. The only cavet was the fact that I was responsible for displaying and styling the output. I was a bit swamped, so I went the way of the template-function.php modifications.

    Let me know if I can be of help ;) Thank you again for a great plugin!

Viewing 4 posts - 1 through 4 (of 4 total)