Skip to:
Content

BuddyPress.org

Opened 13 months ago

Closed 6 months ago

Last modified 6 months ago

#8900 closed enhancement (fixed)

Put the minimal code in place to support BP Block only Themes

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 14.0.0 Priority: normal
Severity: normal Version:
Component: Templates Keywords: has-patch early
Cc:

Description

To progress about our BP Block Theme project, let's put in place some block template location code as well as a bp/content & a bp/title blocks.

Change History (4)

This ticket was mentioned in PR #104 on buddypress/buddypress by @imath.


13 months ago
#1

  • Keywords has-patch added

You can try this code with BuddyVibes. It won't display much yet, but you'll see that if the Block Theme contains a buddypress.html template or in case of the Activity directory a buddypress/activity/index.html template, these will be loaded for all but Activity directory BuddyPress pages for the first and for the Activity directory page for the second.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/8900

#2 @imath
11 months ago

  • Keywords early added
  • Milestone changed from 12.0.0 to Up Next

Let's carry on working on this for next major release!

#3 @imath
7 months ago

  • Milestone changed from Up Next to 14.0.0

#4 @imath
6 months ago

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

In 13686:

Initialize the support of BP block only Themes

We are now using the locate_block_template() function to get block templates of BuddyPress content when active theme is supporting buddypress and is only using blocks.

For an example of this new kind of BP Themes, you can check the WIP we've started here: https://github.com/buddypress/buddyvibes

Here's a nice way to start 2024! Happy new year to everyone 🥂

Fixes #8900
Closes https://github.com/buddypress/buddypress/pull/104

M src/bp-core/bp-core-actions.php
M src/bp-core/bp-core-catchuri.php
M src/bp-core/bp-core-template-loader.php
M src/bp-core/bp-core-theme-compatibility.php

Version 0, edited 6 months ago by imath (next)
Note: See TracTickets for help on using tickets.