Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Support: Requests & Feedback

Feature requests; criticism.

No Title of Each Posts and Pages (28 posts)

Started 1 year, 9 months ago by: Mikey3D

  • Profile picture of Mikey3D Mikey3D said 1 year, 9 months ago:

    There’re no title headline of posts and pages.

    Ex: Post:
    URL: mysite.com/hello-world/
    Title tag: My blog | Home
    It should be Hello world! | My blog

    Ex: Page:
    URL: mysite.com/about/
    Title tag: My blog | Home
    It should be About | My blog

    Why is that BuddyPress mess up the title?

    WordPress 3.0.1
    BuddyPress: Version 1.2.5.2
    Theme: BuddyPress Default 1.2.5.2

    Thanks, Mikey3D

  • Profile picture of modemlooper modemlooper said 1 year, 9 months ago:

    I suggest you install the SEO buddypress plugin. It’s gives you control over the titles.

  • Profile picture of Mikey3D Mikey3D said 1 year, 9 months ago:

    “I suggest you install the SEO buddypress plugin. It’s gives you control over the titles.”

    I knew you would say that but I don’t want plugin SEO BuddyPress. It has to be in core BuddyPress or function. WordPress does fine with titles. I don’t want to bother the contributors to do SEO title.

    How BuddyPress can miss the most important thing the title? Is there other solution?

  • Profile picture of Builder Builder said 1 year, 9 months ago:

    Yes it would be great if title and meta description were possible to tweak in BP just like in WP, so many options there. E.g. in WP there’s no need for All in one seo plugin in WP for adding meta description in posts because excerpt for feeds can be used in the head of a theme. If it’s not in the BP core, who knows what a plugin developer will do tomorrow, upgrade the plugin or not it’s entirely up to them. The “SEO buddypress plugin” wasn’t upgraded a while back and it didn’t work 100%, people needed to use it together with the WP plugin so the installation worked also with pages in this title/description sense. I think if this was only a little more friendlier in BP it would become such a huge help. Maybe all this is in the BP code and can be simply placed in the head of any BP theme file like in WP installations (I wouldn’t be surprised if it was already there if the plugin exists) … but where to look? This is the major why I might not install in the root due to main pages and posts can not be nicely SEOed.

  • Profile picture of Builder Builder said 1 year, 9 months ago:

    In BP function reference list I have just found bp_group_description and bp_group_description_excerpt , maybe there is even more useful stuff (does anyone know more about this?). I’ll play with these two today.

    *Edit: Does anyone know; HOW could this be used in a function, and are there any more of such useful for adding SEO mainly in head title and meta description (for example taking first 160 characters from a first paragraph of a forum post and adding these to meta description in head template in the theme)?:
    function my_bp_title_tag( $title )

  • Profile picture of Mikey3D Mikey3D said 1 year, 9 months ago:

    Every new posts and pages are going to be exactly the same titles. If you have hundreds or millions pages it will look like this “My blog | Home” in every search engines, bookmarks and browsers…

    Why?

  • Profile picture of Builder Builder said 1 year, 9 months ago:

    I found this fresh discussion very helpful:
    http://premium.wpmudev.org/forums/topic/any-real-seo-options-for-a-mubuddypressbbpress-installation

  • Profile picture of Mikey3D Mikey3D said 1 year, 9 months ago:

    When I have installed WordPress 3.0.1 and I clicked the “Hello world!” post and the title tag is fine like…

    Hello world! | My blog

    When I have installed BuddyPress 1.2.5.2 and I clicked the “Hello world!” post and the title tag is WRONG like…

    My blog | Home

    Who is the responsible the core of BuddyPress title tag that has no headlines every posts and pages? Did Matt Mullenweg know that your BuddyPress altered the title tags of WordPress?

  • Profile picture of Mikey3D Mikey3D said 1 year, 9 months ago:

    Please, I need to get this done now.

  • Profile picture of Mikey3D Mikey3D said 1 year, 9 months ago:

    I have been waiting 24hrs to get this sort out.

  • Profile picture of Roger Coathup Roger Coathup said 1 year, 9 months ago:

    You should have signed up for the 24 hour priority support plan – drop @apeatling a line and ask him to upgrade you.

    You can change the structure of the page title by implementing your own version of the function: bp_page_title(), or by implementing a filter on bp_page_title. ( You’ll find these functions in bp-core-templatetags.php)

    Put your modified function (or filter) in your bp_custom.php file

    If you go the modified function route, remember to update your header.php in your bespoke theme to call the modified function instead of the core bp_page_title().

    You might also want to suggest a change request for a future version of BuddyPress to output title in a more SEO friendly way by default.

    If you have any problems with filters, bp_custom.php, or writing your own bespoke theme, you will find plenty of support threads in these forums

  • Profile picture of Mikey3D Mikey3D said 1 year, 9 months ago:

    Thanks for helping, Roger,

    What is the code for bp_custom.php file or function.php file that will works as WordPress title?

    WordPress title for “Hello world!” is…

    Hello world! | My blog

    BuddyPress title for “Hello world!” is…

    My blog | Home

    How could anyone possible use BuddyPress plugin for WordPress without having a headline for title of each their own posts and pages? What is so wrong about this simple problem?

  • Profile picture of Mikey3D Mikey3D said 1 year, 9 months ago:

    Would you be happy that I use BuddyPress without headline title posts and pages? It’s after midnight, I’m going to bed. Who knows what will tomorrow bring.

  • Profile picture of Roger Coathup Roger Coathup said 1 year, 9 months ago:

    Have a look at the bp_page_title() function I pointed you to in bp_core_templatetags.php.

    That shows how the title string is built – you’ll have to rework that code in your own function (in bp-custom.php) to build the string in the order you want it.

  • Profile picture of Mikey3D Mikey3D said 1 year, 9 months ago:

    I put the code in bp-custom.php from between line 896 to 950 in bp_core_templatetags.php and I get an error…

    Fatal error: Cannot redeclare bp_page_title() (previously declared in /path-to/wp-content/plugins/bp-custom.php:3) in /path-to/wp-content/plugins/buddypress/bp-core/bp-core-templatetags.php on line 898.

    Here’s the code I put in bp_custum.php:

    function bp_page_title() {

    //CUSTOM CODE FROM BP_CORE_TEMPLATETAGS,PHP
    //between line 893 to 948

    return apply_filters( ‘bp_page_title’, $blog_title . ‘ | ‘ . esc_attr( $title ), esc_attr( $title ) );
    }

    How would I code what I want but the default one doesn’t work to begin itself with no headline title of posts and pages?

    Thanks for helping, Mikey3D