Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
You want to reply announcement? In That case i would prefer to use Group Message. You can send to any role/user and they can reply as well.
Please see https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/group-messaging/
April 14, 2022 at 11:53 am in reply to: Hide Roles in Front End PM PRO – New Announcement page #44431Shamim HasanKeymasterHi Luke, both options are possible.
Please see
1. https://www.shamimsplugins.com/support/topic/restrict-which-rolls-show-up-on-front-end-for-announcement/#post-25048
2. https://www.shamimsplugins.com/support/topic/create-announcements/#post-26559Shamim HasanKeymasterDo 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
to
with 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',
-
AuthorPosts