WordPress.org

Forums

Easy Digital Downloads Search Widget
[resolved] Template Tag for search (2 posts)

  1. Paul Tocknell
    Member
    Posted 1 year ago #

    Hello,

    I would like to integrate this not as a widget in my sidebar but use in place of my current search site form in my header. What template tag can I use?

    Paul

    https://wordpress.org/plugins/edd-search-widget/

  2. daveshine (David Decker)
    Member
    Plugin Author

    Posted 1 year ago #

    @GlobalFlyer:
    Hi Paul!
    Thanks for your feedback!

    This could easily be done via the integrated shortcode - via WordPress' do_shortcode() template function:

    <?php echo do_shortcode( '[edd-searchbox]' ); ?>

    See Shortcode parameters here on plugin's FAQ page: http://wordpress.org/plugins/edd-search-widget/faq/

    For example:

    <?php echo do_shortcode( '[edd-searchbox button_text="Go!"]' ); ?>

    I hope that helps :)

    Thanks, Daev :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Digital Downloads Search Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.