WordPress.org

Ready to get started?Download WordPress

Forums

Random Quotes (12 posts)

  1. Rupe
    Member
    Posted 10 years ago #

    Hi folks,
    I am looking for a hack for quotes. I wanted a simply script that I can put into my existing design. Doesn't have to be fancy with sql calls or anything, bust a simple file that can post random quotes. Any ideas?

  2. notthatugly
    Member
    Posted 10 years ago #

    I'm using a simple PHP script from here; very basic but it does what I need it to.

  3. Lester Chan
    Member
    Posted 10 years ago #

    it can be coded using txt file and some random functions. I am doing it soon! =D

  4. Rupe
    Member
    Posted 10 years ago #

    Thanks notthatugly - works like a charm.....one down...one to go.....

  5. NuclearMoose
    Member
    Posted 10 years ago #

    @NTU - thanks for the link. It has been added to the Wiki on the WP Hacks page.
    @Rupe - check out the hacks on the Wiki for IdahoCline's hack. His does require a database connection, but it's a short and sweet bit of code as well.
    Craig.

  6. idahocline
    Member
    Posted 10 years ago #

    @NM : Soon, on my site a download area will be available. Where all my hacks will be availale to download. Only issue for the moment is.....TIME ! :o( But I will manage to do it asap. This means : euh....Let' say...Very soon. ;o)
    @Rupe: I sent you the code for the Coppermine module ;o) Let say your have the exclusivity for now...

  7. idahocline
    Member
    Posted 10 years ago #

    Should be possible this weekend to hack the hack.....
    Functionnalities could be : Random images from an album, List of albums.....
    ;o)

  8. faewench
    Member
    Posted 10 years ago #

    you place all that code on the index.php page where youw ant the quotes to be?

  9. faewench
    Member
    Posted 10 years ago #

    how would you call it as an include? i think that was my orginal question, i think:)

  10. Beel
    Member
    Posted 10 years ago #

    Like all the other includes in WP ;-)
    <?php include('randquote.php'); ?>

  11. Ryan Boren
    WordPress Dev
    Posted 10 years ago #

    You can use the Hello Dolly Plugin as an example.

  12. faewench
    Member
    Posted 10 years ago #

    thank you both i did get it figured out:) im very pleased now:)
    fae

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.