This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Replace Theme Search

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14857
    hateanhatean
    Participant

    Hello,

    Great plugin, loving it!

    I have one problem though, I cannot replace the default search with your plugin. I created an instance and set it as replacing the default but it does not work. COuld you please assist?

    Best,
    Yusuf.

    #14862
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Yusuf,

    Thank you for your kind words!

    If the automatic replacement is not working, the the theme search bar must be hard-coded to one of the theme files. I’m guessing you are reffering to the header pop-out search bar.

    While customizations and installations are not part of support, I will try to help you with this as much as I can. For this reason I cannot guarantee I’m able to do this.
    Can you please add temporary FTP details as well? I will try to track down the theme file that has the search code hard-coded and place it to the child theme directory, and replace it with the plugin shortcode there if possible.

    #14870
    hateanhatean
    Participant

    You cannot access this content.

    #14890
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Yusuf,

    Thank you for the details, they worked flawlessly.

    The good news is, that I was able to track down the code that is responsible to print the header form, and was able to make a change to it so now the ajax search pro shortcode is displayed instead of the default search bar.

    The bad news is that it was not hard-coded into the theme, but included from one of the plugins called hybrid-composer. I guess that might be bundled with the theme or something similar. Unfortunately I had to make direct changes to one of the plugin files, as the search form was simply hard-coded there. In case that hybrid-composer plugin is updated, this change will most likely be deleted.

    In that case if you need to restore it on an update event, just follow these steps:
    – Open up the \wp-content\plugins\hybrid-composer\headers\menu-classic.php file via FTP
    – Replace it’s contents with this: https://goo.gl/Gboqe7
    And that should restore the changes.

    #14958
    hateanhatean
    Participant

    Hello Ernest,

    You are the best! It does work flawlessly.

    That is correct, Hybrid Composer comes with the theme. I will keep this in mind in case the theme is updated.

    I can’t thank you enough!

    Best,
    Yusuf.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.