Tag Info

New answers tagged

4

update_option( $name, $side_ad ); Your issue here is that update_option stores the value in the options table of the site. However you're on a multisite, and your install contains multiple sites/blogs, each with their own options tables. As a result, editing a user on blog/site A will not change the option on blog/site B, in the same way that painting a ...


1

Your code does work. It's just that you are declaring $xfield_args after you have made the call xprofile_insert_field( $xfield_args ); it should look like this add_action('bp_init', 'field_xprofile_twitter'); function field_xprofile_twitter() { global $bp; $xfield_args = array ( field_group_id => 1, name => ...


0

I just wanted to clarify that the code will not work for localized versions of WordPress, because of the hardcoded Personal Options string. I cannot think of any easy solution here, but suggestions are welcome. I would have added this as a comment, but I haven't got enough reputation to add a comment. I also take this opportunity to re-paste the whole code ...



Top 50 recent answers are included