WordPress.org

Ready to get started?Download WordPress

Forums

Event Calendar 3
Remove text from post (3 posts)

  1. hafman
    Member
    Posted 3 years ago #

    Hello,
    How do i stop the datestamp text from appearing in the top the posts or even style the text?

    The plugin seems to add no class to the inserted line at all, it just sits in a <p> tag which ain't too helpful.

  2. hafman
    Member
    Posted 3 years ago #

    I've done it by editing 'eventcalendar3.php' like so:

    // THIS IS THE CODE THAT PUTS A STRING IN THE TOP OF EACH POST. NOTE THE ADDED FORMATTING
      if($post->ec3_schedule)
      {
        $schedule=ec3_get_schedule('%s; ',"%1\$s %3\$s %2\$s. ",'<span style="font-size:12px;"><strong>%s</strong></span> ');
        $text=$schedule.$text;
      }

    Would there be a way to do this more cleanly from functions.php with an override?

  3. matteoraggi
    Blocked
    Posted 2 years ago #

    using wp 2.9.2 and event vcalendar 3.2 beta 2 it didnt worked

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic