Tagged: custom fields, enfold
-
AuthorPosts
-
March 5, 2015 at 9:16 pm #406677
Hi Were running wp 4.1.1 and enfold 3.0.8 and we are using a child theme.
We need to use some custom fields and while adding new ones were experiencing some odd issues.Once we added a new custom field I noticed it was not available in the drop down when trying to create a new post.
Im also not familiar with nor could I find in the documentation which custom fields are supplied by default by the Enfold theme.I also noticed that its possible our drop down list might not be getting fully populated as it seems to be in alphabetical order but never see anything past items that begin with the letter “C”.
Heres a screenshot of our custom field dropdown list: http://snag.gy/13o1P.jpg
Im under the assumption that if these are custom fields from the Enfold theme maybe theres an issue of the complete list getting populated in the drop down and that would explain why the custom fields we created do not show up.So in conclusion I guess my question(s) are:
1. are all those custom fields in the screen shot coming from the Enfold theme?
2. If so, should we be seeing more that what were seeing in the screenshot?
3. if we should be seeing more, do you have any idea what the problem might be causing this?Thanks!
March 5, 2015 at 9:34 pm #406687Looks like we actually found some info on this after doing some more digging. Apparently WP by default only shows 30 items in the custom field drop down.
We had to add to our functions.php
function increase_postmeta_form_limit() { return 120; } add_filter('postmeta_form_limit', 'increase_postmeta_form_limit');
We set that number to 1000 as I have no idea why there would be a limit placed on this drop down. Whats the point of custom fields if you cant access them. So strange WP does this by default.
Anyhow, if anyone else has that issue hopefully this will be helpful.
-
AuthorPosts
- The topic ‘custom fields issue?’ is closed to new replies.