Reply To: Add Link to a Business Listing


Home Forums Front End PM PRO Add Link to a Business Listing Reply To: Add Link to a Business Listing

#9610
shamim
Keymaster

Please add following code in your theme’s (child theme’s if any) functions.php


add_action( 'fep_display_after_message', function(){
	echo '<a href="' . esc_url( home_url( 'business-directory/' ) ). get_the_author_meta('user_nicename') . '">' . get_the_author_meta('display_name') . '</a>';
});

It will add a link to user’s business directory in bottom of every message.