custom – XTRA Tutorials https://xtratheme.com/docs Documentation of XTRA WordPress Theme Tue, 03 Sep 2024 10:09:57 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 How to Add Border Radius to All Website Images at Once? https://xtratheme.com/docs/theme-options/how-to-add-border-radius-to-all-website-images-at-once/ https://xtratheme.com/docs/theme-options/how-to-add-border-radius-to-all-website-images-at-once/#respond Tue, 13 Aug 2024 10:10:54 +0000 https://xtratheme.com/docs/?p=3352

Description and Screenshot

Step 1
XTRA

Set Border Radius for all Images

Under Theme Options > General  > Colors & Styling > Styling > Images from this section, you can specify the style and especially the Border Radius for all site images.

Imggg111
Imggg222
Img3
]]>
https://xtratheme.com/docs/theme-options/how-to-add-border-radius-to-all-website-images-at-once/feed/ 0
How to Enable or Disable Share Icons for Products and Posts? https://xtratheme.com/docs/theme-options/how-to-enable-or-disable-share-icons-for-products-and-posts/ https://xtratheme.com/docs/theme-options/how-to-enable-or-disable-share-icons-for-products-and-posts/#respond Tue, 13 Aug 2024 09:42:01 +0000 https://xtratheme.com/docs/?p=3339

Description and Screenshot

Step 1
XTRA

Share Icons Options

Under Theme Options > General  > Share Icons > Post type you can manage the display of sharing icons. You can activate or deactivate the icons in the posts and product page and also add or remove the media.

Sha 1
Shar2
Sh3
Tips

You may want to know …

Also, in this section, you can see the settings for Tiltle, Color mode, Tooltip, Inline Title and StylKits, and customize share icons.

]]>
https://xtratheme.com/docs/theme-options/how-to-enable-or-disable-share-icons-for-products-and-posts/feed/ 0
How to Change WooCommerce Product Sorting? https://xtratheme.com/docs/theme-options/how-to-change-woocommerce-product-sorting/ https://xtratheme.com/docs/theme-options/how-to-change-woocommerce-product-sorting/#respond Tue, 13 Aug 2024 07:20:25 +0000 https://xtratheme.com/docs/?p=3305

Description and Screenshot

Step 1
XTRA

WooCommerce Options

Under Theme Options > WooCommerce  > Product Catalog you can change the display order of the product from the path.The step by step instructions are shown in the photos below

11 wo
22 wo
33 xo
Tips

You may want to know …

  • Shop page display – You can choose what to display on the main shop page.

  • Category display – You can choose what to display on product category pages.
]]>
https://xtratheme.com/docs/theme-options/how-to-change-woocommerce-product-sorting/feed/ 0
Theme Options: Additional CSS https://xtratheme.com/docs/theme-options/theme-options-additional-css/ https://xtratheme.com/docs/theme-options/theme-options-additional-css/#respond Sun, 30 Jun 2024 07:29:19 +0000 https://xtratheme.com/docs/?p=2054

Description and Screenshot

Step 1
XTRA

Additional CSS settings

Under Theme Options > Additional CSS you can add any custom CSS codes and see live changes in previewer mode then publish your changes.

Theme options additiona css
Tips

You may want to know …

  • Custom CSS – There is no limitation and you can add any type of CSS, CSS3, animations, media queries, and etc. Also you do not need to put <style> tag and only custom CSS codes will works.
]]>
https://xtratheme.com/docs/theme-options/theme-options-additional-css/feed/ 0
codevz/option/key https://xtratheme.com/docs/developer/codevz-option-key/ https://xtratheme.com/docs/developer/codevz-option-key/#respond Wed, 26 Jun 2024 09:28:36 +0000 https://xtratheme.com/docs/?p=2682

Example code

Step 1
XTRA

Using WordPress filter to modify any theme options value

In the following example you can see how to change site logo image URL only on home page of your website, Other pages will get logo from theme options.

In filter name you can change xtra/option/logo to modify another option, for example for modifying layout value, try xtra/option/layout and return your value.

HOW

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.

HOW

How to find any theme options key?

In the below screenshot, you can see how to find site width option key. First open your customizer page then find your option and then open your browser inspect element feature to find the input name or data-depent-id attribute. Exactly like below shot you can find key. For site width key is site_width

How to find customizer field id min
]]>
https://xtratheme.com/docs/developer/codevz-option-key/feed/ 0
Theme Options: Custom Codes https://xtratheme.com/docs/theme-options/theme-options-custom-codes/ https://xtratheme.com/docs/theme-options/theme-options-custom-codes/#respond Tue, 25 Jun 2024 07:29:24 +0000 https://xtratheme.com/docs/?p=1770

Description and Screenshot

Step 1
XTRA

Custom codes fields

Under General > Custom Codes you can add your custom CSS, JS, HTML codes before closing head or before closing body tag.

  1. Custom CSS – Add your custom CSS codes without <style> tag
  2. Custom JS – Add your custom JS codes without <script> tag
  3. Before closing Head – Add your custom HTML codes
  4. Before closing Body– Add your custom HTML codes
Theme options custom codes
Tips

You may want to know …

  • Custom Codes in Head or Body – You can add custom HTML codes, Shortcodes, custom JavaScripts code with script tag, Custom google codes such as meta tags, etc.
]]>
https://xtratheme.com/docs/theme-options/theme-options-custom-codes/feed/ 0
How to Create a Custom 404 Error Page: A Step-by-Step Guide? https://xtratheme.com/docs/how-to/how-to-create-a-custom-404-error-page-a-step-by-step-guide/ https://xtratheme.com/docs/how-to/how-to-create-a-custom-404-error-page-a-step-by-step-guide/#respond Tue, 11 Jun 2024 05:53:20 +0000 https://xtratheme.com/docs/?p=2417

Description and Steps

Step 1
XTRA

Create custom page 404

XTRA theme automatically will detect your custom page 404, Go to Dashboard > Pages > Add New and create a new custom page and set its slug to 404 or page-404 then add your content and publish page or save it as draft.

404
Tips

You may want to know …

  • Default 404 options  – Go to Theme Options > General > Page 404
]]>
https://xtratheme.com/docs/how-to/how-to-create-a-custom-404-error-page-a-step-by-step-guide/feed/ 0