WordPress.org

Ready to get started?Download WordPress

Forums

Hello Dolly Modification (10 posts)

  1. mailinator
    Member
    Posted 8 years ago #

    Hello everyone,

    This is my first post on the forums. Nice to be a part of this community.

    Here is my question:

    We all know that the 'Hello Dolly' plugin will display a random quote from the lyric, however, this is limited to the administration panel.

    So, what do I want?

    I want to display the content of the lyrics (also a random quote) on my sidebar.

    Possible?

    Thanks for the help. Take care everyone.

  2. moshu
    Member
    Posted 8 years ago #

    Welcome to WP!
    The Codex is the gold mine for a lot of info :)
    For your question see http://codex.wordpress.org/Plugins/Randomness

  3. mailinator
    Member
    Posted 8 years ago #

    Thanks for such a quick reply :| :)

    I'll look into the Codex. Thank you for the input.

  4. Chris_K
    Member
    Posted 8 years ago #

    Here's a plugin that I use that seems to work well for random quotes: http://www.zombierobot.com/wp-quotes/

  5. mailinator
    Member
    Posted 8 years ago #

    Thanks for the reply.

    I found all the Randomness plugins a little to complex for what I want.

    I would like to use the content of the hello.php file and output it to the sidebar.

  6. Chris_K
    Member
    Posted 8 years ago #

    Too complex to copy up a couple files vs. hacking code eh?

    That's an interesting perspective. Let us know how it works out!

  7. mailinator
    Member
    Posted 8 years ago #

    Take it easy ...!

    I just wanted to keep things as clean and simple as possible.

  8. Chris_K
    Member
    Posted 8 years ago #

    There were no implied sarcasm or caustic wit tags in my previous post. It was genuine and I truly do look forward to hearing about what you come up with.

    Options are great.

  9. mailinator
    Member
    Posted 8 years ago #

    Ohhh, OK (-: Sorry about that.

  10. kalico
    Member
    Posted 8 years ago #

    Welcome malinator! You'll find this to be one of the friendliest forums around -- I've learned to assume the best instead of the worst, but it's easy to assume the worst when you've hung around some other places where everyone seems cranky. :)

    I have been really impressed with Random Words by Ozh. (http://frenchfragfactory.net/ozh/my-projects/wordpress-plugin-random-words/)

    Extremely simple to use -- you can set up multiple lists of words if you want, but you can just set up one. You just put all the things you want to randomize in one textarea in your admin, and then put a tag in your sidebar, or wherever, like this:

    * In posts:
    [random:name_of_the_list]
    * In PHP:
    <?php wp_ozh_randomwords('name_of_the_list') ?>

    The list of things to randomize can be just about anything -- HTML, plain text, whatever. I need to use lots of different random things in lots of different places, so it's great for that. But if I only needed randomness in one place, I'd still pick it for it's absolute simplicity.

    I did tweak the Hello Dolly plugin for admin -- pasted in my own fav song. :) But I haven't tried making it work in the rest of the site, since Random Words is so simple.

    HTH :)

Topic Closed

This topic has been closed to new replies.

About this Topic