I’d like to start by thanking the author for this plugin… it’s really a great one!
I am however having a problems with PART of the short code parameters being ignored. I’m trying to run two feeds on the same page. The global setting is set to 5 posts, and that is all that will show up regardless of what I set thisfeed= to. The shortcode I’m using is below:
[wp_rss_multi_importer category=”1″ morestyle=”>>>”]
[wp_rss_multi_importer category=”2″ thisfeed=”8″ morestyle=”>>>”]
the categories are showing up correctly, and the morestyle, which overrides the default, is also responding correctly. However, no matter what I do I can’t get the second feed to display two posts. I have cleared the cache, tested in multiple browsers, and looked over the code. I can’t find conflicts or errors. There are no conflicts with my site theme or additional plugins (which I have disabled to simplify testing), I can say that for sure. The RSS feeds are being read correctly by the plugin… it’s just not outputting 8 posts in this one instance.
I have searched for this problem, and while some have asked about it there hasn’t been an answer posted yet. Has anyone encountered this and found a solution?
which plugin template are you using? (Note, as it says in the admin section, the parameters only work with the default template).
I’m using the default template… but I removed the style=”” inline markup. I don’t know how that would have an effect… but then I guess I don’t know what the problem is either so who knows? Hmm… I did change the template name. Maybe that’s it? I really appreciate your time BTW!
Can you point me to the file that selects the default template for using those parameters? Maybe I can re-write a js or some key php? Maybe I can help by making it work with any template?
Actually no… I switched it back to DEFAULT and it’s got the same problem. Also, when using any template the morestyle=”” works fine… that’s not the problem. So let’s just work with default. I’ve tried it on a few blogs on a few hosts now and the parameter thisfeed=”” works when there is only one RSS feed on the page, but not when there are two categories. This is a problem I’m able to consistently test. I’m just having trouble finding the bug in the code I think… will keep looking but any advice appreciated!
the templates are selected in the main plugin file…I’ll need to check this out myself to see why if there are two shortcodes (both using the default template) don’t pass the correct parameters…in theory this shouldn’t be a problem but maybe in practice it is.
Yah that’s what I don’t get… I keep looking at the code for the plugin and it seems like this shouldn’t be possible. Have to be missing something…
ok..I just put two shortcodes on one page (using the default template) with different parameters on the morestyle)…you can see it here:
There doesn’t appear to be a problem using different parameters – at least as I can see.
Nope. It works in all browsers for me too. There must be something else going on. Maybe there’s a conflict in my WP child theme….
- The topic ‘Problem with thisfeed="X" in short code’ is closed to new replies.