Linux 软件免费装
Banner图

Mosne Hero

开发者 mosne
更新时间 2026年1月4日 06:28
PHP版本: 6.7 及以上
WordPress版本: 6.9
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

performance image block cover

下载

0.1.2

详情介绍:

安装:

This section describes how to install the plugin and get it working.
  1. Upload the plugin files to the /wp-content/plugins/mosne-hero directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.

屏幕截图:

  • Add desktop image and activate the high fetch priority
  • Add mobile image and select the size that perfectly fits your design
  • Render of the block in desktop
  • Render of the block in mobile

常见问题:

Can I use hooks to configure the plugin?

Yes, you can use hooks to configure the plugin. add_filter( 'mosne_hero_enable_image_size', '__return_false' ); add_filter( 'mosne_hero_mobile_width', 'your_function' ); add_filter( 'mosne_hero_mobile_retina_width', 'your_function' ); add_filter( 'mosne_hero_mobile_height', 'your_function' ); add_filter( 'mosne_hero_mobile_retina_height', 'your_function' ); add_filter( 'mosne_hero_crop', 'your_function' ); add_filter( 'mosne_hero_breakpoint', 'your_function' ); add_filter( 'mosne_hero_settings', 'your_function' );

  • This will disable the image size registration.
  • This will return the mobile width and the mobile retina width.
  • This will return the mobile height and the mobile retina height.
  • This will return the crop option.
  • This will return the breakpoint.
  • This will return the settings.

更新日志:

0.1.1 0.1.0