bbPress : A new profile short code.
-
Hello,
– bbPress Version : 2.3.2
– WordPress Version : 3.5.2
– PHP/MySQL Version : PHP 5.3/MySQL 5.1
– Theme : Twenty Twelve (modified)
– website adress : local (127.0.0.1/etc …)I just discovered this extension by mordauk and I made some changes on it to display on a page WordPress, the profile page from bbPress.
In includes/common/shortcodes.php :
<em>/*line 92 :*/</em> 'bbp-profile-edit' => array( $this, 'display_profile_edit' ), // User Profile <em>/*lines 747 to 762 :*/</em> public function display_profile_edit() { // Unset globals $this->unset_globals(); // Start output buffer $this->start( 'bbp_profile_edit' ); // Output templates if ( is_user_logged_in() ) bbp_get_template_part( 'content', 'single-user' ); // Return contents of output buffer return $this->end(); }
My problem is that the profile page is displayed correctly, but none of the links work.
Someone has an idea to solve this ?Thanks
- You must be logged in to reply to this topic.