-
Notifications
You must be signed in to change notification settings - Fork 3
Page Templates
Matthew Bernhardt edited this page Aug 24, 2016
·
6 revisions
Which page template does what?
Pages which have a list of news cards frequently feature a "Load More" button at the bottom (in place of traditional pagination). Those buttons load the next batch of content via Javascript, loading a hidden set of pages. The mapping is:
| Page | URL | Template | Loads URL | Template |
|---|---|---|---|---|
| Archive | ? | archive.php | /news/more-archives/ |
additionalPosts-archives.php |
| Category | /news/category/archives-mit-history/ |
category.php | /news/add-posts-category/ |
additionalPosts-cat.php |
| Index | /news/ |
index.php | /news/test/ |
additionalPosts.php |
| Bibliotech | /news/bibliotech-index/ |
page-bibliotech.php | /news/add-bibliotech-posts/ |
additionalPosts-biblio.php |
| Events | /news/events/ |
page-events.php | /news/add-posts-events/ |
additionalPosts-events.php |
| News | /news/news/ |
page-news.php | /news/more-news-stories/ |
additionalPosts-news.php |
| Search | /news?s=doge |
search.php | /news/search-results/ |
additionalPosts-search.php |
| Test | ? | test-template.php | /news/test/ |
additionalPosts.php |