Title: Custom fields missing in dropdown list
Last modified: August 31, 2016

---

# Custom fields missing in dropdown list

 *  Resolved [bubdev](https://wordpress.org/support/users/bubdev/)
 * (@bubdev)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/)
 * Hello aldolat,
 * I really appreciate the flexibility of your plugin! Nevertheless, I just got 
   stuck trying to display a custom field because it isn’t present in the list of
   available fields.
 * The dropdown list seems to hold a max. of 30 fields. I’ve tried to solve it using
   the postmeta_form_limit filter, but in vain. Is there a filter or some other 
   solution to change the limit without editing the plugin directly?
 * Also: Can you think of a way to limit the character count of the custom field
   content that works with your plugin?
 * Thanks and best regards
    bubdev
 * [https://wordpress.org/plugins/posts-in-sidebar/](https://wordpress.org/plugins/posts-in-sidebar/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955138)
 * Hello [@bubdev](https://wordpress.org/support/users/bubdev/),
    the hook of my
   plugin is different than WordPress’ one:
 * WordPress uses `postmeta_form_limit`.
    Posts in Sidebar uses `pis_postmeta_limit`.
 * Try using this filter:
 *     ```
       function pis_custom_field_limit_increase( $limit ) {
       	$limit = 50;
       	return $limit;
       }
       add_filter( 'pis_postmeta_limit' , 'pis_custom_field_limit_increase' );
       ```
   
 * Regarding the second question, I added this feature in 3.3 version, that should
   be released very soon. The user will be able to limit the post meta content to
   a certain number of words.
 *  Plugin Author [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955139)
 * [@bubdev](https://wordpress.org/support/users/bubdev/)
    I’m wondering if it’s
   better to limit post meta content in words or in letters… What would be better
   for the average user of this feature?
 *  Thread Starter [bubdev](https://wordpress.org/support/users/bubdev/)
 * (@bubdev)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955140)
 * Wonderful! Thanks for the great support. And I’ll happily wait for v.3.3.
 * Best
    bubdev
 *  Thread Starter [bubdev](https://wordpress.org/support/users/bubdev/)
 * (@bubdev)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955143)
 * Sorry, I just saw your question above.
 * I think it’s mainly a question of personal preference but can also depend on 
   project specific priorities.
 * From a designer’s perspective I’d say limit it by characters, because it allows
   for more symmetric blocks of content, and it’s certainly better for very short
   texts (1 or 2, max. 3 narrow lines of text).
 * For longer texts I think a word limit usually looks more appropriate.
 * So in respect to what I guess is the majority of use cases, I’d implement a character
   limit (if both options are not an option :)).
 *  Plugin Author [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955234)
 * [@bubdev](https://wordpress.org/support/users/bubdev/)
    OK, I’ll implement a 
   character limit.
 * For the new release, please be patient, because I have to resolve some personal
   things. Anyway I think to make the new release in the next few days.
 *  Plugin Author [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955297)
 * [@bubdev](https://wordpress.org/support/users/bubdev/)
    The 3.3 version has just
   been released!
 * Let me know if you encounter any bug, please.
 *  Thread Starter [bubdev](https://wordpress.org/support/users/bubdev/)
 * (@bubdev)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955355)
 * Works great. Thanks again!
 *  Thread Starter [bubdev](https://wordpress.org/support/users/bubdev/)
 * (@bubdev)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955385)
 * Hello aldolat,
 * when controlling the content limit of a custom field, in some cases I’m getting
   weird glyphs instead of the proper last letter. I think it happens with umlauts
   and accents.
 * Here is a screenshot: [http://uploadpie.com/uta2u](http://uploadpie.com/uta2u)
 * Best regards
    bubdev
 *  Plugin Author [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955386)
 * Hello,
    does this happen at the end of the phrase only?
 *  Thread Starter [bubdev](https://wordpress.org/support/users/bubdev/)
 * (@bubdev)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955387)
 * Yes, only the last character seems to be affected.
 *  Plugin Author [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955388)
 * [@bubdev](https://wordpress.org/support/users/bubdev/)
    I just released PiS 3.3.1
   that fixes this specific issue. Please, let me know if you resolve.
 * Thanks for reporting the bug.
 *  Thread Starter [bubdev](https://wordpress.org/support/users/bubdev/)
 * (@bubdev)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955389)
 * It did fix the issue. Thanks again for the outstanding support!!
 *  Plugin Author [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955390)
 * You are welcome! 🙂

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Custom fields missing in dropdown list’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-in-sidebar_aed6f1.svg)
 * [Posts in Sidebar](https://wordpress.org/plugins/posts-in-sidebar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-in-sidebar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-in-sidebar/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-in-sidebar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-in-sidebar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-in-sidebar/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-missing-in-dropdown-list/#post-6955390)
 * Status: resolved