Quick Q – link to a website
-
Build a plugin to allow groups to display and link back to their website, problem is I can only get it to direct to http://localhost/wordpress/groups/example-group/www.example-group.com and not to http://www.example-group.com .
I’ve tried numerous approaches but cant come right? Should be simple but think I’m overlooking something silly..
show web address for an individual group:
function gwebsite_make_website_for_group() {
global $bp, $wpdb, $gwebsite_args;$link = gwebsite_get_group_website();
$group_website = ' '.gwebsite_get_group_website().' ' ;return $group_website;
}Edit: the code displays funky on the forum..
Here’s the entire plugin: http://pastebin.com/57GtMkbd
- The topic ‘Quick Q – link to a website’ is closed to new replies.