how to add php code to a custom link
-
Hello,
I’ve created a ‘custom menu’ in the ‘side-bar’.
the custom link points to an outside url which at the end has today’s date
http://www.outsideurl.com/folder/todaysdate/since ‘todaysdate’ changes every day, I want to use php to pass today’s date to the url
something like this:
http://www.outsideurl.com/folder/<?php echo date(“Y-m-d”); ?>/Does anyone know a way to do this?
Thanks,
Laura
- You must be logged in to reply to this topic.