new_message_form


Home Forums Front End PM PRO new_message_form

This topic is: Resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10221
    damian
    Participant

    Could you advise on the following (image attached)

    1) How do hide or change to the text ‘CONTACT
    2) Hide the subject box from the user but keep a subject title in the short code which will enable the user to
    identify which page the message came from
    3) Change the text on the ‘SEND MESSAGE’ button

    Thanks for your help
    Damian

    Attachments:
    You must be logged in to view attached files.
    #10224
    damian
    Participant

    apologies, incorrect image – new one attached

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

    1. You can pass heading to shortcode. So shortcode will be like [fep_shortcode_new_message_form heading="Anything"]
    2. You can add #message_title{display:none;} in Front End PM PRO > Settings > General > Custom CSS
    3. To change text add following code in your theme’s (child theme’s if any) functions.php

    
    add_filter( 'fep_form_submit_button', function( $button, $where){
    if( shortcode-newmessage == $where ){
        $button = '<button type="submit" class="fep-button" name="fep_action" value="'. esc_attr( $where ) .'">YOUR TEXT HERE</button>';
    }
    return $button;
    }, 10, 2);
    
    #10234
    damian
    Participant

    that’s great cheers

    How do i get rid of or change the:
    subject*
    message*

    text that is left?

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

    You can add .fep-label{display:none;} in Front End PM PRO > Settings > General > Custom CSS

Viewing 5 posts - 1 through 5 (of 5 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.