WordPress.org

Ready to get started?Download WordPress

Forums

WP RSS Multi Importer
[resolved] Two or more vertical rss scroller in the same post (3 posts)

  1. primapress
    Member
    Posted 1 year ago #

    Hi, i'm using this plugin to punt in a post three rss vertical scroller but i ha strange errors.

    I thik it's beacuse the ID "news-container" it's the same for every scroller, so if i use just one it works, if i use more than one i have errors.

    Waht can i do?

    Thanks a lot.

    http://wordpress.org/extend/plugins/wp-rss-multi-importer/

  2. primapress
    Member
    Posted 1 year ago #

    i just solved creating 3 different templates file:

    vertical_scroll.php
    vertical_scroll_1.php
    vertical_scroll_2.php

    then change the line 3 from:
    jQuery('#news-container').vTicker({
    to:
    jQuery('.v_scroller').vTicker({

    and add the class in the line 25
    from:
    $readable .= ' <div id="news-container"><ul class="wprssmi_rss_vs">';
    to:
    $readable .= ' <div id="news-container" class="v_scroller"><ul class="wprssmi_rss_vs">';

    importat remeber to modify the class name in every file to be unique.

    Thanks again for this beaoutifoul plugin.

  3. Allen
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks...that's a great fix..I'll make sure people know about this..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic