Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › How could i hide "Types" at textarea?
Tagged: types textarea
- This topic has 7 replies, 2 voices, and was last updated 6 years, 3 months ago by WCFM Forum.
- AuthorPosts
- August 23, 2018 at 2:30 am #29274
- August 23, 2018 at 5:23 am #29291WCFM ForumMember
Hi,
Are using Toolet Free plugin (https://wordpress.org/plugins/types/), or paid one?
by default Toolset does not add this in frontend – https://ibb.co/mSMGTK
Thank You
- August 23, 2018 at 6:26 am #29294MOHOParticipantThis reply has been marked as private.
- August 23, 2018 at 9:24 am #29330WCFM ForumMember
Hi,
Kind add this CSS in child theme style.css –
span.button.wpv-shortcode-post-icon.js-wpv-shortcode-post-icon-wpv-views, span#cred-form-shortcode-button.cred-media-button{
display:none !important;
}You may check this for reference – https://toolset.com/forums/topic/how-to-remove-fields-and-views-button-above-post-edit-for-non-admin-users/
Thank You
- August 24, 2018 at 6:49 am #29460MOHOParticipant
Toolset team give me the correct shortcode to hide it, thanks.
Please close it.
- August 24, 2018 at 7:00 am #29462WCFM ForumMember
Hi,
That’s great 🙂
Can you please share that here so that others get an idea!
Thank You
- August 24, 2018 at 7:55 am #29478MOHOParticipant
Toolset team give me this
function tssupp_remove_toolset_buttons(){if ( ! current_user_can( ‘update_core’ ) ) {
// remove the Fields and Views button
add_filter( ‘toolset_editor_add_form_buttons’, ‘__return_false’ );
}
}
add_action( ‘init’, ‘tssupp_remove_toolset_buttons’ );and say
The thread you mentioned above is outdated, please try the built-in filter hook toolset_editor_add_form_buttons, like this:
Add below codes in your theme file “functions.php”:Attachments:
You must be logged in to view attached files. - August 24, 2018 at 7:24 pm #29610WCFM ForumMember
Thank you very much for all the details 🙂
This will really helpful for many others.
Thanks again!
- AuthorPosts
- The topic ‘How could i hide "Types" at textarea?’ is closed to new replies.