Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Dashboard Settings | Hide Timezone
- This topic has 3 replies, 2 voices, and was last updated 5 years, 4 months ago by WCFM Forum.
- AuthorPosts
- December 15, 2018 at 4:49 am #40062JayGuest
Hi Team,
Is there any way I can hide Timezone Setting, without touching the core file?
I can’t find hook for it.wp-content/plugins/wc-frontend-manager/views/settings/wcfm-view-wcmarketplace-settings.php
<p class=”tzstring wcfm_title wcfm_ele”><?php _e(‘Timezone’, ‘wc-frontend-manager’); ?><span class=”img_tip” data-tip=”<?php _e(‘Set the local timezone.’, ‘wc-frontend-manager’); ?>”></span></p>
<label class=”screen-reader-text” for=”tzstring”><?php _e(‘Timezone’, ‘wc-frontend-manager’); ?></label>
<select id=”timezone” name=”timezone” class=”wcfm-select wcfm_ele” style=”width: 60%;”>
<?php echo wp_timezone_choice( $tzstring, get_user_locale() ); ?>
</select>Thanks,
Jay - December 15, 2018 at 6:30 am #40079WCFM ForumKeymaster
Hi,
Add this CSS to make this disable ->
#wcfm_settings_form_identity_expander .tzstring, #wcfm_settings_form_identity_expander #timezone {display:none;}
Thank You
- December 15, 2018 at 11:26 pm #40166JayGuest
Thanks for your help.
- December 16, 2018 at 5:15 am #40190WCFM ForumKeymaster
You are welcome, have a great weekend 🙂
- AuthorPosts
- The topic ‘Dashboard Settings | Hide Timezone’ is closed to new replies.