Server-Side Google Search Plugin WordPress, Download, Install

Adds a lightweight Google Custom Search to your website, without the need for
JavaScript.

Server-Side Google Search Download Now

Download Now

(If the link does not work)↓

Originals Link WordPress.org

https://wordpress.org/plugins/server-side-google-search/

How to Install Server-Side Google Search Plugin, Manually

  1. Upload the plugin to the /wp-content/plugins/ directory.
  2. Activate it through the Plugins menu in WordPress.
  3. Register your Google Custom Search Engine and get your Google Search Engine ID and API key here: https://www.google.com/cse/
  4. Enable the plugin and enter the Google Search Engine ID and API key (Settings -> Server-Side Google Search)
  5. If necessary, add the default search widget to the sidebar where you want to see it
  6. Put the Server-Side Google Search widget on the sidebar where you want to see the results
  7. Your theme will need to override the page that displays the “Nothing Found”
    message when the search results are displayed.

Example of how to add custom metadata to search results

In your header.php:

<!-- <PageMap>     <DataObject type="post_metadata">         <Attribute name="modified_date" value="<?php the_modified_date( "M d, Y", '', '', true ); ?>" />     </DataObject> </PageMap> -->

In your functions.php:

function add_modified_date( $metadata, $item_data ) {     return $metadata . sprintf(         'Last modified on: %s',         $item_data['pagemap']['post_metadata'][0]['modified_date']     ); }  add_filter( 'ssgs-add-post-search-metadata',             'add_modified_date', 10, 2 );

Video

Plugin Not Working?

If any errors or problems with the plug-in then write comments.

Add a Comment

Your email address will not be published. Required fields are marked *