#5501 closed defect (bug) (invalid)
next_posts_link broken on custom page with template of the same name
| Reported by: | drphil9001 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Template | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
If you have a Page and a template that is named the same name as the Page, the next_posts_link and previous_posts_link do not work. Note that this is not the file name, but rather the Template name in the file itself.
The following steps will reproduce this bug:
- Copy index.php to Blog.php in the default theme
- Give Blog.php the Template Name "Blog"
- Write > Write Page
- Enter "Blog" for the page name with no content
- Select "Blog" as the page template.
- View the page.
Note:
See TracTickets
for help on using tickets.
Closing this ticket as invalid because
next_posts_linkandprevious_posts_linkare not supposed to work on individual pages or posts.Please reopen if I have misunderstood your intentions.