Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Hide Fields
Tagged: Hide fields
- This topic has 10 replies, 3 voices, and was last updated 6 years, 11 months ago by
WCFM Forum.
- AuthorPosts
- March 26, 2018 at 11:48 pm #20937
bradziajor
ParticipantPlease assist me to hide the following fields:
Settings -> Store Settings:
Logo
Shop Name
ProfileI am also wondering if it is possible to remove the WooCommerce Header which has buttons for Dashboard, Edit Page, WCFM, etc.
- March 27, 2018 at 9:52 am #20947
WCFM Forum
MemberHi,
You can disable “Profile” from WCFM capability.
Logo and Store Name – requires some custom coding to hide from edit settings.
“I am also wondering if it is possible to remove the WooCommerce Header which has buttons for Dashboard, Edit Page, WCFM, etc.” – can you please show me screenshot for this.
Thank You
- March 28, 2018 at 12:01 am #20976
bradziajor
Participant1) I disabled the profile under
capability -> Profile
capability -> Profile -> Address
capability -> profile -> socialHowever, it is still there under store settings.
2) Screenshot attached. It is the black bar at the top
3) Still require to Hide Logo and Store Name
Attachments:
You must be logged in to view attached files. - March 28, 2018 at 6:17 am #20987
WCFM Forum
MemberHi,
Kindly show me screenshot for capability and vendor settings page.
For hide top bar use this – https://wordpress.org/plugins/hide-admin-bar/
Thank You
- March 29, 2018 at 12:44 am #21042
bradziajor
ParticipantAttached.
Attachments:
You must be logged in to view attached files. - March 29, 2018 at 4:56 am #21045
WCFM Forum
MemberHi,
Capability settings is perfect.
Tell me one thing, are you WCFM – Groups & Staffs as well? If so, then have to set this for Group capabilities as well.
Thank You
- March 29, 2018 at 11:51 pm #21076
bradziajor
ParticipantNo, I do not use groups and staffs.
- March 29, 2018 at 11:55 pm #21078
Brad
GuestAs you can see, the profile, logo, and Shop Name are still showing. Please assist in hiding.
- March 30, 2018 at 9:32 am #21085
WCFM Forum
MemberHi,
Logo and Store Name – requires some custom coding to hide from edit settings.
Kindly use this filter for the purpose – “wcfm_wcpvendors_settings_fields_store”
Thank You
- March 31, 2018 at 9:04 pm #21140
bradziajor
ParticipantCould you give me some more details on the filter? I don’t know where I can find that or how to use it.
- April 1, 2018 at 10:57 pm #21176
WCFM Forum
MemberHi,
Kindly use this code for the purpose –
function wcfm_wcpvendors_settings_fields_store_manipulate( $setting_fields ) { if( isset( $setting_fields['wcfm_logo'] ) ) { $setting_fields['wcfm_logo']['class'] = 'wcfm_custom_hide'; $setting_fields['wcfm_logo']['label_class'] = 'wcfm_custom_hide'; } if( isset( $setting_fields['shop_name'] ) ) { $setting_fields['shop_name']['class'] = 'wcfm_custom_hide'; $setting_fields['shop_name']['label_class'] = 'wcfm_custom_hide'; } if( isset( $setting_fields['shop_description'] ) ) { $setting_fields['shop_description']['class'] = 'wcfm_custom_hide'; $setting_fields['shop_description']['label_class'] = 'wcfm_custom_hide'; } return $setting_fields; } add_filter( 'wcfm_wcpvendors_settings_fields_store', 'wcfm_wcpvendors_settings_fields_store_manipulate' );
Thank You
- AuthorPosts
- The topic ‘Hide Fields’ is closed to new replies.