Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

  • Profile
  • Topics Started
  • Replies Created
  • Favorites

Forum Replies Created

  • 10 years, 6 months ago craftygeek
    Participant

    Expired

    in reply to: BBpress User Profile Pages

    I’ve managed to come up with a workaround for the page title issue – this can be easily adapted by anyone using Yoast SEO.

    Put this in your functions.php file

    Edit the $title to whatever you want & set /discussion/users/ to your forum user profile path without the username.

    function change_yoast_page_titles($title) {

    // bbpress user profile
    if(strstr($_SERVER[‘REQUEST_URI’],’/discussion/users/’)){
    $title = ‘User Profile | ‘ . get_bloginfo(‘name’);
    }
    return $title;
    }

    add_filter(‘wpseo_title’,’change_yoast_page_titles’,100);

    10 years, 6 months ago craftygeek
    Participant

    Expired

    in reply to: BBpress User Profile Pages

    Thanks for that.

    It doesn’t help the remaining issue that I have – page title for user profile not working…I guess i’ll have to try & find a work around.

    BTW – you have stated that you will add support for BBpress previously…
    https://support.codeless.co/forums/topic/bbpress-layout/

Viewing 2 posts - 1 through 2 (of 2 total)

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password