Title: Customize widget HTML
Last modified: January 5, 2017

---

# Customize widget HTML

 *  Resolved [Dave](https://wordpress.org/support/users/5point/)
 * (@5point)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/customize-widget-html/)
 * Chad, thanks for the plugin.
 * I looked through some of your docs, and likely me just being lazy, but didn’t
   see any info on customizing the log-in widget. Specifically I want to either 
   remove “You are logged in as…” and “You are not logged in” or customize these
   phrases.
 * I was able to track down multiple entries for “You are logged in as” within class-
   wp-members.php. Could you provide some guidance how to manipulate these, I’m 
   assuming via the theme functions.php?
 * Dave.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [Dave](https://wordpress.org/support/users/5point/)
 * (@5point)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/customize-widget-html/#post-8622783)
 * I’m not beyond trying to figure stuff out on my own.
 * Just need confirmation this is the best method to remove the status message from
   a Login Widget:
 *     ```
       // WP-MEMBERS LOGIN-IN WIDGET
        add_filter( 'wpmem_sb_login_args', 'my_sidebar_args' );
   
        function my_sidebar_args( $args ) {
            /**
             * Change status message
             */
            $args = array(
                'status_msg' => '',
            );
   
            return $args;
        }
       ```
   
 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/customize-widget-html/#post-8623420)
 * Yes, that would remove the status message “you are not logged in”. You’d need
   to use [wpmem_sidebar_status_args](http://rocketgeek.com/plugins/wp-members/docs/filter-hooks/wpmem_sidebar_status_args/)
   to filter the logged in state (similar process but the array key is ‘status_text’).
 * With the example you have (which I assume was taken from the documentation for
   [wpmem_sb_login_args](http://rocketgeek.com/plugins/wp-members/docs/filter-hooks/wpmem_sb_login_args/)),
   it would probably be better to do this:
 *     ```
       add_filter( 'wpmem_sb_login_args', 'my_sidebar_args' );
       function my_sidebar_args( $args ) {
       	$args['status_msg'] = '';
       	return $args;
       }
       ```
   
 * (I updated the documentation to reflect this as the example.)
 *  Thread Starter [Dave](https://wordpress.org/support/users/5point/)
 * (@5point)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/customize-widget-html/#post-8652556)
 * Thanks that also worked.
 * Does WP Members support forum logins? If I wanted to integrate bbpress for example,
   can I use WP Members to also restrict access to specific forums?
 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/customize-widget-html/#post-8656754)
 * It can integrate with bbPress, but it won’t natively restrict the forum itself.
   You can either set the forums as private within bbPress, or the plugin’s [Advanced Options extension](http://rocketgeek.com/plugins/wp-members/extensions/advanced-options/)
   that is available to premium support subscribers can be used to redirect the 
   forums to the WP-Members login page if the user is not logged in.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Customize widget HTML’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/customize-widget-html/#post-8656754)
 * Status: resolved