Skip to:
Content
Pages
Categories
Search
Top
Bottom

Titles for bp_core_new_nav_item


  • Jonathan
    Member

    @hostprofile

    We’re creating a few new navigation and sub-navigation items using bp_core_new_nav_item and noticed that dashes are being added to the title tag and need to find a way to prevent the dashes from being used.

    This is what we’re using right now:


    bp_core_new_nav_item( array(
    'name' => __('Hosting Plans', 'buddypress'),
    'slug' => 'hosting-plans',
    'screen_function' => 'my_profile_page_function_to_show_screen',
    'position' => 40
    ) );

    And in the title tag it’s showing: Member Name | Hosting-plans

    Is there a way to force it to show: Member Name | Hosting Plans

Viewing 1 replies (of 1 total)

  • Jonathan
    Member

    @hostprofile

    It seems this happens anytime we use 2 words for the name of the navigation item and from the documentation, it doesn’t look like there’s a way to force separation of the words without a dash and dropping the case.

Viewing 1 replies (of 1 total)
  • The topic ‘Titles for bp_core_new_nav_item’ is closed to new replies.
Skip to toolbar