Search Results for '+.+default+.+'
-
Search Results
-
Topic: User Profiles
I’m trying to figure out a few things – I’ve done a search and read through a couple dozen or so items without much luck.
I’d like to incorporate some more info into the bbPress user profiles – I know I can probably do this using the $curauth params but want to make sure. I also want to make authors/contributors/etc link to the bbPress profiles as well. Is there a quick piece of code I can use to do this within my WordPress theme files?
I have this function to return an author profile page when the name is clicked on:
function new_comment_author_profile_link(){ /* Get the comment author information */ global $comment; $comment_ID = $comment->user_id; $author = get_comment_author( $comment_ID ); $url = get_comment_author_url( $comment_ID ); /* Return the default WordPress comment author link if comment author is not a registered user */ if ($comment_ID == 0){ if ( empty( $url ) || 'http://' == $url ) $return = $author; else $return = "<a href='$url' rel='' class='author-url'>$author</a>"; } else { /* Return the link to the comment author's profile page if otherwise */ $return = '<a href="'.home_url().'/?author='.$comment_ID.'">'.$author.'</a>'; } return $return; }Can I plug in some line/piece of code to direct it to the bbPress profile instead? If so, what piece?
Wordpress & bbPress are latest versions – website is http://www.novasev.com
Appreciate the feedback.Hey guys, i would like to change my theme on bbpress, but everytime i follow the guides it doesnt seem to work.
I created a folder with my theme in wp-content/themes/*my theme*/and then copied the bbpress folder from the default folder into here as well.
but it keeps saying my template is missing in the themes section of my dashboard.Topic: Buddypress child theme
Something is wrong when you try to use child theme.
I am using child theme of Buddypress default theme. I have:
plugin-bbpress.php in both folders (parent and child)
bbpress.php in both folders
and still I don’t have correct template.I have id=”content” and id=”content-wide” in my theme, depends do I have 1 or 2 sidebars on that page. I’ve searched&replaced id=”content” in my child theme with id=”content-wide” and still on page there is id=”content”. I am guessing it loads some template from parent folder somehow.
Somebody has any idea what’s a problem here?
Thanks