Skip to content
Public Ticket #9649

PenNews: Randomize entries in Topbar ticker?

Conversation thread

ICEknigh7 replied

Customer Reply

Thank you, it will be a rather interesting feature for those looking to bring attention to their old content.

Penci Design replied

Staff Reply

Hi,

Thank you for your suggestion. We will consider to add more this feature in the next update version of PenNews. I'm not sure it will be added but i'm sure we will consider about this.

Best Regards,

PenciDesign

ICEknigh7 replied

Customer Reply

I don't mean choosing them independently but just letting it grab them randomly from the database. For example:

Selected options:
-Select Trending Now category: "News"
-Select type: "Show random posts"
-Amount of Posts Display on Top Bar: "4"

Results would be something like:
-"News post from January 2018"
-"News post from April 2019"
-"News post from June 2016"
-"News post from March 2019"

I think the SQL query would be something like:
SELECT * FROM table_name
ORDER BY RAND()
LIMIT 4

Penci Design replied

Staff Reply

Hi,

Do you want choose any post show on Trending now ?

If right, unfortunately, curently, this theme doesn't support the feature. We will consider to add more this feature in the next update version of PenNews. I'm not sure it will be added but i'm sure we will consider about this.

Best Regards,

PenciDesign

ICEknigh7 started the conversation

Conversation Start

I'm guessing it's not possible at the moment but I was wondering if it would be possible to make the "Trending now" ticker to get its posts from the database in a random order (not just the latest ones), so that readers might find something old they had missed when they enter the website.

Want to join this conversation or access attachments? Sign in first.