Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

#6636 closed enhancement (fixed)

Theme Compat: Add singular.php to list of wrapper template files for BP content

Reported by: mercime Owned by: mercime
Priority: normal Milestone: 2.4
Component: Templates Version:
Severity: normal Keywords: has-patch commit
Cc:

Description

BuddyPress pages no longer have any h1 level headings when Twenty Sixteen is activated. This is because the BP components are now wrapped in the theme's index.php which has h2 level heading for content. The page.php file that we're counting on is not available in the theme because Twenty Sixteen uses singular.php (introduced in ​WP#22314) in lieu of page.php and single.php.

Attached patch adds singular.php to the list of wrappers.

Attachments (1)

6636.patch​ (354 bytes ) - added by mercime 11 years ago.

Download all attachments as: .zip

Change History (3)

@mercime
11 years ago

#1 @DJPaul
11 years ago

  • Keywords commit added
  • Milestone Awaiting Review → 2.4

Make it so!

#2 @mercime
11 years ago

  • Owner set to mercime
  • Resolution → fixed
  • Status new → closed

In 10166:

Theme Compat: Add singular.php to list of wrapper templates.

singular.php is a new template file introduced in WP 4.3.0 which
serves as fallback for page.php and single.php.

Fixes #6636.

Note: See TracTickets for help on using tickets.