WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 4 years ago

Last modified 4 years ago

#3880 closed enhancement (fixed)

parent_page_item class is not applied when browsing blog archives

Reported by: francesconegri Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 2.1.1
Component: Template Keywords: close
Focuses: Cc:

Description

when using page_for_posts and browsing monthly archives or category archives, wp_list_pages should set the "parent_page_item" css class for the relevant menu item (eg the "blog" menu item). archives should behave like sub-pages of the page_for_posts page.

Change History (7)

comment:1 @foolswisdom8 years ago

  • Milestone changed from 2.2 to 2.4

comment:2 @ffemtcj7 years ago

  • Milestone changed from 2.5 to 2.6

comment:3 @Denis-de-Bernardy6 years ago

  • Component changed from General to Template

comment:4 @pauamma6 years ago

  • Milestone changed from 2.9 to Future Release

comment:5 @johnbillion4 years ago

  • Keywords close added

This has been fixed at some point. Recommending close as worksforme.

When using a page as the page_for_posts its menu item gets a current_page_parent class when browsing any archive page.

comment:6 @johnbillion4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

comment:7 @dd324 years ago

  • Milestone changed from Future Release to 3.1

Marking as 3.1 based on johnbillion's comment.

Note: See TracTickets for help on using tickets.