TinyMCE’s “Clear Formatting” button doesn’t remove lists and headings

I need to answer my own question here. I was using the attributes from TinyMCE v3, but it needed to use the v4 format. Here’s what works: add_action( ‘acf/input/admin_footer’, function() { ?> <script type=”text/javascript”> ( function( $ ) { acf.add_filter( ‘wysiwyg_tinymce_settings’, function( mceInit, id, field ) { mceInit[‘formats’][‘removeformat’] = [{ selector: ‘h1,h2,h3,h4,h5,h6,ul,li,b,strong,em,i,span,blockquote,pre,code’, remove: ‘all’, split … Read more

getting image from ACF

Thank you for your question. As other said, you can’t mix shortcode in the HTML attributes. You’ll need to edit the Ultimate Members PHP template. Check in their doc how to edit them in a child theme to not lose them on Ultimate Member update. You will need to make something like: <?php if ( … Read more

Simple Calendar

As @Vincius mentioned above, I don’t think anyone has created a full-blown calendar with ACF and ACF alone. But – that doesn’t mean you can’t plug into other Event Calendars (or –> attach the ACF data onto their Events post type). For example: Sugar Event Calendar It has a filter hooks (look on that page, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)