[wp-hackers] Adding static links as a widget

MarvinC marvinc at gmail.com
Thu Jun 24 14:25:50 UTC 2010


Tried the PHP Code Widget
Entered the following:

<?php echo bp_loggedin_user_domain() . '/settings/'; ?>

also tried:

<?php
echo bp_loggedin_user_domain() . '/settings/';
echo bp_loggedin_user_domain() . '/activity/';
echo bp_loggedin_user_domain() . '/social-media/';
?>

No luck as the widget only displays the URL as:
http://domain/members/membername/settings


On Thu, Jun 24, 2010 at 10:20 AM, esmi at quirm dot net <esmi at quirm.net>wrote:

> on 24/06/2010 15:04 Curtis Work said the following:
>
> Yeah you have to grab a plugin that let's you run PHP inside a
>> widget. There is one but I'm on my iPhone.
>>
>
> http://wordpress.org/extend/plugins/php-code-widget/
>
> by any chance?
>
> Mel P. / esmi
> --
> WordPress theme developer
> www.quirm.net
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list