• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Algolia Search Implementation on Genesis

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Algolia Search Implementation on Genesis

This topic is: resolved

Tagged: Ajax, algolia, dom, executive pro, instant search, search

  • This topic has 5 replies, 2 voices, and was last updated 10 years ago by amitramani.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 3, 2016 at 7:56 pm #184933
    amitramani
    Member

    Not sure if anyone here has worked with Algolia Search before. It is an Instant Search Solution by Algolia.

    I have downloaded the Beta WordPress plugin from https://github.com/algolia/algoliasearch-wordpress. While I can see that network wise, everything works well, the Search Results do not show up in the AJAX drop down just below the Search Box.

    Another interesting observation is that while the main Search Bar on the front end of the website does not show any results, the small Search bar within the Admin menu on the top right corner of the page does show the results. That is because the Algolia code attaches to any DOM element with [name="s"].

    However, I have checked using the Inspect tools that the Main Search bar is also surrounded by Algolia <span class>. As I type into the Main Search Bar, I can see the DOM changing dynamically to add the <div>s containing the search results. So I know that the network piece is working.

    Any ideas or suggestions on what to try? I have asked Algolia but the plugin is Development mode, so support is almost non-existent.

    Other things I have tried:
    1. I placed the Search bar in the footer as well (thinking that maybe the opacity might be a problem in the header). Same result
    2. I have tested the same plugin on a similar site (with identical plugins) but with a non-Genesis theme. It works fine. That is why I have concluded that this might be related to Genesis.
    3. As I stated above, when I type in the Search bar in the top right corner within the WordPress Admin menu, it does work.

    https://www.tacknrider.com/
    May 3, 2016 at 11:03 pm #184941
    Victor Font
    Moderator

    The search tool is generating jQuery errors. It's probably a good reason why it's not working as you expect it to.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 4, 2016 at 4:56 pm #184990
    amitramani
    Member

    @Victor, thanks.

    But I do not see any errors in the Console under Google Chrome Inspect Tools.

    Can you please post what errors you are receiving?

    May 4, 2016 at 5:18 pm #184991
    Victor Font
    Moderator

    The error I saw yesterday is gone. You just have warnings now:

    mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
    Use of getPreventDefault() is deprecated. Use defaultPrevented instead.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 4, 2016 at 6:18 pm #184996
    Victor Font
    Moderator

    Here's the error: TypeError: this._searchContext is undefined

    enter anything into the search field and hit enter. The error comes up right away.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    July 19, 2016 at 10:03 pm #189827
    amitramani
    Member

    I was able to figure out (with help from Algolia engineers) why this was not working on Genesis themes. For anyone else looking for an answer to this, please change the CSS in your child theme's style.css:

    .search-form {
    /*
    overflow: hidden;
    */
    overflow: visible !important;
    }

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble