how remove font to increase site speed load

You can either make a child theme, or make a plugin. Within that child theme or plugin, you’ll dequeue one of the copies. If you don’t have any other theme customizations, it probably makes the most sense to create a custom plugin. Both your theme and your plugin are paid, so you’ll need to look … Read more

Use current class method inside add_submenu_page()

You’re getting that error because the 5th parameter for add_submenu_page() should be a string which is the menu slug and yet you supplied a callback ([$this,’sports_info_page’]). So be sure to use a valid slug like so and the error will be gone: add_submenu_page( ‘sports_info’, // parent slug ‘Sports Information’, // page title ‘Sports Information’, // … Read more

What is the best way to cache pages on WordPress

No, there isn’t. WordPress does not provide page caching mechanisms, and has no APIs for it. There is no generic way to say example.com/page is now stale and needs recreating. Nor is there any generic way to pre-generate every page short of visiting them all. Every plugin uses a different solution with different APIs and … Read more

Can inactive WordPress plugins still load scripts?

Many hypotheses could be made, but the most probable ones are that the theme or a third plugin loads the script if a specific option saved in the database has a certain value. If the plugin is installed but not active that hypothetical option still exists in the database, on the contrary, when you delete … Read more