Shortcode Formatting (6 posts)

  1. RevelationTravis
    Posted 5 years ago #

    The formatting for the shortcode seems to be rather picky. If I add in commas to separate the variables, it reverts to an RSS feed in German. Same goes for if I put each variable on a new line. Even certain variables seem to trigger the bug. The shortcode is basically very limited in it's functionality.


  2. RevelationTravis
    Posted 5 years ago #

    Okay, I found a fix for my issue - do not use quotes and do not use commas. The whole shortcode must still be on one line, it cannot be separated into multiple lines. It's a fix for the most part and the page for this plugin should be updated to reflect the fact that quotes and commas should not be used. A note about the necessity of it all being on a single line should probably also be made.

  3. pokinwilly
    Posted 5 years ago #

    Thanks, I had the same issue.

    The plugin description on wordpress.org is thus wrong, comma should not be used to isolate various parameters. However, quotes are ok on my side.

  4. Mark Costlow
    Posted 5 years ago #

    I had the same issue, with the current version ( Same solution: don't use commas. Quotes did not tickle the bug for me.

    However, I'm still having a problem with the shortcode -- I can't get before_date to work. I tried this:

    [RSSImport display="5" feedurl="http://members.swcp.com/webdev/feed/rss2" date="1" before_date="<small>"]

    On the page, it displays the text "<small>" instead of leaving the tag there to have the intended effect. (I.e. the HTML source contains the escaped tag with ampersands)

    I didn't find any notes about needing to escape tags. I tried several things to do that, but failed. Any ideas?


  5. cadfile
    Posted 4 years ago #

    I was using another plugin where I needed to use the <small> tag and it kept getting stripped out.

    I believe that WordPress’s KSES function won't allow the <small> tag.

    I had to use a selector - in my case the a anchor and change that through CSS

  6. novaclic
    Posted 4 years ago #

    To my knowledge, the issue of having <small> replaced by <small> and thus making it "printed" instead of "interpreted" is linked to the WYSIWYG editor: as long as you edit/save in "HMTL" view, the formating is kept.

    I'm suggesting to "de-html_convert" all parameters in shortcode mode. However, there may be some side-effects... Any opinion?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • RSSImport
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic