NEW Plugin - random-quote

Find help with FlatPress plugins, report a plugin bug, request or present new plugins.
Post Reply
Sean
Posts: 3
Joined: Fri Jul 07, 2023 3:54 am

NEW Plugin - random-quote

Post by Sean » Wed Jan 29, 2025 2:41 am

With the help of Copilot I create a random quote plugin.

It displays a random quote on static pages and blog post entries using the shortcode `[random-quote]`.

Give it a whirl and let me know what you think.

You can see it in action here > https://seanboal.com/
Attachments
random-quote.zip
(4.04 KiB) Downloaded 7 times

User avatar
fraenkiman
Posts: 294
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: NEW Plugin - random-quote

Post by fraenkiman » Mon Feb 10, 2025 10:51 pm

Hello Sean,

welcome aboard. I have tested your plugin. It does what it is supposed to. Thank you very much. I've decided to put your plugin in the wiki.

With best regards
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
WineMan
Posts: 111
Joined: Tue Sep 01, 2020 5:03 pm

Re: NEW Plugin - random-quote

Post by WineMan » Wed Feb 12, 2025 4:28 am

I have this plugin working on a blog post, what needs to be done to display it in the header.

macadoum
Posts: 4
Joined: Sat Jan 20, 2024 10:32 pm

Re: NEW Plugin - random-quote

Post by macadoum » Fri Feb 14, 2025 9:28 pm

I'd like to have this random quote displaying on the header or the sidebar too. Having it in a blog post is less useful imho

Sean
Posts: 3
Joined: Fri Jul 07, 2023 3:54 am

Re: NEW Plugin - random-quote

Post by Sean » Sat Feb 15, 2025 8:57 am

fraenkiman wrote: Mon Feb 10, 2025 10:51 pm Hello Sean,

welcome aboard. I have tested your plugin. It does what it is supposed to. Thank you very much. I've decided to put your plugin in the wiki.

With best regards
Frank
Hi Frank,

Thank you, and thank you for putting it in the wiki. I was going to try and place it in the wiki but thought I should get some feedback first and I did not want to mess up any of the content on the wiki since I have little experience in that space.

I also created a plugin called 'random-image' that functions similarly to 'random-quote' but displays random images instead. I would appreciate any feedback on this as well."

It appears to be too large to post here although it is only 354kb. So, for now, it can be downloaded at https://www.seanboal.com/fp-plugins/dow ... -image.zip

Thank you

Sean
Posts: 3
Joined: Fri Jul 07, 2023 3:54 am

Re: NEW Plugin - random-quote

Post by Sean » Sat Feb 15, 2025 9:05 am

macadoum wrote: Fri Feb 14, 2025 9:28 pm I'd like to have this random quote displaying on the header or the sidebar too. Having it in a blog post is less useful imho
I created the plugin to meet a specific need on a static page that I use for my home page. It will work in both posts and static pages, but I will need to rework it to be used in the header, footer, and sidebars. I will circle back to add that feature as soon as I have the time. Thank you, WineMan and macadoum, for the feedback.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests