boonebgorges / buddypress-docs

GNU General Public License v3.0
105 stars 44 forks source link

Wider layout support #736

Open dcavins opened 1 year ago

dcavins commented 1 year ago

Addresses issues in #731. Also causes new problems for block-based themes. :)

boonebgorges commented 1 year ago

Technique looks good! Thanks for looking at it.

Also causes new problems for block-based themes. :)

What are our options here?

dcavins commented 1 year ago

I've only just begun looking at the archive problem. Something cool about the new full-site-editing, block-based themes is that you finally can have some control over your site's archive layout without making a new archive template. (I only played with this today, but remember reading about archive layouts being more accessible.) Maybe archives will become slightly less misunderstood.

The problem is that when we overload the content with theme compatibility enabled (these examples all use Twenty Twenty-Two as the theme), the default archive layout shows the BP Docs content as an excerpt: dir-with-theme-compat

If I disable theme compatibility on directories with these themes, we get our content, but not built out like other screens. (It flows edge to edge in the browser): dir-no-theme-compat

So I'm not sure what the answer is, yet. I'm not familiar with this style of theme, so I'm learning some interesting things. I was hoping that this question had been solved by Mathieu for BP, and it may be, but I'm not sure that BP has to overload content on archives, and the overload works as expected on single views: single-doc