WordPress.org

Support

Support » Plugins and Hacks » Event Calendar 3 » Remove text from post

Remove text from post

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove text from post’ is closed to new replies.
Skip to toolbar