any resolution to this?
this has been added since posting thanks!
Exactly!
HI
this plugin collapses them from the page editor – I’m talking about in the field register section – as you can see from my screenshots!
Great – here’w an image to show you the sort of thing I’ve been loooking at all day! Illustrates the point quite well.
+1 to this
We use flexible layouts heavily – with nested layouts.
The ability to collapse whole layouts will make their management much easier.
(I mean in the administration – not in the post itself)
Thanks!
Thanks john – yep knew about that.
That’s why I mentioned it being an option (for the user) rather than an alternative.
thanks though
no need to apologise – thanks for the input!
you’re right – the is_admin()
is not needed, but I swapped all the is/isnot (!) to be correct from your code, and it didn’t work for me.
this is working absolutely perfectly for me.
add_action( 'admin_init', 'redirect_admin' );
function redirect_admin() {
if ( ! current_user_can( 'administrator' ) && ! (defined( 'DOING_AJAX' ) && DOING_AJAX ) ){
wp_redirect( "http://www.cultshare.co.uk/404.php");
exit;
}
}
hmm – that didn;t seem to block people – I’m testing this at the moment
add_action( 'admin_init', 'redirect_admin' );
function redirect_admin() {
if ( is_admin() && ! current_user_can( 'administrator' ) && ! (defined( 'DOING_AJAX' ) && DOING_AJAX ) ){
wp_redirect( "http://www.cultshare.co.uk/404.php");
exit;
}
}
Sorry – I searched, I found, I was ashamed!
Its under screen options for other dufuses
where did you find the fields object id (eg field_5259b4be85a66)
thanks
This seems to be a dupe of this issue actually… http://support.advancedcustomfields.com/forums/topic/image-uploaded-to-post-not-working-with-live-edit/
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.