WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: RSSImport] rel and target not working (4 posts)

  1. The J
    Member
    Posted 4 years ago #

    Hello!
    I find this plugin really useful, but Im wondering why some parameters just dont seem to work.
    I use version 4.4.6 and WP 2.9.1
    I'm trying to get the rel and target parameters to work but they dont seem to do anything...
    My code:

    <?php  RSSImport(
    $display = 5,
    $feedurl = 'feeedhere',
    $start_items = '<ul>',
    $end_items = '</ul>',
    $start_item = '<li>',
    $end_item = '</li>',
    $rel = 'nofollow',
    $target = 'blank'
    )
    ?>

    Anyone?

    http://wordpress.org/extend/plugins/rss-import/

  2. negs
    Member
    Posted 4 years ago #

    I had the same problem with some of the other variables - it seemed like either they were being ignored, or interpreted in the wrong way. I ended up wrapping a div around the whole thing <div id="rss-items">, and then targeting items that way,

    For example,

    #rss-items ul li a{ color: red }

    Not 100% but it got the job done for me.

  3. The J
    Member
    Posted 4 years ago #

    Well I manually edited the core files to make them do what I wanted.
    It looks like some parameters are already hard coded into the core files, that's why anything we may want to change/add just wont work.

  4. DonnaMiller
    Member
    Posted 4 years ago #

    I had the problem with the target not working while I was previewing the draft version, but once I published the page the target worked fine. I didn't use the rel attribute so can't comment on that.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags