Conditional: for posts older than x weeks
I’ve been dabbling with wordpress for the last few months and I must say I’ve always found it very easy to customize, and maintain…
But today I ran into the first problem I couldn’t solve by reading the codex or searching these support forums… Here goes:
I want to change the template for posts (single.php) older than a certain amount of weeks, days or months… Let’s say I want to display a certain text above all posts older than 25 days….
Is that possible? I saw the date conditionals, but I couldn’t find a time difference conditional? Can this be achieved by a workaround?
Thanks in advance!
- The topic ‘Conditional: for posts older than x weeks’ is closed to new replies.