Support

Account

Home Forums ACF PRO Can't add "Read More" to custom toolbar

Unread

Can't add "Read More" to custom toolbar

  • I created a custom b, i, u toolbar, but I’d also like to add the read more functionality.
    What should I add to my array?

    function co_simplify_wysiwyg( $toolbars ){
    	// Add a new toolbar called "Only B, I, U"
    	// - this toolbar has only 1 row of buttons
    	$toolbars['Only B, I, U' ] = array();
    	$toolbars['Only B, I, U' ][1] = array('bold' , 'italic' , 'underline');
    
    	// return $toolbars - IMPORTANT!
    	return $toolbars;
    }
    add_filter( 'acf/fields/wysiwyg/toolbars' , 'co_simplify_wysiwyg'  );
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.