aptivate / server-side-google-search

WordPress plugin to access Google Site Search API without JavaScript
GNU General Public License v2.0
2 stars 2 forks source link

Widget is empty! #2

Open b0tm1nd opened 9 years ago

b0tm1nd commented 9 years ago

When I add a widget I see no search form! Only this HTML is seen:

<div id="ssgs_widget-2" class="header-widget widget_ssgs_widget amr_widget"><div class="ssgs-result-wrapper"></div></div>

martinburchell commented 9 years ago

Have you searched for anything? What is the URL of the page?

b0tm1nd commented 9 years ago

How can I search if there is no form? I've tried to include the widget both on homepage and also at /search/ special page. I've slso seen this issue been reported on wordpress plugins site, but the solution worked for the other person is totally unclear to me.

martinburchell commented 9 years ago

Which theme are you using? With Twenty Fourteen I just dragged the default Search widget into the Content Sidebar, where I'm also displaying the search results

b0tm1nd commented 9 years ago

Awakening 2.0.3

The Awakening theme for WordPress is a fully responsive theme developed on top of Foundation Framework 5

martinburchell commented 9 years ago

From the admin panel, under Appearance -> Widgets drag the default Search widget and the Server-Side Google Search (SSGS) Widget into Sidebar Right. On the home page type a search term into the search box, hit enter and the search results should appear below the search box.

martinburchell commented 9 years ago

@b0tm1nd is this still an issue for you or can I close it?

martinburchell commented 9 years ago

On 29/06/15 10:23, dpatil-gmcs wrote:

@martinburchell

I have same issue. I have done all steps you have mentioned in the https://github.com/aptivate/server-side-google-search/issues/2#issuecomment-100839248 comment. When I hit enter Wordpress's default search engine displays result on the search result page.

Sorry to hear that.

Which theme and WordPress version are you using?

Martin

dpatil-gmcs commented 9 years ago

@martinburchell

Great Plugin!!! Exactly what I wanted to implement.

Thank you very much for you reply. My bad. Issue is resolved and I was able to put widget inside CONTENT section on SEARCH RESULT page instead of sidebar.

Once again Thanks!!

fred-pedro commented 9 years ago

Only displays an empty widget. I'm using Roots Theme.

martinburchell commented 9 years ago

@fred-pedro can you point me to a link to download that theme? Is it https://github.com/roots/sage ?

fred-pedro commented 9 years ago

Yes, that's the theme. It has been re-branded to Sage.

martinburchell commented 9 years ago

From the admin panel, under Appearance -> Widgets drag the default Search widget and the Server-Side Google Search (SSGS) Widget into Primary.

It looks like for this theme, the Primary sidebar doesn't appear on the home page but it does appear on the page for a post. Go to the page for a post and type something into the search box and you should see the results directly below. You'll probably want to change where the search results appear (and disable the default WordPress search) but that should at least prove the plugin is working.

fred-pedro commented 9 years ago

Thank you for the kind response, but I think you could better help me if you could have a look at what we're working. Kindly visit http://staging.annuityfyi.com. I posted the wordpress default search in the footer, then the Server Side Google Search plugin after that.