Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › use a Sidebar
- This topic has 8 replies, 2 voices, and was last updated 6 years, 10 months ago by WCFM Forum.
- AuthorPosts
- January 12, 2018 at 7:29 am #17795info17Participant
Hi admins, new day new question:) sorry..
i like to use my own sidebar for like a help menu. its possible to show wcfm-main-content with my own sidebar. and if a user click inside the wcfm menu the sidebar shows up everytime? thank you and have a nice day. - January 12, 2018 at 8:54 am #17798WCFM ForumMember
Hi,
Good Morning 🙂
I am not very clear with your requirement.
Let me tell you what you can do with WCFM Menus –
1. Totally disable WCFM menu from WCFM Admin setting -> Dashboard
2. Add/edit/delete any WCFM menu items using some custom codeAre you looking to add a custom “Help Menu” item?
Feel free to reach us anytime for any assistance!
Thank You
Simha - January 12, 2018 at 10:26 am #17799info17Participant
hi again, i mean to put a normal standard sidebar on the left side from content..
wc ultimate as page content and an normal sidebar on the left.. (on my theme standard sidebar is on the left side)
if i try now to add your shortcode to a page with sidebar the standard sidebar not shoes up.. is there a way to show it..
i need no changes etc. in the wc ultimate menu.. just like to show up the standard sidebar check printscreen 🙂 (content is wc ultimate shortcode)
thank you - January 12, 2018 at 1:37 pm #17808info17Participant
wired is when i make a normal page without your shortcode inside the sidebar display normal, when i put your shortcode inside the page is full width and no sidebar.. may you have a solution for this 🙂
- January 12, 2018 at 2:06 pm #17810WCFM ForumMember
Hi,
I understand your requirement.
Actually, WCFM uses its own template, it’s without sidebar. Full page width is preferable for Dashboard.
If you really want to disable this and want to use your theme template then kindly add this code to your theme/child theme’s functions.php
function wcfm_custom_dashboard_template( $page_template ) { global $WCFM; if ( wc_post_content_has_shortcode( 'wc_frontend_manager' ) && is_user_logged_in() ) { remove_action( 'page_template', array( $WCFM->frontend, 'wcfm_dashboard_template' ), 10 ); } return $page_template; } add_action( 'page_template', 'wcfm_custom_dashboard_template', 9 );
Please know is this fulfill your requirement or not!
Thank You
- January 12, 2018 at 2:17 pm #17811info17Participant
oh men thank you so much :):)
- January 12, 2018 at 3:26 pm #17812WCFM ForumMember
Hi,
Welcome 🙂
Is this works for you perfectly?
Thank You
- January 12, 2018 at 3:31 pm #17813info17Participant
yep:)
- January 12, 2018 at 4:17 pm #17818WCFM ForumMember
Great, thanks for confirming me this.
I am closing this thread for now.Feel free to reach us anytime.
Thank You
Simha
- AuthorPosts
- The topic ‘use a Sidebar’ is closed to new replies.