Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Template header.php
Tagged: header.php
- This topic has 6 replies, 3 voices, and was last updated 4 years, 9 months ago by WCFM Forum.
- AuthorPosts
- January 23, 2020 at 7:55 pm #103453rick.nashParticipant
My Theme puts out a sidebar by default making the vendor’s store very unpleasant to look at.
I am trying to overwrite the sidebar via a custom header file in my theme folder I have tried a few file names but like to ask as I am getting nowhere.
header-wcfm.php
any help on this would be great
- January 23, 2020 at 8:58 pm #103460rick.nashParticipant
let me explain a little more.
My theme uses the option for sidebars but i am needing the sidebar for the site; I have managed to remove the sidebar of the store view but it means disabling them throughout my store which isn’t ideal.
I have a header.php file that removes the sidebar hook but looking to place it in my theme folder to remove it from store view page only.
- January 24, 2020 at 12:52 am #103497Ramamurthy KrishnanKeymaster
Hi,
If you want to edit the store view templates then you will get those in “WCFM Marketplace” plugin folder, the file path is “wcfm-multivendor-marketplace/views/store” and inside this store folder you will get several files of vendor store details page structure. If you wish to edit those files in your theme, then you need to create a folder named “wcfm” and inside that create another folder named “store” and copy the specific file from “wcfm-multivendor-marketplace/views/store” folder path into your theme’s “wcfm/store” folder path and edit that file.
Hope this helps. If this is not what you were trying to do then please explain it more elaborately with a screenshot image.
Thanks,
- January 24, 2020 at 1:58 am #103506rick.nashParticipant
It’s my theme thats puts the sidebar there not your plugin, will that still work?
- January 24, 2020 at 11:32 am #103552Ramamurthy KrishnanKeymaster
Hi,
Can you please share me the link and screenshot of the section which you want to remove?
Thanks,
- January 24, 2020 at 5:48 pm #103614rick.nashParticipantThis reply has been marked as private.
- February 6, 2020 at 2:32 pm #105747WCFM ForumMember
Sorry, your store url not working for me!
- AuthorPosts
- You must be logged in to reply to this topic.