I run a site that has a photo on the front page that changes each month, repeating after a year.
Is there a way I can set the file name of the photo using getMonth(); so that the correct photo for each month is shown?
E.g. every January photo0, every February photo1, every March photo2 and so on will show automatically without the need to edit the file.
Is there a way I can set the file name of the photo using getMonth(); so that the correct photo for each month is shown?
E.g. every January photo0, every February photo1, every March photo2 and so on will show automatically without the need to edit the file.
Comment