WordPress.org

Ready to get started?Download WordPress

Forums

News-Ticker
Reporting a problem + fix (2 posts)

  1. rykios
    Member
    Posted 1 year ago #

    In currently available version (May 17) there is a problem with external RSS. Plugin shows the date, the title (linked to original page) but does not show any description. Just element date and title.
    Not really a bug (malfunction) looks more like author forget to add a bit of code to show descriptions from external RSS feeds
    So, until its fixed by author, here is what to do:

    Open file ticker.php in editor (like Notepad++) go to line 142 and change that line to:
    <li><span class="tickerDate"><?php $pubdate = substr($item['pubdate'], 4, 12); echo $pubdate; ?></span> - <span class="tickerLink"><a href="<?php echo $item['link']; ?>"><?php echo $item['title']; ?>: <?php echo $item['description']; ?></a></b></span></li>

    What i did was add
    <?php echo $item['description']; ?>
    just before the close. If you add AFTER result is same but description phrase is not a live click-able link. Your choice...

    Cheers!

    http://wordpress.org/extend/plugins/news-ticker/

  2. rykios
    Member
    Posted 1 year ago #

    just before the close >> just before the </a> close.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic