Reverse inline messages


Home Forums Front End PM PRO Reverse inline messages

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

    Hello,

    Is there a way to reverse the listing so that the newest answer within a thread and reply-box is at the top (or toggle the reply-box through a button, i.e. ‘reply’)?

    #26200
    Shamim Hasan
    Keymaster

    To reverse add following code in your child theme’s functions.php

    add_filter( 'fep_filter_get_message_with_replies', function( $args ){
        $args['order'] = 'DESC';
        return $args;
    });
    

    To show reply form at top you will need to override view-message.php template. Instruction in https://www.shamimsplugins.com/docs/front-end-pm/customization/change-templates-2/

    OR you can add a button to jump to reply form. add <a href="#fep-content-single-reply-form">Reply</a> where you want to show that button.

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.