Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[feedback] Suggestion for small change to default theme
I changed header of the ‘archive’ page for the 4.5.2 default theme to:
<txp:if_article_list>
<h1>
<txp:section title="1" /><txp:if_category> in <txp:category title="1" /></txp:if_category>
</h1>
</txp:if_article_list>
The header becomes ‘Articles in <category>’ if the listing is for a category. Something similar could be done for an author list as well.
(4.5.2 because I didn’t upgrade my theme when I upgraded to 4.5.4.)
Online
Re: [feedback] Suggestion for small change to default theme
The category and author listing pages are served by ‘default’ page not ‘archive’, and they already dynamically retitle depending on the view state.
Or at least they do in 4.5.4 – I don’t have a 4.5.2 version installed for testing for I don’t think much changed (if anything) in the front-side templates between those versions.
Offline
Re: [feedback] Suggestion for small change to default theme
Then I suspect that I have unintentionally altered my page templates in some way that will come back and bite me someday.
Online