Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5801 closed enhancement (wontfix)

Register Directory, Group profile, User profile etc pages as CPTs

Reported by: sooskriszta Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc: sooskriszta

Description

This is NOT another call to make Groups CPTs or Custom Taxonomies (though that might be a good idea).

This is a request to register the PAGES that list groups, list users, show group profile, show user profile, etc. as separate CPTs so that they can be treated differently from regular pages on the site in terms of SEO, theme, multilingual, etc.

e.g. If I want to assign WordPress SEO (Yoast) to set a group profile page Title as
Group Name - Site Name, I can't really do that at the moment because WPSEO needs to rely on the instructions I have provided for Pages (which might be %title% - %blogname% - %blogdesc% for instance). Related problem - BuddyPress does not assign User's name, Group's name etc. as page title #5800

Change History (7)

#1 @r-a-y
5 years ago

While it would be possible to do now, when we make our eventual move over to rewrite rules instead of using pages, this will not work at all.

#2 @sooskriszta
5 years ago

In that case we should have some hooks that SEO plugins such as Yoast can utilize in order to set the title and meta fields of BuddyPress "pages"

#3 follow-up: @r-a-y
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

We already hook on the 'wp_title' filter to modify the page title.

It's possible for plugin devs to do the same. I'm going to mark this as "wontfix", but feel free to ask other questions if you have any.

Last edited 5 years ago by r-a-y (previous) (diff)

#4 in reply to: ↑ 3 @sooskriszta
5 years ago

Replying to r-a-y:

We already hook on the 'wp_title' filter to modify the page title.

Yeah, but that's practically useless for the reasons described in the OP. We need something that distinguishes different types of BuddyPress pages so that they can be treated differently from normal WordPress pages.

#5 follow-up: @r-a-y
5 years ago

Basically, you want a settings page in order to set various SEO tags for BuddyPress pages. (See #1892.)

The default BuddyPress page titles are less than optimal I give you that. But, until the team prioritizes what tickets to tackle for each release, this won't get any attention unless another contributor writes up a preliminary patch that we can review and iterate on.

In the meantime, #5800 can be looked at as that is a legitimate bug.

#6 in reply to: ↑ 5 @sooskriszta
5 years ago

Replying to r-a-y:

Basically, you want a settings page in order to set various SEO tags for BuddyPress pages. (See #1892.)

Yes and no. I want those settings. But I don't want core team to cook that up. I want SEO plugins to be able to do that. At the moment, the settings I choose for normal WordPress pages are applied to BuddyPress pages as well by Yoast because BuddyPress pages are not identified as different.

#7 @r-a-y
5 years ago

Like I mentioned in comment:1, once we move to rewrite rules, any WordPress SEO plugin will not work with BuddyPress as BP pages will no longer be attached to a WordPress page.

A specialized BuddyPress SEO plugin would need to be created.

Last edited 5 years ago by r-a-y (previous) (diff)
Note: See TracTickets for help on using tickets.