03/26/2019 at 10:40 am
#488132
Keymaster
@ Pedro
Yes, you could dupe the widget code. OR
Create a new file named search.php
in this folder.
../wp-content/uploads/connections-templates/
The file should contain this code:
<span class="cn-search">
<?php if ( $atts['show_label'] ) echo '<label for="cn-search-input">Search Directory</label>'; ?>
<input type="text" id="cn-search-input" name="cn-s" value="<?php echo esc_attr( wp_unslash( $searchValue ) ) ?>" placeholder="<?php _e('Custom Search Directory', 'connections'); ?>"/><input type="submit" name="" id="cn-search-submit" class="cn-search-button" value="" tabindex="-1" />
</span>
Customize as desired.
Hope this helps!