• Resolved VR Webs

    (@net4earning)


    i’m using this shortcode to create a msg form, in the subject i want to show name of the curent user insted of the post title how to do that
    [fep_shortcode_new_message_form to=”{current-post-author}” subject=”{current-post-title}” heading=”Contact”]

    thanks in advance

Viewing 1 replies (of 1 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    Then you can add link directly in php code.
    eg.

    <a class="text-link" href="<?php echo fep_query_url('newmessage', array('fep_to' => get_the_author_meta( 'user_nicename' ), 'message_title' => fep_user_name( get_current_user_id() ) ) ); ?>">Send Message</a>
    
Viewing 1 replies (of 1 total)

The topic ‘current user name’ is closed to new replies.