How to hide the display of "message box size".


Home Forums Front End PM PRO How to hide the display of "message box size".

This topic is: Not Resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12460
    MIYA
    Participant

    Hi,Shamim

    I have two question.

    Q1. I want to hide the display of “message box size”.

    Q2. I want to know how to skip to a specific page when clicking “Unread Message” display.

    Thanks and regards

    MIYA

    Attachments:
    You must be logged in to view attached files.
    #12465
    Shamim Hasan
    Keymaster

    Answer-1: Currently there is no direct class to hide. You can override header.php template to hide that line. Follow https://www.shamimsplugins.com/docs/front-end-pm/customization/change-templates-2/ to change template.
    or wait for next version. I will add a class there so that you can easily hide that line with css.

    Answer-2:
    It will automatically redirect you to message page where you can read that message. Redirect to any other page add following code in your theme’s (child theme’s if any) functions.php (Change YOUR CURRENT MESSAGE PAGE URL and YOUR DESIRE PAGE URL accordingly)

    add_filter( 'fep_header_notification', function( $show ){
        $show = str_replace( 'YOUR CURRENT MESSAGE PAGE URL', 'YOUR DESIRE PAGE URL', $show);
        return $show;
    });
    
Viewing 2 posts - 1 through 2 (of 2 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.