WordPress.org

Support

Support » Plugins and Hacks » Event Calendar 3 for PHP 5.3 » [Plugin: Event Calendar 3 for PHP 5.3]remove timestamp from Widget event listing

[Plugin: Event Calendar 3 for PHP 5.3]remove timestamp from Widget event listing

Viewing 3 replies - 1 through 3 (of 3 total)
  • in template-functions.php, I commented out the following:

    if($entry->allday)
    $data[‘TIME’]=__(‘all day’,’ec3′);
    else
    $data[‘TIME’]=mysql2date($time_format,$entry->start);

    then I added this immediately after the code I commented:

    $data[‘TIME’]=”;

    This removed the date, but it still shows () after the post, still looking for those so I can remove them.

    to remove the () and time, ignore the post above and just change this line in template-functions.php:

    from:

    define(‘EC3_DEFAULT_TEMPLATE_EVENT’,’%TITLE% (%TIME%)‘);

    to:

    define(‘EC3_DEFAULT_TEMPLATE_EVENT’,’%TITLE%‘);

    Fernando

    Go to 493 line:
    $time_format=get_option(‘time_format’);
    and comment it:
    //$time_format=get_option(‘time_format’);
    for me work this one!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Event Calendar 3 for PHP 5.3]remove timestamp from Widget event listing’ is closed to new replies.
Skip to toolbar