WordPress.org

Ready to get started?Download WordPress

Forums

ICS Calendar
Bug Fix: ability to insert URL in Custom Event Format (Widget) (1 post)

  1. florianhh
    Member
    Posted 2 years ago #

    insert into ics-functions.php, line 283:

    if($event['URL']) {
    					$event_url = htmlentities($event['URL']);
    				} else {
    					$event_url = '#';
    				}
    				$output = str_replace('%url%',$event_url,$output);

    to inform the user insert into ics-import.php, line 274 at the end:
    and <i>%url%</i>.

    Then you can use in the sidebar widget Custom Event Format p. ex.:

    <li style="color:#333333; ">
    <strong>%date-time%</strong><br />
    <a href="%url%">%description%</a>
    </li>

    I also tried to contact the developer but his contact form captcha crashed and I couldn't find an email address. So I think if someone want to fork that project that would be a great idea.

    http://wordpress.org/extend/plugins/wordpress-ics-importer/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic