x
 
Create New Page

Revision: Adding Dates to Title String

Revision from: 11:25, 30 Nov 2007

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: