x
 
Create New Page
 View Previous Changes    ( Last updated by taku )

Adding Dates to Title String

Question: How can I add the year and month to my single entry page like this:

blogname/{year}/{month}/{url_title}

Answer: You can do the following:

<a href="{path=site/info/{year}/{month}/{url_title}}">Permalink</a>

where the path= variable includes the year and month values from the entry.

Category:Templates Category:URLs

Categories: