Welcome Guest, Not a member yet? Register   Sign In
Add Google search to codeigniter 4 website

(03-29-2021, 02:30 AM)InsiteFX Wrote: This works for me.

<!-- <!-- Horiz -->
<!DOCTYPE html>
<html lang="en-US">

<div id="google_translate_element"></div>

<script type="text/javascript">
function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');

<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

<p>This example displays a vertical translate button.</p>


Try that.

But this is for google translate..I want for google search

Messages In This Thread
RE: Add Google search to codeigniter 4 website - by coderscvoen - 03-31-2021, 05:01 AM

Theme © iAndrew 2016 - Forum software by © MyBB