WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Links
[resolved] wp_title on single link (5 posts)

  1. Frettsy
    Member
    Posted 1 year ago #

    I would like to set the wp_title on single links to use the link's title. How can this be done, especially in a way compatible with something like Yoast SEO? Thanks for the great plugin!

    http://wordpress.org/extend/plugins/buddypress-links/

  2. MrMaz
    Member
    Plugin Author

    Posted 1 year ago #

    This didn't used to be possible with older versions of BuddyPress. I will check to see if I can get it working with 1.7

  3. MrMaz
    Member
    Plugin Author

    Posted 1 year ago #

    I just did some digging, and while I did find an issue with the main links directory page title, the wp_title for a single link page already works.

    Its handled internally by BuddyPress with the "bp_modify_page_title" filter.

    I hope this helps you out!

  4. Frettsy
    Member
    Posted 1 year ago #

    Hi MrMaz, thanks so much for your reply. So I just need to hook into the "bp_modify_page_title" filter? Is there a specific action you would recommend hooking into? Thanks again!

  5. MrMaz
    Member
    Plugin Author

    Posted 1 year ago #

    BuddyPress 1.7.x already uses wp_title() to generate the title (in the default theme). It customizes the title with the bp_modify_page_title() filter which is hooked into wp_title.

    On my dev box the single link page already has the link title for the page title (BP default theme).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags