Forums

[Plugin: Event Calendar 3] Move schedule box (3 posts)

  1. serpico
    Member
    Posted 2 months ago #

    Is it possible to move the Schedule Box which appears in events posts?

    Instead of having it at the start of the post, I would like to move it to be appanded to the end of the post copy? Is this possible? Can someone point me to the file to achieve this.

    Thanks,

    http://wordpress.org/extend/plugins/event-calendar/

  2. roguegeer
    Member
    Posted 3 weeks ago #

    I also need to do this - in particular, the theme we are using takes the first n chars of a post and overlays that on a giant 'thumbnail' on the front-page news rotator. events now look hideous because they show

    November 25, 20097:00 pm[ November 25, 2009; 7:00 pm; ]

    instead of the introduction to the event.

    ANY help or comment about ho wto go about achieving this (moving the schedule box to the END of a post) would be greatly appreciated!!

  3. roguegeer
    Member
    Posted 3 weeks ago #

    A fix:
    wordpress\wp-content\plugins\event-calendar\eventcalendar3.php

    change line 540

    function ec3_filter_the_content(&$post_content)
    {
      //return ec3_get_schedule() . $post_content;
      return $post_content . ec3_get_schedule();
    }

    This of course didn't solve my problem re: excerpts. I didn't want schedules in my excerpts at all, so I removed the filter hooks around line 595:

    // remove_filter('get_the_excerpt', 'wp_trim_excerpt');
     // add_filter('get_the_excerpt', 'ec3_get_the_excerpt');

    I am sure this si all evil, but it would be NICE to have:
    1.) "schedule block at beginning [] or end [] of post?" options on the admin panel

    2.) "include schedule in excerpts [] ?" option on the admin panel.

    and then check those settings and adjust accordingly.

Reply

You must log in to post.

About this Topic