Controlling page title in BuddyPress
You may not have done any BuddyPress testing with Hueman, but I’m in the middle of putting together some support for BBPress and BuddyPress.
The issue I’m having is with page titles. I want to use your heading/subheading feature on my BuddyPress specific pages, however, it isn’t working. More significantly, because of the custom coding for Hueman, page titles are not being displayed correctly on BP pages, much less being able to use your heading/subheading feature. By default, the BP pages are displaying an internal name for the pages, when they should be getting over-ridden by the page titles created for the page in the admin using the post editor (so, by default, it isn’t working correctly).
This is not a huge problem, but I want to troubleshoot it and work it out.
In my child theme, I created a new page-title.php. I managed to get BBPress under control and working correctly (within your coding framework) by adding the following code snippet after the is_page section:
<?php elseif ( is_bbpress() ) : ?> <h2><?php echo alx_page_title(); ?></h2>
I’ve tried various similar things with for BuddyPress but cannot seem to get anywhere with it. Can you help me figure this out?
- The topic ‘Controlling page title in BuddyPress’ is closed to new replies.