I need to be able to write custom page titles and meta descriptions for each group page on my site (users will not be allowed to create the groups). Is there a way I could create a custom field or something that would insert into the <title> and meta description tags?
OR I figure instead of creating Groups and finding a way to add this functionality, perhaps I could create Pages and then loop in Group functionality. So the page can be managed as a page on the admin side, but function as a group on the user-side. Would that be possible?
I’m not sure what solution would be easiest and best to implement. Any guidance or ideas would be greatly appreciated. I am running WordPress Version 4.1, BuddyPress Version 2.1.1. The site is http://www.hometownracer.com (Groups are called Tracks throughout the site).
For the actual overriding of the page title and meta tags, you’ll need, hook into 'wp_head' action and write your tags for meta. For page title, you’ll need to override the 'wp_title' or 'wp_title_parts' filter.
If you need frontend management, I would probably write the SEO data into the groupmeta DB table. Write a group extension plugin so a group admin can input the title and meta description.