WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] latest google queries on homepage? (6 posts)

  1. yurimaanzand
    Member
    Posted 6 years ago #

    I'm looking for a simple way to display the latest google search strings in my sidebar. So far I couldn't find any plugin to do so. Perhaps there's a simple line of code to make that possible, but I'm not that smart.
    I just want a list of 10 or 20 items, just the queries itself, without the links to google. Maybe there's a way to use the data from the wordpress stats plugin to display the queries, but i couldn't figure out how...

    Any ideas?

  2. whooami
    Member
    Posted 6 years ago #

    Ive done that..

    This is actual search terms:

    http://www.village-idiot.org/zeitgeist

    the links go to the posts that the searcher got redirected to.

    the code for this is available here:

    http://www.village-idiot.org/archives/2007/04/15/wp-zeitgeist/

  3. yurimaanzand
    Member
    Posted 6 years ago #

    Thanks, that seems to be what i need!
    Is there a way to limit the cloud to the last 10 or 15 searches?

  4. whooami
    Member
    Posted 6 years ago #

    I imagine so .. I cant look at it right now though.

  5. yurimaanzand
    Member
    Posted 6 years ago #

    Take it easy. I'm in no hurry, and so should the rest of the world.

  6. yurimaanzand
    Member
    Posted 6 years ago #

    Woohoow. I'm a hero. Cough.
    I changed
    LIMIT 0 , 30");
    to
    LIMIT 0 , 10");

    Thanks for the plugin!

Topic Closed

This topic has been closed to new replies.

About this Topic