Hi Need Some Programming Help

4 replies
Is it possible to create a script, or does one already exist, that changes the order of posts on a WP blog every time the page loads or at least on a pre-set schedule?

Thanks
#programming
  • Profile picture of the author aaron_nimocks
    Sure you can. But to a certain degree.

    You can use a PHP to create a random number that will run a certain switch that will contain a different query_post which will change the order.

    There's 2 links that will give you all the info you need. But I guess you need programming experience in order to put that all together.

    PHP: switch - Manual
    Function Reference/query posts « WordPress Codex
    Signature

    My free PSD logs can be downloaded at PSD Bum. Enjoy!

    {{ DiscussionBoard.errors[3075913].message }}
  • Profile picture of the author FrankBowman
    Thanks, do you know of any plugins that do the same thing. I can't seem to find one.

    Thanks in advance
    Signature
    {{ DiscussionBoard.errors[3075945].message }}
    • Profile picture of the author aaron_nimocks
      Originally Posted by FrankBowman View Post

      Thanks, do you know of any plugins that do the same thing. I can't seem to find one.

      Thanks in advance
      I only searched for a minute and didn't find one, but I doubt there is. I don't see any real application on why you would want this so I doubt people would make a plugin.
      Signature

      My free PSD logs can be downloaded at PSD Bum. Enjoy!

      {{ DiscussionBoard.errors[3075959].message }}
  • Profile picture of the author FrankBowman
    Thanks,

    Found one here.........

    WordPress › Rotating Posts « WordPress Plugins

    It does what I need..........I appreciate your help

    Thanks again.
    Signature
    {{ DiscussionBoard.errors[3075986].message }}

Trending Topics