meta – XTRA Tutorials https://xtratheme.com/docs Documentation of XTRA WordPress Theme Tue, 03 Sep 2024 10:12:29 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 How to Add Google Analytics and Meta Tags to Your Website? https://xtratheme.com/docs/how-to/how-to-add-google-analytics-and-meta-tags-to-your-website/ https://xtratheme.com/docs/how-to/how-to-add-google-analytics-and-meta-tags-to-your-website/#respond Thu, 15 Aug 2024 07:43:21 +0000 https://xtratheme.com/docs/?p=3455

Description and Screenshot

Step 1
XTRA

Add Google Analytics and Google meta tags

Without installing the plugin, you can easily add the code to connect to Google Analytics in the Theme Options.
Path is  Theme Options > General > Custom Codes > Before closing </head>

Step1
Scr2
Scr33
Tips

You may want to know …

Also, Js and CSS codes can be added in the special fields of the section.

]]>
https://xtratheme.com/docs/how-to/how-to-add-google-analytics-and-meta-tags-to-your-website/feed/ 0
codevz/archive/after_meta https://xtratheme.com/docs/developer/codevz-archive-after_meta/ https://xtratheme.com/docs/developer/codevz-archive-after_meta/#respond Tue, 18 Jun 2024 08:58:07 +0000 https://xtratheme.com/docs/?p=2933

Example code

Step 1
XTRA

Using WordPress action add content or PHP codes

In the following example you can see how to add content or PHP codes after posts meta in archive pages.

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-archive-after_meta/feed/ 0
codevz/archive/before_meta https://xtratheme.com/docs/developer/codevz-archive-before_meta/ https://xtratheme.com/docs/developer/codevz-archive-before_meta/#respond Tue, 18 Jun 2024 08:54:25 +0000 https://xtratheme.com/docs/?p=2930

Example code

Step 1
XTRA

Using WordPress action add content or PHP codes

In the following example you can see how to add content or PHP codes before posts meta in archive pages.

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-archive-before_meta/feed/ 0
codevz/single/before_meta https://xtratheme.com/docs/developer/codevz-single-before_meta/ https://xtratheme.com/docs/developer/codevz-single-before_meta/#respond Sun, 16 Jun 2024 10:42:10 +0000 https://xtratheme.com/docs/?p=2874

Example code

Step 1
XTRA

Using WordPress action add content or PHP codes

In the following example you can see how to add content or PHP codes before any posts meta in single post page.

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-single-before_meta/feed/ 0
How to Change the Post Date Format on Your WordPress Website? https://xtratheme.com/docs/how-to/how-to-change-the-post-date-format-on-your-wordpress-website/ https://xtratheme.com/docs/how-to/how-to-change-the-post-date-format-on-your-wordpress-website/#respond Tue, 11 Jun 2024 10:00:27 +0000 https://xtratheme.com/docs/?p=2430

Description and Steps

Step 1
XTRA

Custom date format for posts

To change all posts date and time format, Go to Dashboard > Settings > General and find Date and Time Format settings.

Time
Tips

You may want to know …

  • Custom Format  – In official PHP website you can find out all the date and time formats, Click here, Or by searching in google you can find date formats.
]]>
https://xtratheme.com/docs/how-to/how-to-change-the-post-date-format-on-your-wordpress-website/feed/ 0
codevz/page/meta https://xtratheme.com/docs/developer/codevz-page-meta/ https://xtratheme.com/docs/developer/codevz-page-meta/#respond Tue, 11 Jun 2024 07:47:51 +0000 https://xtratheme.com/docs/?p=2755

Example code

Step 1
XTRA

Using WordPress filter to modify any page meta values

In the following example you can see how to change page layout to left.

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.

XTRA

How to find any page meta settings key?

In the below screenshot, you can see how to find hide header page meta key. First edit your page in backend 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 hide header key is hide_header

How to find page meta key settings min
]]>
https://xtratheme.com/docs/developer/codevz-page-meta/feed/ 0