I'm trying to find out a php script for displaying different content based on the odd or even numbers of a post. I have an author box set up with information about me but I would like to create another version of this automatically depending on if the post is even or odd.
If even display this version
If odd display this version etc..
Does this have a particular name or if anyone has a link to a guide that would be amazing!