[Plugin: WP Forecast] Replace header Search with WP Forecast
-
I’m sure this is easy as pie but I’m still messing it up.
I’m trying to place the WP-Forecast into the header. There’s already an area in there for Search. Since I don’t need the Search function at all for my site I want to replace it with WP-Forecast.
Any clues?
Here’s the Search Button code from header.php
/************************ * Search Button ***********************/ ?> <div id="search-button" class="navbar-form navbar-right"> <i class="fa fa-search"></i> </div> </div> </div> <!-- end .container --> </div> <!-- end .navbar --> </header> <!-- end header --> <div class="fullscreen-search-form modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="false" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title" id="myModalLabel"><?php _e('Finding cool stuff?', 'Ellipsis'); ?></h4> </div> <div class="modal-body"> <form class="search-form" role="search" method="get" id="searchform" action="<?php echo home_url('/'); ?>"> <div class="form-group"> <input name="s" id="s" type="text" class="search-query form-control" autocomplete="off" placeholder="<?php _e('Search', 'Ellipsis'); ?>" data-provide="typeahead" data-items="4" data-source='<?php //echo $typeahead_data; ?>'> </div> </form> </div> </div> </div> </div>
- The topic ‘[Plugin: WP Forecast] Replace header Search with WP Forecast’ is closed to new replies.