• Resolved theMezz

    (@themezz)


    I am seeking a script that will pick a random quote from a text file and display it in my wordpress blog.
    Suggestions?
    I had a PERL script that did just that and it works well with shtml files but it fails with php files.
    thanks for any ideas,

    Joe
    http://theMezz.com

Viewing 15 replies - 1 through 15 (of 17 total)
  • http://wp-plugins.net/index.php?id=30
    The WP version is called Witty Text and can be grabbed at that link 🙂

    F1_error

    (@f1_error)

    I have to second Witty. I use it, and love it. Plus you can easily style it with CSS and you can use xhtml in the indidvual quotes, which can be a big bonus.

    Lorelle

    (@lorelle)

    I have it in the bottom of the sidebar on EVERY page in my site. I love it. Very customizable.

    Aleister

    (@aleister)

    I also recommend Witty.. I played with several a while back and it was by far the best, and very simple to use. I don’t know why some scripts overcomplicate things so much when all they do is stick a random sentence somewhere 😉

    theMezz

    (@themezz)

    I downloaded it but it has no docs. How do I use it?
    thanks

    skippy

    (@skippy)

    From the witty permalink,

    The plug-in is called with witty ();, which can be placed anywhere in your template and used as many times as you want.

    theMezz

    (@themezz)

    Anyone know how to change the display font?

    theMezz

    (@themezz)

    >I have to second Witty. I use it, and love it. Plus you can easily style it >with CSS

    how? where?

    With css.
    Give us a link to the page you are using it on ?

    theMezz

    (@themezz)

    I plan on using it on http://theMezz.com above the
    “[ Photo Gallery | UticaForum.org | cnyEATS.com | Contact Me ] ” line

    thx

    Can you activate it ?

    The easiest way is to style..

    .witty {
    font family: helvetica, tahoma, sans-serif;
    color: #ff00ff;
    font-size:18px;
    }

    I’m sure this will be in the readme ?

    theMezz

    (@themezz)

    It is activated now.

    (there are no docs in the download at all)

    skippy

    (@skippy)

    The function witty() simply outputs a quote. If you want it styled, wrap it like so:

    <span class='witty'><?php witty(); ?></span>

    or

    <p class='witty'><?php witty(); ?></p>

    Use whatever class you want, and style it appropriately in your CSS file.

    theMezz

    (@themezz)

    it changed the font on the whole page

    You did not close the span.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘random quotes’ is closed to new replies.