-
AuthorPosts
-
July 1, 2021 at 3:35 pm #9667gtelakisParticipant
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 #9669Aakash ChakravarthyKeymasterHi @gtelakis,
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 ?
Open
super-rss-reader/includes/feed.php
at line no. 122
Replace this$feed->enable_order_by_date( true );
with this
$feed->enable_order_by_date( false );
and save the file. Please let me know how it goes.
Thanks,
AakashJuly 1, 2021 at 6:41 pm #9671gtelakisParticipantThank 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.Kind regards
GregJuly 1, 2021 at 10:44 pm #9673Aakash ChakravarthyKeymasterHi @gtelakis,
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.php
at line no. 311 ?return $items;
Please do clear any page cache and give a try.
This should help you meantime till the next release.Thanks,
AakashJuly 5, 2021 at 2:51 pm #9693gtelakisParticipantHello Aakash,
I followed your second advice adding
return $items;
to line 311 but this also didn’t help. Now the feed just displays-
all
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.Kind regards
GregJuly 6, 2021 at 12:14 am #9694Aakash ChakravarthyKeymasterHi Greg,
Sorry for the inconvienence.
Please revert the last change I asked to make (addingreturn $items;
at line number 311)The first change alone is sufficient. (changing
true
tofalse
at 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.Thanks,
AakashJuly 6, 2021 at 5:48 pm #9695gtelakisParticipantHi Aakash,
It works now. I forgot to change from “Random” to “Date”. The code applies to
enable_order_by_date
and I completely ruled out that it might not apply for the randomizer.Thanks again for the support.
July 6, 2021 at 6:16 pm #9696Aakash ChakravarthyKeymasterGood to hear. I’ll ensure this can be disabled his options in the next version.
-
AuthorPosts
- You must be logged in to reply to this topic.