• Resolved JayTodd123

    (@jaytodd123)


    Arthur, I need an eli5 explanation of how to use the dynamic search widget. Do I use the usual Fast eBay Search block or do I need to use shortcode? I want to use the title of the post as the search term. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter JayTodd123

    (@jaytodd123)

    Ok, I see. It looks like the widget will only work in the sidebar. Is there a way to get the Fast eBay Search to utilize the title of a post or page as the search term when using it in the main body and not the footer or sidebar?

    Plugin Author Arthur Yarwood

    (@arfa_)

    Hi,

    Yes, the Dynamic Search widget will utilise the page/post title as the search query. Add the widget (using the Classic Widget editor) to your site and fill in any default search criteria you desire. Then on any pages/posts will use the following data to drive the search dynamically, in this order depending on what it finds first:

    1. Any meta data with the name ‘ebay-query’.
    2. The page/post title
    3. The category/tag search term
    4. The default query set in the widget settings
    5. The blog title

    You can additionally add meta data to specific pages/posts to fine tune the search. You can set: ‘ebay-category’, ‘ebay-seller’, ‘ebay-minprice’, ‘ebay-maxprice’, ‘minbids’ and ‘maxbids’.

    You will need a theme that defines some widget areas, which could be in the sidebar, the footer or elsewhere depending on the theme. If you require a widget area elsewhere on the page, you’ll need to look into customising your theme to add one. e.g. within the main body of your page.

    Dynamic Search is only supported in the Classic Widget Editor too, so you may need to install a plugin to re-enable this classic mode on a recent WordPress install.

    I’m afraid, this dynamic functionality isn’t available within the other Search Shortcode or Block that you normally add to a page. Since these are set up per page, it’s assumed they can be setup with a search query for the page and do require such dynamic behaviour.

    Plugin Author Arthur Yarwood

    (@arfa_)

    Hi, hope I answered your question. I’ve not heard back, so I assume your issue is now resolved and I’ll mark this thread so. Do let me know if you have any further questions.

    Thread Starter JayTodd123

    (@jaytodd123)

    Hi Arthur, It wasn’t really an issue per se. I was trying to build pages programmatically with fast ebay listings (FEL) as part of the constructed page and then have FEL import the page title as the ebay query. Doesn’t look like it’s possible without a lot of coding which I was trying to avoid. So, I’ll just do it manually.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Dynamic Search Widget’ is closed to new replies.