July 1, 2021 at 3:35 pm #9667
Prior to release 4.3 the RSS Feed Reader didn’t have the option to sort the feed by date/random and I would like to know if there is a way to have that again.
You see, I am using this feed (see URL below) from a client and this feed ranks the listed items by “most engagement”, however, when I add it to the Super RSS Feed Reader, then the reader overwrites the ranking of the original feed for the date/random ranking provided by the new update.
Is there a way to deactivate the “order by” from the RSS Feed Reader? I am a PRO user.July 1, 2021 at 4:24 pm #9669
Looks like I need to add an option to disable sorting. I’ll add it in the next release.
Can you please make this small change in plugin editor ?
super-rss-reader/includes/feed.phpat line no. 122
$feed->enable_order_by_date( true );
$feed->enable_order_by_date( false );
and save the file. Please let me know how it goes.
AakashJuly 1, 2021 at 6:41 pm #9671
Thank you for the quick response! I changed it from TRUE to FALSE.
No effect yet though. Yes, I think it would be great if you add DISABLE function.
GregJuly 1, 2021 at 10:44 pm #9673
That should’ve worked. May be you looked at cached page.
Anyways can you also try adding this line in
super-rss-reader/includes/feed.phpat line no. 311 ?
Please do clear any page cache and give a try.
This should help you meantime till the next release.
AakashJuly 5, 2021 at 2:51 pm #9693
I followed your second advice adding
return $items;to line 311 but this also didn’t help. Now the feed just displays
items and rejects even the display limit. You can see the result here: https://www.tffw.info/
As you can see, this, is the original feed. You can see that the top first result is different from what is displayed on the website right now.
Looking forward to hearing from you.
Thanks for the support btw.
GregJuly 6, 2021 at 12:14 am #9694
Sorry for the inconvienence.
Please revert the last change I asked to make (adding
return $items;at line number 311)
The first change alone is sufficient. (changing
falseat line number 122)
I tested and it works.
Please ensure the following,
1) You have saved the changes
2) The cache of the page (if any) where the shortcode is used is cleared.
3) WordPress sometimes caches the RSS feed which expires in 12 hrs. Please wait 12 hours if #1 and #2 didn’t help.
I can’t think of any reason why it might not work.
Please do try and let me know.
AakashJuly 6, 2021 at 5:48 pm #9695
It works now. I forgot to change from “Random” to “Date”. The code applies to
enable_order_by_dateand I completely ruled out that it might not apply for the randomizer.
Thanks again for the support.July 6, 2021 at 6:16 pm #9696
Good to hear. I’ll ensure this can be disabled his options in the next version.
- You must be logged in to reply to this topic.