Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter atomicadam

    (@atomicadam)

    answered my own question, but unfortunately requires to hack the plugin.

    in wp-google-search.php line 157
    $content .= ‘<div class=”gcse-‘ . $gcse_code . ‘” data-enableHistory=”true” data-linktarget=”_self”></div>’;

    add data-enableHistory.

    You guys should allow for the shortcode to accept arguments that could just output some of the custom search API options found here: https://developers.google.com/custom-search/docs/element?hl=en

    Wouldn’t be that hard to do and would make the plugin just that much more usable.

    Plugin Author WebshopLogic

    (@webshoplogic)

    Hi Adam,

    We will change this code into the next version, thank you for this suggestion.
    Since then you can use the “hacked” version.

    Peter

    Thread Starter atomicadam

    (@atomicadam)

    Awesome Peter,

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘set browser back button to go back on results pagination’ is closed to new replies.