Make WordPress Core

Opened 18 years ago

Closed 14 years ago

Last modified 14 years ago

#3880 closed enhancement (fixed)

parent_page_item class is not applied when browsing blog archives

Reported by: francesconegri's profile 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)

#1 @foolswisdom
18 years ago

  • Milestone changed from 2.2 to 2.4

#2 @ffemtcj
17 years ago

  • Milestone changed from 2.5 to 2.6

#3 @Denis-de-Bernardy
16 years ago

  • Component changed from General to Template

#4 @pauamma
16 years ago

  • Milestone changed from 2.9 to Future Release

#5 @johnbillion
14 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
14 years ago

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

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