google – XTRA Tutorials https://xtratheme.com/docs Documentation of XTRA WordPress Theme Tue, 03 Sep 2024 10:22:37 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 How to Use Google Fonts Not Listed in Your Theme’s Font Library? https://xtratheme.com/docs/how-to/how-to-use-google-fonts-not-listed-in-your-themes-font-library/ https://xtratheme.com/docs/how-to/how-to-use-google-fonts-not-listed-in-your-themes-font-library/#respond Tue, 13 Aug 2024 11:46:02 +0000 https://xtratheme.com/docs/?p=3373

Description and Screenshot

Step 1
XTRA

Use Google Fonts

Under Theme Options > Typography  you can add a font from Google Fonts, even if that font is not available in the font list of the Xtra Theme, just write its correct name in the font name field of the StyleKit, as shown in the screenshot of the guide below.

Typo1
Typograpgy22
]]>
https://xtratheme.com/docs/how-to/how-to-use-google-fonts-not-listed-in-your-themes-font-library/feed/ 0
Element: Google Map https://xtratheme.com/docs/page-builder/element-google-map/ https://xtratheme.com/docs/page-builder/element-google-map/#respond Mon, 17 Jun 2024 07:35:16 +0000 https://xtratheme.com/docs/?p=1492

Description and Screenshot

Step 1

Custom modern Google Map element, fully customizable colors, sizes, styling, pin, information, etc.

Googlemap
  • Google API Key – This is important, You can get your API Key from Here
  • Lat – Is latitude that you can find it for your address Here
  • Long – Is longitude that you can find it for your address Here
  • Zoom – Number of zoom on map, this works reverse mode, 14 is default
  • Map size – You can set map width and height size in px
  • Color scheme – Color scheme of map
  • Custom color – You can set custom color scheme for google map
  • Grayscale Effect? – You can also set grayscale mode for map
  • Marker – If you want you can set custom market / pin image for your map
  • Marker image – Set custom market image, recommended PNG format
  • Info text – You can insert your office or company information and will display on marker
  • Show info by default? – Display information on marker by default
  • Enable mouse wheel? – Enable mouse wheel for zoom in or zoom out on map
  • Hide map controls? – This will hide all map controls like zoom icons
  • Advanced tab – Responsive, Animation, Parallax, etc.
]]>
https://xtratheme.com/docs/page-builder/element-google-map/feed/ 0
How to Fix a Google Map That Stopped Working? https://xtratheme.com/docs/how-to/how-to-fix-a-google-map-that-stopped-working/ https://xtratheme.com/docs/how-to/how-to-fix-a-google-map-that-stopped-working/#respond Fri, 14 Jun 2024 07:30:18 +0000 https://xtratheme.com/docs/?p=2569

Description and Steps

Step 1
XTRA

How to show google map on your website

Recently Google Map changed their API key’s, So please edit your google map and insert new API key.

You can get new API key here:

https://developers.google.com/maps/documentation/javascript/get-api-key



Alternative Method:

Another way for showing google map on your site is google map iframe, Go to this page: https://www.google.com/maps/


Then search your address and click on share button, Then copy embed code and in your page via page builder add Raw HTMLelement and paste embed code. Please see attachment.

Google map 1
Google map 2
Tips

You may want to know …

  • Other solution – You can purchase google map API and use Google Map element and with your API key you can show google map without iframe on your website.
]]>
https://xtratheme.com/docs/how-to/how-to-fix-a-google-map-that-stopped-working/feed/ 0
Google Fonts and GDPR Compliance https://xtratheme.com/docs/how-to/google-fonts-and-gdpr-compliance/ https://xtratheme.com/docs/how-to/google-fonts-and-gdpr-compliance/#respond Fri, 14 Jun 2024 05:51:45 +0000 https://xtratheme.com/docs/?p=2526

Description and Steps

Step 1
XTRA

How to fix google fonts GDPR?

Tips

You may want to know …

  • Other solution – Also there are a lot of free and premium plugins for this purpose. You can go to https://wordpress.org and search in plugins directory.
]]>
https://xtratheme.com/docs/how-to/google-fonts-and-gdpr-compliance/feed/ 0
How to Add Google Analytics Code to Your Website: A Step-by-Step Guide? https://xtratheme.com/docs/how-to/how-to-add-google-analytics-code-to-your-website-a-step-by-step-guide/ https://xtratheme.com/docs/how-to/how-to-add-google-analytics-code-to-your-website-a-step-by-step-guide/#respond Wed, 12 Jun 2024 19:45:17 +0000 https://xtratheme.com/docs/?p=2480

Description and Steps

Step 1
XTRA

Add Google Analytics code

Adding Google Analytics Tracking Code to your website is very easy, Locate your Tracking code: Your tracking code is located in Google Analytics under the Admin panel. Make sure you are copying all the Tracking Code and NOT the user id. Add tracking code to your site: Go to Theme Options > General Settings > Custom Codes > Before closing /head and paste your tracking code

20 1 1
23
Tips

You may want to know …

  • Other solution – Also there are a lot of free and premium plugins for adding your analytics code and see online tracking on your website dashboard. You can go to https://wordpress.org and search in plugins directory.
]]>
https://xtratheme.com/docs/how-to/how-to-add-google-analytics-code-to-your-website-a-step-by-step-guide/feed/ 0
codevz/disable/google_fonts https://xtratheme.com/docs/developer/codevz-disable-google_fonts/ https://xtratheme.com/docs/developer/codevz-disable-google_fonts/#respond Wed, 12 Jun 2024 11:45:18 +0000 https://xtratheme.com/docs/?p=2840

Example code

Step 1
XTRA

How to disable google fonts on website?

In the following example you can see how to disable loading of google fonts on your website with a simple filter.

XTRA

How and where should I add this PHP codes?

Best solution is to add custom actions and filters in Child Theme functions.php file. But also you can create your own plugin and use this codes in your plugin.

]]>
https://xtratheme.com/docs/developer/codevz-disable-google_fonts/feed/ 0