Ankush Mehrotra
asked 6 years ago

Hello,
I am using dw-minion theme on my website. The fixed panel at the left, with search box on the top, is not working as desired. Kindly help, look into the screenshots below:

 
every search with this box produces 404

Kindly resolve.

Ankush Mehrotra
replied 6 years ago

And the social links are opening in the same tab, i want them to open in new tab.

2 Answers
Wilfred
answered 6 years ago

1. Search:
I have checked your site and things work find, here is the result when I search for keyword “a”

 
2. Social:
In order to open Social in new tab, you can do as follow:
– Open file extras.php in your site > wp-content > themes > your theme > inc > extras.php
– Add target=”_blank” line to line 225, 226, 227, 228, 229 

 
  Hope this helps!
 

Ankush Mehrotra
replied 6 years ago

Hello Wilfred, You might have searched from the home page, that would work, because this search box adds [/?s=”keyword”], which is supposed to be correct for the home page. Try it from any post, here is one example; http://www.wattsay.com/epic-lol-face/?s=awesome

And thanks for the location of social icons. I have done it like butter now.

Wilfred
answered 6 years ago

Hi Ankush, 
I understand the issue now, please fix the issue by following these steps:
1. Open file extras.php in your site > wp-content > themes > your theme > inc > extras.php
2. Replace following code – line 212 

 <form onsubmit="doSearch(this.searchTerm.value); return false;">

by 

 <form action="<?php echo esc_url( home_url( '/' ) ); ?>">

  Please try and let me know the results.

Ankush Mehrotra
replied 6 years ago

Voila!
It worked Wilfred.
Thanks Man, you are a saviour.
If you do have a running website, kindly provide me the link, so that I can backlink you, as a return gift.

Powered by DW Question & Answer Pro