“allowemptyaddress” shortcode issues
-
A little quirk in the code: allowemptyaddress needs a space between the form tag and the class.
Line 19 in simple-locator-form-ajax.php
if ( isset($this->options['allowemptyaddress']) && $this->options['allowemptyaddress'] == 'true' ) $output .= 'class="allow-empty"';
needs to change to
if ( isset($this->options['allowemptyaddress']) && $this->options['allowemptyaddress'] == 'true' ) $output .= 'class=" allow-empty"';
The results show all the posts and not just the locations posts. If there’s a fix or update to the plugin, it would be great!!
- The topic ‘“allowemptyaddress” shortcode issues’ is closed to new replies.