Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,008
- How-to & Troubleshooting
- 129,532
- Creating & Extending
- 25,786
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,169
-
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