WordPress.org

Ready to get started?Download WordPress

Forums

SearchAutocomplete
[resolved] CSS dropdown not selectable (4 posts)

  1. Douglas Karr
    Member
    Posted 1 year ago #

    CSS dropdown is not selectable, it's just blank so I can't actually modify which css file to choose.

    http://wordpress.org/extend/plugins/search-autocomplete/

  2. jammy to go
    Member
    Posted 1 year ago #

    Most likely your server is not windows, and the plugin is scripted to look in windows based directories '\'.

    I had the same problem but managed to sort it out by editing the following file 'wp-content/plugins/search-autocomplete/searchautocomplete.php'.

    Find lines:

    $globFilter = dirname(__FILE__).'\css\*\*.css';
    
    	foreach( glob($globFilter) as $stylesheet) {
    
    		$newSheet = str_replace(dirname(__FILE__).'\css', '', $stylesheet);
    
    		$newSheet = str_replace('\\', '/', $newSheet);

    Replace with:

    $globFilter = dirname(__FILE__).'/css/*/*.css';
    
    	foreach( glob($globFilter) as $stylesheet) {
    
    		$newSheet = str_replace(dirname(__FILE__).'/css', '', $stylesheet);
    
    		$newSheet = str_replace('//', '/', $newSheet);

    Hope it helps.

  3. hereswhatidid
    Member
    Plugin Author

    Posted 1 year ago #

    The latest release (2.0.4) should fix this. Please let me know if the issue still occurs.

  4. hereswhatidid
    Member
    Plugin Author

    Posted 1 year ago #

    Marking this as resolved due to inactivity.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags