Home › Forums › Backend Issues (wp-admin) › Use custom TinyMCE buttons in ACF WYSIWYG › Reply To: Use custom TinyMCE buttons in ACF WYSIWYG
I answer to myself. As often, it was a really simple and stupid detail : when I check post_type in the beginning of my code, I haven’t added my custom post type where I display my ACF WYSIWYG.
My problem is resolved just adding my post type in the following line :
// On vérifie qu'on est sur un article ou une page
if( ! in_array( $typenow, array( 'post', 'page', 'custom_poste_type' ) ) )
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.