I need to wrap span tags around each part of the entry date: month, day and year. I would rather not have to do 3 separate entry_date tags in a row to keep the queries down.
{entry_date format="<span class='month'>%M</span><span class='day'>%d</span><span class='year'>%Y</span>"}is what I was thinking might work but it doesn’t seem like the quotation marks are going to fly, and I don’t know of a way in EE to escape them.
<span class="is what gets displayed in the rendered template. I know you can have some symbols and characters inside the format= quotation marks.
This isn’t life or death, just trying to better optimize my pages. It is a blog so entry_date shows up multiple times. If I have to use entry_date 3 times per post, it is going to add up pretty fast, especially on pagination pages.
If someone has another solution I’d like to hear that as well, as long as it is a reduction in load time, which is the whole reason I’m trying this.
Got to http://couchable.co to see what I’m doing with the entry_date if you are curious.