Home › Forums › Front End PM PRO › There is no wanted page to add Shortcode
- This topic has 15 replies, 2 voices, and was last updated 7 years, 1 month ago by Shamim Hasan.
- AuthorPosts
- July 1, 2018 at 4:08 pm #15419Huy Le Duong NguyenParticipant
Hi,
I would like to add Shorcode [front-end-pm] in this page: https://domain.com/user-account/#mg-inbox; however, there is only the page of “User Account”.
I tried to select “User Account”; then, every I click on Message Box/Announcement, it redirects me to: https://1mg.vn/user-account/?fepaction=messagebox
Please help me to correct it.
Thanks
July 1, 2018 at 6:09 pm #15422Shamim HasanKeymasteris that a page created from Dashboard > Pages > Add New?
what is id of that page?July 2, 2018 at 5:21 am #15427Huy Le Duong NguyenParticipantThis reply has been marked as private.July 2, 2018 at 12:38 pm #15439Shamim HasanKeymasterCan you send me your theme so that i can try?
July 2, 2018 at 1:42 pm #15442Huy Le Duong NguyenParticipantThis reply has been marked as private.July 2, 2018 at 3:36 pm #15445Shamim HasanKeymasteradd following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_query_url_without_esc_filter', function( $url, $args ){ return add_query_arg( $args, 'https://example.com/user-account/#mg-inbox'); }, 10, 2);Let me know.
July 3, 2018 at 5:58 am #15452Huy Le Duong NguyenParticipantThank for your support. It is worked.
October 28, 2018 at 11:02 pm #18610Huy Le Duong NguyenParticipantThis reply has been marked as private.October 29, 2018 at 8:35 am #18618Shamim HasanKeymasterPlease make this changes https://github.com/shamim2883/front-end-pm/commit/ffbb4fea311fdb23073adf686f5fcb5893b36fbc
October 30, 2018 at 5:44 am #18650Huy Le Duong NguyenParticipantThis reply has been marked as private.October 30, 2018 at 2:04 pm #18665Shamim HasanKeymasterIt seems you have edited it wrong. You did not deleted red area in left hand side of that github commit.
Please replace all code of class-fep-messages.php with https://github.com/shamim2883/front-end-pm/blob/master/includes/class-fep-messages.phpLet me know.
November 2, 2018 at 10:46 pm #18738Huy Le Duong NguyenParticipantThis reply has been marked as private.November 3, 2018 at 11:02 pm #18761Shamim HasanKeymasterDid you removed that code from your theme’s functions.php?
November 7, 2018 at 5:22 am #18844Huy Le Duong NguyenParticipantThis reply has been marked as private.November 7, 2018 at 5:27 am #18847Huy Le Duong NguyenParticipantThis reply has been marked as private. - AuthorPosts
You need to purchase ‘Front End PM PRO’ to create topic in this support forum.
If you already purchased ‘Front End PM PRO’ please LOGIN.