Title: Filter
Last modified: August 21, 2016

---

# Filter

 *  [ddjjmm](https://wordpress.org/support/users/ddjjmm/)
 * (@ddjjmm)
 * [12 years ago](https://wordpress.org/support/topic/filter-7/)
 * Nice plugin dude! Really like it!
 * I want to integrate things like “New Message” etc. inside my one sidebar menu.
   Are there any hooks to display this?
 * [https://wordpress.org/plugins/front-end-pm/](https://wordpress.org/plugins/front-end-pm/)

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

 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [12 years ago](https://wordpress.org/support/topic/filter-7/#post-4969219)
 * You can use sidebar widget of this plugin or link in menu.
    if you want to link“
   New Message” you can add [http://example.com/SLUG-OF-FEP-PAGE/?fepaction=newmessage](http://example.com/SLUG-OF-FEP-PAGE/?fepaction=newmessage)
   in your menu link.
 * If you want in template add
 *     ```
       <a href="'.get_bloginfo("wpurl").'/SLUG-OF-FEP-PAGE/?fepaction=newmessage">New Message</a>
       ```
   
 * Change SLUG-OF-FEP-PAGE with your Front End PM page slug
 *  Thread Starter [ddjjmm](https://wordpress.org/support/users/ddjjmm/)
 * (@ddjjmm)
 * [12 years ago](https://wordpress.org/support/topic/filter-7/#post-4969285)
 * Yeah i know but I have to include your system into an self developed sidebar 
   menu.
 * Of course with your code I can add a message link. But What I want is to include
   a status link where I will get a hightlight like “(1)” if there are unread messages.
   In fact i want to print out the number of unread messages.
 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [12 years ago](https://wordpress.org/support/topic/filter-7/#post-4969294)
 * have you tried widgets of this plugin?
 *  Thread Starter [ddjjmm](https://wordpress.org/support/users/ddjjmm/)
 * (@ddjjmm)
 * [12 years ago](https://wordpress.org/support/topic/filter-7/#post-4969296)
 * of course but they are improper for my case.
 * Wondering why you didn’t implement some functions to get new message count etc.
   which is a basic idea in my opinion.
 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [12 years ago](https://wordpress.org/support/topic/filter-7/#post-4969298)
 * All needed functions are there in fep-class.php
 * if you want new message count in anywhere add following code
 *     ```
       $fep = new clFEPm();
       $newMgs = $fep->getNewMsgs();
       ```
   
 * Now add $newMgs where you want count.
 *  [soelver](https://wordpress.org/support/users/soelver/)
 * (@soelver)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/filter-7/#post-4969438)
 * Could you explain more in detail, how to get a link in a menu, for example just
   saying: “Messages(1)” if there’s one new message, or “Messages” if there’s no
   new messages?
 * I have no idea where to put this code you’re providing above 🙂

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

The topic ‘Filter’ 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/)

## Tags

 * [pm](https://wordpress.org/support/topic-tag/pm/)

 * 6 replies
 * 3 participants
 * Last reply from: [soelver](https://wordpress.org/support/users/soelver/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/filter-7/#post-4969438)
 * Status: not resolved