Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Really Simple – Adding Link to theme – Need Help


kennibc
Participant

@kennibc

THANK YOU JAMES!

It got me very close to what was missing. Here is the proper code (I assume since it works)

<?php	global $bp; ?>
<a href="<?php echo $bp->loggedin_user->domain; ?>blogs/create-a-blog">
<img src="<?php bloginfo('template_url'); ?>/images/createblog.png" alt="Create a Blog" hspace="4" align="right" />
</a>

I had to add the global and get the $bp. Then the call for loggedin_user->domain did the trick with the hard code path following it.

Thanks James. You got me going in the proper direction. Hopefully others will find this useful when modifying/creating BP templates.

Skip to toolbar