WordPress.org

Forums

Flamingo
[resolved] hide empty fields in admin inbound message (2 posts)

  1. fresh-x
    Member
    Posted 1 year ago #

    hey everyone,

    is there any solution to hide empty fields in the overview of the admin inbound messages? any little hack or something, that the inbound message overview dont show up all the fields they are send with the form.

    hoping anyone has an idea.
    best regards

    http://wordpress.org/plugins/flamingo/

  2. fresh-x
    Member
    Posted 1 year ago #

    i have a soluition, not the best way - but it works.
    if someone want the same, just add this after tbody in
    flamingo/admin/includes/meta-boxes.php line 163:

    <script>
    jQuery(document).ready(function() {
    jQuery('table tr.alt').each(function(){
        var hide = true;
        jQuery('td.field-value',this).each(function(){
            if (jQuery.trim(jQuery(this).text()) != "")
                hide = false;
        });
        if(hide)
            jQuery(this).closest('tr').hide();
    });
    });
    </script>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Flamingo
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic