Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,952
- How-to & Troubleshooting
- 129,225
- Creating & Extending
- 25,784
- Requests & Feedback
- 9,473
- Third Party Plugins
- 9,782
- Showcase
- 3,317
- Ideas
- 1,401
- Miscellaneous
- 9,164
-
This also does not work…:
function autoblogname() {
$blogname = preg_replace('/[^a-z0-9]/i', '', str_replace(' ', '', strtolower(wp_specialchars($blog_title, 1))));
return $blogname;
}
...
echo '<input name="blog_title" type="text" id="blog_title" value="'.wp_specialchars($blog_title, 1).'" maxlength="24" /></p>';
?>
<input name="blogname" type="text" id="blogname" value="<? $blogname = autoblogname(); ?>" />
Help!
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS