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

    (@shamim51)

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

    add_filter('fep_menu_buttons', function( $menu ){
    	$menu['cus-my-profile'] = array(
    		'title'		=> __( 'My Profile', 'front-end-pm' ),
    		'url'		=> 'https://www.mysite.com/profile',
    		'priority'	=> 11,
    		);
    	return $menu;
    });
    
    Thread Starter calle81

    (@calle81)

    Thanks for the reply.

    I tried to enter the code, the button is correctly added and the correct label, but the link does not work. It stays on the same page when I click on the button.

    Thread Starter calle81

    (@calle81)

    Sorry, it works perfectly.

    Thanks ????

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add a button in menù’ is closed to new replies.