• Resolved Bastian

    (@dr-cool)


    Hi,
    I only want to use the built-in WordPress search, which I activated.
    I also deactivated the search field and extended search field in the settings tab.
    The normal search field now goes away as wished, but the “extended search” field is still visible.
    Is this my fault or is it a bug?

    Cheers
    Bastian

    https://wordpress.org/plugins/events-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Bastian,

    Do you mean the advanced fields of the events search? They can be deactivated under Events > Settings > Formatting > Search Form.

    Thread Starter Bastian

    (@dr-cool)

    Yes, I don’t know why, but it went away now.
    Thanks for your help.

    Have same problem. Extended is always visible as default.

    Error console shows error on this line: (source code)

    var geo_coords = wrapper.find(“input.em-search-geo-coords”);</p>

    Where did it from this closing paragraph comes ? I dont see it in JS file.

    Seems i used a bit to strict regex for removing empty paragraphs and other stuff. I use this now and it doesnt make pproblems with search form.

    // Strip out all <p>&nbsp;</p> from the content
    function strip_empty_lines($content) {
        $content = str_replace('<p>&nbsp;</p>','',$content);
    	$content = str_replace('<p></p>','',$content);
    	$content = str_replace('<p>
    	&nbsp;
    </p>','',$content);
        return $content;
    }
    add_filter ('the_content', 'strip_empty_lines');
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘extended search is still shown’ is closed to new replies.