Title: Front End Notification
Last modified: August 21, 2016

---

# Front End Notification

 *  Resolved [seyntjim](https://wordpress.org/support/users/seyntjim/)
 * (@seyntjim)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/front-end-notification/)
 * Hi,
 * First of all thank you for this wonderful plugin. I have just one question. Is
   there any way we can add notification on wordpress not just by email? I mean 
   users can also be notified on the main website whenever someone PM them. Thank
   you.
 * [https://wordpress.org/plugins/front-end-pm/](https://wordpress.org/plugins/front-end-pm/)

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/front-end-notification/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/front-end-notification/page/2/?output_format=md)

 *  [dsgregorio](https://wordpress.org/support/users/dsgregorio/)
 * (@dsgregorio)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943261)
 * i was trying to do this by adding the number of new messages somewhere in the
   page i want.
 * i tried to edit the fep-class.php and add a add_shortcode(‘numeromsg’, ‘getNewMsgs_btn’);
 * But my lack of knoledge in php resulted only in errors…
 * I would be very glad if author could provide this for us.
 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943298)
 * There are two types of widget. You can use any one in your sidebar or wherever
   you like. When there is new message it will show the number of new message beside
   inbox/announcement.
 *  [eligreen.garcia](https://wordpress.org/support/users/eligreengarcia/)
 * (@eligreengarcia)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943480)
 * how can display only the number?
 *  [LeadGuitarMx](https://wordpress.org/support/users/leadguitar/)
 * (@leadguitar)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943481)
 * I wanna do that too, display only the number of new messages 🙂
 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943482)
 *     ```
       $fep = new fep_main_class();
       $numNew = $fep->getNewMsgs();
       ```
   
 * Now use $numNew where u want to show only number of new message.
 *  [LeadGuitarMx](https://wordpress.org/support/users/leadguitar/)
 * (@leadguitar)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943483)
 * Perfect!.. thanks so much 🙂
 *  [rhowal](https://wordpress.org/support/users/rhowal/)
 * (@rhowal)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943504)
 * Hello all, I need configurations to the Front End Pm. I am willing to pay someone
   for their help.
    Thanks Rhonda Waldron [rhowal2014@gmail.com](https://wordpress.org/support/topic/front-end-notification/rhowal2014@gmail.com?output_format=md)
 *  [Estellka](https://wordpress.org/support/users/estellka/)
 * (@estellka)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943506)
 * Hello,
    I would like to know if it’s possible to put a visual effect on the blog
   when the user have a new PM. something that let the user know that he has a new
   PM and he has to check his inbox.
 * thank you for your answers.
 *  [VP](https://wordpress.org/support/users/studio500/)
 * (@studio500)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943507)
 * The two notification widgets have no style or edit options and can look a little
   ugly.
    For example the text widget has no way of removing the title or the divider
   line and the button widget has no way of changing the button colours.
 * This is a superb plugin but would be even better if the notifications were more
   adaptable or even had a small pop up alert or something.
 *  [Estellka](https://wordpress.org/support/users/estellka/)
 * (@estellka)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943508)
 * And is it possible to enter it in the .php document? does someone knows how to
   do that?
 *  [LeadGuitarMx](https://wordpress.org/support/users/leadguitar/)
 * (@leadguitar)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943509)
 * Hi @Estelika, I think you can do that with something like:
 *     ```
       $fep = new fep_main_class();
       $numNew = $fep->getNewMsgs();
       if ($numNew != 0) { echo"<script>alert('Hey! you have a new private message'); </script>"; }
       ```
   
 * That is an ugly example, you can do some thing much better with jQuery and CSS3(
   and ajax if you want).
 * Good luck and Best Regards!!
 *  [akyboy](https://wordpress.org/support/users/akyboy/)
 * (@akyboy)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943510)
 * [@leadguitar](https://wordpress.org/support/users/leadguitar/)
 * Where do you put this code? And how the output looks like? Is it like a popup
   message or something?
 *  [LeadGuitarMx](https://wordpress.org/support/users/leadguitar/)
 * (@leadguitar)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943511)
 * That is a javascript alert.
 * You can put that after the “body” tag of your header.php
 * Another example:
 *     ```
       $fep = new fep_main_class();
       $numNew = $fep->getNewMsgs();
       if ($numNew != 0) { echo'<div style="width:100%;padding:10px;border-radius:5px;border:1px solid #666;background:yellow">You have one new private message</div>'; }
       ```
   
 * You can edit the css and do something much better, good luck!
 *  [akyboy](https://wordpress.org/support/users/akyboy/)
 * (@akyboy)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943512)
 * Wow thanks my man!!
 * got it like this now:
 *     ```
       $fep = new fep_main_class();
       $numNew = $fep->getNewMsgs();
       if ($numNew != 0) { echo'<center><div style="width:30%; font-weight: bold;font-size: 20px;padding:10px;border-radius:5px;border:1px solid #fff;background:red"><a href=http://www.yoursite.org/office/>You have new private message!</a></div></center>'; }
       ```
   
 *  [akyboy](https://wordpress.org/support/users/akyboy/)
 * (@akyboy)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/front-end-notification/#post-4943513)
 * [@leadguitar](https://wordpress.org/support/users/leadguitar/)
 * Hmm,.. i did try your java popup , but, i get popup before page loads, i have
   to click OK to be bale to see page
 * Is it supposed to be like that

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/front-end-notification/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/front-end-notification/page/2/?output_format=md)

The topic ‘Front End Notification’ 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/)

 * 21 replies
 * 11 participants
 * Last reply from: [robint](https://wordpress.org/support/users/robint/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/front-end-notification/page/2/#post-4943528)
 * Status: resolved