WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Event Calendar 3] Styling date output in post exerpts (4 posts)

  1. cavamondo
    Member
    Posted 4 years ago #

    Does anyone how to ad a class tag to the date output in the post listing exerpts. IE: [ 4. juni 2010, Kl. 12:00 to 6. juni 2010, Kl. 12:00. ]

    Also does anyone know where the Brackets are located file/line?

    Figure the class ha to be atached to the bracket section ... but cant seem to find the damn things ^^

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

  2. estevancarlos
    Member
    Posted 4 years ago #

    i'm wondering the same thing!

  3. dragonflymedia
    Member
    Posted 4 years ago #

    in eventscalendar3.php edit:

    if($post->ec3_schedule)
      {
        $schedule=ec3_get_schedule('%s; ',"%1\$s %3\$s %2\$s. ",'[ %s]');
        $text=$schedule.$text;
      }

    to add a span or such like this:

    if($post->ec3_schedule)
      {
        $schedule=ec3_get_schedule('%s; ',"%1\$s %3\$s %2\$s. ",'<span class="ec3exerpt-date">[ %s]</span> ');
        $text=$schedule.$text;
      }
  4. neonlounge
    Member
    Posted 3 years ago #

    do you know how i can just get rid of the date completely showing in the excerpt?

    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic