corys8646
Forum Replies Created
-
Found it..
Line 187 of
SmackImpCE.phpChange
$limit = ( int )apply_filters(‘postmeta_form_limit’, 30);
To
$limit = ( int )apply_filters(‘postmeta_form_limit’, 100);Should mention that I am using WP-Types to create my fields, and most of my fields are showing up in the importer, just cutting off the last few at the 30 limit.
I’m having a similar issue, it appears that there is a limit of 30 custom fields to display. By default WP limits this in the wp-admin/includes/template.php file.
function meta_form( $post = null ) {
global $wpdb;
$post = get_post( $post );
$limit = (int) apply_filters( ‘postmeta_form_limit’, 30 );
$keys = $wpdb->get_col( “
SELECT meta_key
FROM $wpdb->postmeta
GROUP BY meta_key
HAVING meta_key NOT LIKE ‘\_%’
ORDER BY meta_key
LIMIT $limit” );
if ( $keys )
natcasesort($keys);
?>I have modified this to be 100, and now all custom fields show up when I make a new post, but is still limited to 30 in the plugin importer. I couldn’t find anywhere in the plugin where is specifies a limit on custom fields.
Thanks for following up, not running multi-site here..so not sure what the problem could be.
Having the same problem. Not using GF CSS Ready Class Selector either. Not sure what the conflict may be