disable – XTRA Tutorials https://xtratheme.com/docs Documentation of XTRA WordPress Theme Tue, 03 Sep 2024 10:14:40 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 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
How to Disable Comments on an Individual Page: A Step-by-Step Guide? https://xtratheme.com/docs/how-to/how-to-disable-comments-on-an-individual-page-a-step-by-step-guide/ https://xtratheme.com/docs/how-to/how-to-disable-comments-on-an-individual-page-a-step-by-step-guide/#respond Tue, 11 Jun 2024 20:33:17 +0000 https://xtratheme.com/docs/?p=2449

Description and Steps

Step 1
XTRA

Disable comments form on single post

For disabling comments form on individual single post, First edit your post in backend and like bellow shot, enable Discussion panel and then uncheck Allow Comment checkbox and update post.

Comments
Tips

You may want to know …

  • Disable comments on all posts – If you want to disable comments form on all single posts, then go to Dashboard > Settings > Discussion and disable comments and change comments settings.
Disable comments on all posts
]]>
https://xtratheme.com/docs/how-to/how-to-disable-comments-on-an-individual-page-a-step-by-step-guide/feed/ 0