default website url format not working..
-
hi,
to get the website url for every registered member of my blog in a same format i have made some change in user-edit.php. the change is like this…
<th><label for="url"><?php _e('Website') ?></label></th> <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url.'myblog.com/'.$profileuser->user_login ?>" disabled="disabled" </br>
so whenever a new user gets registered in my blog the website url in his profile field automatically becomes:
https://myblog.com/user_login_name
and it is unchangable. i have done this as because this is the profile page url format for individual registered user in my blog and i want to force them to use their own profile page url in their respective website field.
after doing this i have tried with both comment_author_link and comment_author_url_link in my theme’s comments.php file. but none of them generating the changed url. comment_author_link only showing the name of the user without any link. and comment_author_url_link only providing
https://
. it means the change i have made in user_edit.php is not working in the comment section linking at all.i m surely making mistakes somewhere but dont know exactly where it is.
can anyone plz help me out of this situation??looking forward to u guys….
- The topic ‘default website url format not working..’ is closed to new replies.