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.