Cool thanks, I resorted to manually pulling my repeaters using sql queries in the meantime. It’s not as pretty code wise but it’s getting the job done.
I’m having a similar issue, did you find a solution?
Hmmm I’ve used the table editor with TinyMCE advanced and ACF before, you can also edit your options yourself. You can set which default options your TinyMCE editor shows, just stick this in your functions.php and change the options accordingly.
function tinymce_buttons($buttons)
{
return array(
'bold', 'italic', 'underline', 'bullist', 'numlist', 'blockquote', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'link', 'unlink', 'anchor', 'wp_more', 'wp_fullscreen', 'wp_adv'
);
}
add_filter('mce_buttons','tinymce_buttons');
function tinymce_buttons_2($buttons)
{
return array(
'formatselect', 'pastetext', 'pasteword', 'sub', 'sup', 'charmap', 'hr', 'removeformat', 'undo', 'redo', 'code'
);
}
add_filter('mce_buttons_2','tinymce_buttons_2');
Not with the plugin directly, you’d need something like TinyMCE advanced plugin to enable them. I’ve used that before and it works great.
Perhaps you could take a look at my plugin directly. I tried running a loop from within the plugin but no luck. Here’s the plugin: http://wordpress.org/plugins/buckets/
In the main plugin file “buckets.php” the function get_bucket() is where I’m calling the flex field. I call the function from my ACF custom field under “fields/buckets.php”.
Thanks!
I suppose that’s my problem, I’m not running it in a loop. I’m running it from a plugin. I will try that, thanks!
Are you using two repeaters? I’m trying to call a repeater from inside a Flex field. I actually do that the ‘/’ there in my actual code, I simplified the example code. Thanks!
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.