Home › Forums › Backend Issues (wp-admin) › Issue: Field group limited to 20 entries › Reply To: Issue: Field group limited to 20 entries
I’ve added these two bits to my functions file:
//raise custom field limit
function customfield_limit_increase( $limit ) {
$limit = 60;
return $limit;
}
add_filter( 'postmeta_form_limit' , 'customfield_limit_increase' );
//raise post per page count for advanced custom fields
function customize_admin(){
global $per_page;
global $post_type;
if( $post_type == 'acf' ) $per_page = 500;
}
add_action('admin_head', 'customize_admin');
and also raised my max_vars to 3000 (it was 1000)
http://i.imgur.com/7TWSvld.png
Unfortunately, it’s still only showing/accepting 20 entries.
I’ll keep at it, but I’m still open to suggestions.
Thanks again 🙂
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.