Reposition the widget sidebar in Appearance->Widgets

There will be a code inside your theme’s functions.php file which registers the sidebars for you. You need to find it and rearrange the sidebars the way you want. Open the functions.php file and search for register_sidebar. The sidebars are registered as an array inside this function.

Trying to list user and post information from (wp_includes/post.php ) causes Fatal error

Please revert your WP core file and create a plugin instead. For this type of functionality, you can use the Publish Post hook. Assuming your custom table is in the same database as WordPress, and you want to save the email address of the current user: add_action(‘publish_post’, ‘update_my_custom_table’); function update_my_custom_table() { $current_user = wp_get_current_user(); $email … Read more

Show a list of user posts in the user admin page

You can use edit_user_profile (when viewing other user profiles) and show_user_profile (when viewing your own profile) actions to add information on profile page. So to have there the list of posts of the selected user you could add to your functions.php: function show_user_posts_on_profile( $user ) { $args = array( ‘author’ => $user->ID ); $user_posts = … Read more