Plugin Directory

Changeset 1730964


Ignore:
Timestamp:
09/16/2017 05:36:08 PM (9 years ago)
Author:
netflixtechweb
Message:

Changes Widget shortcode to normal short code

Location:
wp-autosearch/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-autosearch/trunk/helper/helper.php

    r1532845 r1730964  
    200200   
    201201    public function wp_auto_search_shortcode(){
     202        global $wizardinfosys_autosearch;
    202203        ob_start();
    203         dynamic_sidebar("wi_autosearch_suggest_seidebar");
     204        ?>
     205        <div class="wizardinfosys_autosearch_wrapper">
     206                <form id="wizardinfosys_autosearch_form" full_search_url="<?php echo $wizardinfosys_autosearch->options->full_search_url; ?>" action="<?php echo esc_url(home_url('/')); ?>" method="get">
     207                    <div class="wp_autosearch_form_wrapper" style="max-width: <?php echo $max_width; ?>px;">
     208                        <label class="wp_autosearch_form_label"><?php echo $title; ?></label>
     209                        <input name="s" class="wp_autosearch_input" type="text"  value="<?php echo $value; ?>" style="width: 95%;" placeholder="<?php echo $placeholder; ?>" autocomplete="off" />
     210                        <button style="display: none;" class="wp_autosearch_submit"></button>
     211                    </div>
     212                </form>
     213            </div>
     214        <?php
     215        //dynamic_sidebar("wi_autosearch_suggest_seidebar");
    204216        return ob_get_clean();
    205217    }
  • wp-autosearch/trunk/readme.txt

    r1690223 r1730964  
    66License URI: http://www.gnu.org/licenses/gpl-2.0.html
    77Tested up to: 4.8.0
    8 Stable tag: 1.0.2
     8Stable tag: 1.0.3
    99A highly customizable AJAX-based WordPress search bar alternative with the ability to autocomplete.
    1010
     
    145145= 1.0.3 =
    146146* Resolved bug fix
     147* User can use direct shorcode in page without adding in widget area.
    147148* changes in Design layout and button view
    148149
  • wp-autosearch/trunk/wp-autosearch.php

    r1690223 r1730964  
    55 Description:Wordpress realtime auto search suggestions of WordPress posts, pages,custom post,taxonomies and Order of Types
    66 Author: Netflixtech
    7  Version: 1.0.2
     7 Version: 1.0.3
    88 Author URI: http://netflixtech.com/
    99
Note: See TracChangeset for help on using the changeset viewer.