Make WordPress Core

Opened 9 years ago

Closed 5 years ago

Last modified 5 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:


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)

#1 @foolswisdom
9 years ago

  • Milestone changed from 2.2 to 2.4

#2 @ffemtcj
8 years ago

  • Milestone changed from 2.5 to 2.6

#3 @Denis-de-Bernardy
7 years ago

  • Component changed from General to Template

#4 @pauamma
6 years ago

  • Milestone changed from 2.9 to Future Release

#5 @johnbillion
5 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.

#6 @johnbillion
5 years ago

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

#7 @dd32
5 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.