Jump to content

All Activity

This stream auto-updates

  1. Earlier
  2. For this mod, the easiest way to display the Meta data on the sidebar of your theme is to use the built-in Meta widget. Once you add the Meta widget to your theme, you can edit it to make the user icon appear. In the current version of Wordpress 6.2, you can edit the following file: \wp-includes\widgets\class-wp-widget-meta.php Search for the following code: <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> This is the beginning of the displayed meta. This code is inside a ul tag. You will want to add the code below after the closing ul tag. Add code: <ul> <li> <?php global $current_user; if ( is_user_logged_in() ): get_currentuserinfo(); echo get_avatar( $current_user->ID, 128 ); endif; ?> </li> </ul>
  3. Welcome to your new Invision Community! Take some time to read through the Getting Started Guide and Administrator Documentation. The Getting Started Guide will walk you through some of the necessary steps to setting up your community. The Administrator Documentation takes you through the details of the capabilities of our platform. Go to the Documentation
  1. Load more activity
×
×
  • Create New...