Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Do you use unread messages in inbox? That bar will only show if you have unread messages.
If still not working can you please contact that theme/plugin author if they have any idea why this code is not executing?
Shamim HasanKeymasterYou need to pass
towith that shortcode. Contact that plugin author how can we get dokan buyer user id inside that hook. You can pass that with this shortcode.Shamim HasanKeymasterBy default it searches by user display name. Can you please go to user profile page in Dashboard and see which name it is showing as “Display name publicly as”? Is it same as username?
Shamim HasanKeymasterThank you.
Let me know if you have any question any time.Shamim HasanKeymasterShamim HasanKeymasterYes, shortcode works in PHP as well. In that case use like
echo do_shortcode( '[fep_shortcode_message_to]' );Shamim HasanKeymasteradd following code in your theme’s (child theme’s if you are using) functions.php
add_filter('fep_menu_buttons', function( $menu ){ $menu['announcements']['title'] = sprintf(__('Announcements%s', 'front-end-pm'), fep_get_new_announcement_button() ); return $menu; }, 99);Shamim HasanKeymasterYou can try https://www.shamimsplugins.com/docs/front-end-pm/shortcode/fep_shortcode_message_to/ shortcode
Shamim HasanKeymasterIf php can execute it should echo header bar.
You can also try adding that directly in template php file.Shamim HasanKeymasterI recommend you to use a staging website first to test changes and after tested, update live site.
Also, this function already echo, so no need to add echo there.
Shamim HasanKeymasterWhat you set in back-end that will be sent to email when a new message is received.
Shamim HasanKeymasterYou can then directly use
fep_notification_div()function which will echo the bar. You can show where you like.Shamim HasanKeymasterYou can pass
'url' => 'https://www.example.com',Shamim HasanKeymasterShamim HasanKeymasterYou can send announcement to role(s), or send group message to a role.
-
AuthorPosts