All Theme Tweaks settings explained

Lighthouse – WordPress Performance & Security Plugin

Theme Tweaks

  1. Disable HTML in WordPress comments: This option disables HTML markup in comments on your WordPress site. It helps prevent potential security risks from malicious code injection in comments.
  2. Remove comment reply script (if using a third-party comment plugin): This removes the JavaScript script responsible for handling comment replies. It’s useful if you’re using a third-party comment plugin that provides its own reply functionality.
  3. Remove native/core lazy loading (if using a third-party lazy-loading plugin): Disables the native lazy loading of images in WordPress. It’s recommended to use this option if you’re using a third-party lazy-loading plugin to prevent conflicts.
  4. Remove jetpack.css if not needed: Removes the Jetpack CSS file if you’re not using Jetpack features that require it, helping to reduce unnecessary file requests and improve site performance.
  5. Remove classic-themes.min.css if not needed (WordPress 6.1+): Removes the CSS file for classic themes introduced in WordPress 6.1 if it’s not needed for your theme, reducing unnecessary stylesheet loading.

User Tweaks

  1. Remove application passwords feature: Disables the application passwords feature, which allows users to generate application-specific passwords for third-party services to access their WordPress account.

Block Editor Tweaks

  1. Remove post-formats theme support: Removes support for post formats in your theme. Post formats allow you to apply different styles to different types of posts (e.g., standard, gallery, video), but this feature is now deprecated.
  2. Remove widgets-block-editor theme support: Removes support for the block-based widget editor. This can be useful if your theme provides its own widget management system.
  3. Remove responsive-embeds theme support: Disables the automatic embedding of responsive styles for embedded content such as videos, which may be necessary depending on your theme’s design.
  4. Remove editor-styles theme support: Disables the default styles for the block editor. This may be necessary if your theme provides its own editor styles.
  5. Remove wp-block-styles theme support: Disables the default styles for blocks in the editor. This may be necessary if your theme provides its own block styles.
  6. Remove block-templates theme support: Removes support for block templates, which are predefined layouts of blocks. This can be useful if you don’t want to use block templates in your theme.
  7. Remove core-block-patterns theme support: Removes support for core block patterns, which are predefined collections of blocks. This can be useful if you want to customize block patterns or don’t want to use them at all.
  8. Remove WooCommerce theme support: Removes support for WooCommerce functionality in your theme if you’re not using WooCommerce or if you want to handle WooCommerce styles and functionality separately.

Optimization

  1. Clean up and disable blogging/commenting features: Disables blogging and commenting features, including comments, pingbacks, trackbacks, and removes all trackbacks. Useful for business websites that don’t need these features, improving performance and security.