Title: fep widgets
Last modified: August 24, 2016

---

# fep widgets

 *  Resolved [Cirinu](https://wordpress.org/support/users/cirinu/)
 * (@cirinu)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fep-widgets/)
 * hi. wasn’t fep widgets supposed to show only for logged in users?
 * in my site, it is not.
 * widgets are showing even when user is not logged.
 * [https://wordpress.org/plugins/front-end-pm/](https://wordpress.org/plugins/front-end-pm/)

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

 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fep-widgets/#post-5984845)
 * open fep-widgets.php
 * after
 *     ```
       function register_fep_menu_widget() {
       ```
   
 *     ```
       function register_fep_text_widget() {
       ```
   
 * and
 *     ```
       function register_fep_empty_widget() {
       ```
   
 * Add
 *     ```
       if ( is_user_logged_in() )
       ```
   
 * add after all three of those functions
 *  Thread Starter [Cirinu](https://wordpress.org/support/users/cirinu/)
 * (@cirinu)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fep-widgets/#post-5985003)
 * thanks. is this going to be implemented on the next update or it’s just a workaround?
 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fep-widgets/#post-5985006)
 * What do you think? Which one will be better? Not to show any widget when not 
   logged in or show a message eg. “Log in to see your message”.?
 *  Thread Starter [Cirinu](https://wordpress.org/support/users/cirinu/)
 * (@cirinu)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fep-widgets/#post-5985063)
 * For me, not show is the best. Because it is just a widget. So it is in a page
   that contain it’s main content. Possibly already have the login to view stuff
   or, in my case, it is a login and register page.
 * If it was a page the only displayed the messages, i think the second option would
   be best.
 * thanks and great job with the plugin.

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

The topic ‘fep widgets’ is closed to new replies.

 * ![](https://ps.w.org/front-end-pm/assets/icon-256x256.gif?rev=2309447)
 * [Front End PM](https://wordpress.org/plugins/front-end-pm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-pm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-pm/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-pm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-pm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-pm/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Cirinu](https://wordpress.org/support/users/cirinu/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/fep-widgets/#post-5985063)
 * Status: resolved