• I have a FeedPress account with nearly 100 (and counting) feeds in it. Having the dropdowns utilizing Select2 would greatly improve the experience when looking for a specific feed in the settings for this plugin.

    The plugin could have this included on the admin page:

    
    // Enhance the dropdown select elements with Select2
    wp_enqueue_style( 'select2', '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.12/css/select2.min.css', '', '', 'all' );
    wp_enqueue_script('select2', '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.12/js/select2.min.js', array( 'jquery'), '', true);
    

    Then having the following as JS ran on the page:

    
    jQuery(document).ready(function($){
    	// Enhance the dropdown select elements with Select2
    	$('.wrap select').select2();
    });
    

    Very quick update to make and should greatly improve the experience of working with this plugin on multiple sites that share a common FeedPress account, have a site with complex FeedPress utilization, etc. Also, this code above loads Select2 from CDNJS for optimal delivery, but it could load a local copy instead if that’s preferred for any reason.

    Just wanted to put the request out there here since I didn’t really see this plugin on GitHub, the developer having contact info, etc. to share this through other means.

The topic ‘Feature Request: Utilize Select2 for dropdowns on admin page’ is closed to new replies.