WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Skeleton Component
Domain of subnav items (1 post)

  1. Nicolas Crocfer
    Member
    Posted 1 year ago #

    Hello,

    First of all, thank you for this plugin, it helped me amply for the realization of mine :)

    Just to point out that we must change the key 'parent_url' in setup_nav() function because it points to the domain of ​​the logged in user, not the displayed user.

    In file bp-example-loader.php, at line 103, we must change :
    $example_link = trailingslashit( bp_loggedin_user_domain() . bp_get_example_slug() );
    to
    $example_link = trailingslashit( bp_displayed_user_domain() . bp_get_example_slug() );

    http://wordpress.org/extend/plugins/buddypress-skeleton-component/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by Nicolas Crocfer
  • This topic is not resolved
  • WordPress version: 3.4.1