Linux 软件免费装

Sticky Block for Gutenberg Editor

开发者 senff
更新时间 2025年1月16日 00:08
捐献地址: 去捐款
PHP版本: 5.0 及以上
WordPress版本: 6.7
版权: GPLv3
版权网址: 版权信息

标签

gutenberg sticky sticky block

下载

1.11 1.11.1

详情介绍:

Summary The Gutenberg Sticky Block can be added to any Post or Page and will be sticky as soon as it hits the top of the page after you scroll down. The Sticky Block can contain any other Blocks (Paragraphs, Images, etc.), and can also be used in other Blocks (e.g. Column or Table). The main principle is the same as my Sticky Menu (Or Anything) plugin, and the basic code of that plugin has been used in this Sticky Block plugin as well. If you want to make anything sticky outside of the content area (e.g navigation menu, widgets), use the Sticky Menu (Or Anything) plugin instead of Sticky Block. Featured BLOCK OF THE WEEK (Sep 16, 2021). Features

安装:

  1. Install Sticky Block from the WordPress Plugin Directory. Or, if that doesn't work:
  2. Upload the "sticky-block" directory to your "wp-content/plugins" directory.
  3. In your WordPress admin, go to PLUGINS and activate "Sticky Block"
  4. When editing a Post or Page, find the Sticky Block in the Layout section of the available Blocks.
  5. Party!

屏幕截图:

  • A Sticky Block (containing a Media-Text Block) with all its options

升级注意事项:

1.11.1
  • Code updates

常见问题:

I'll need more help please!

= Can I add more than one Sticky Block on a page? Yes you can. Unlike the Sticky Menu (Or Anything) plugin (where you can select only one sticky element), the Sticky Block plugin will let you add as many Sticky Blocks as you want. = Is it possible to add some styles to the element but only when it's sticky? To add styles to your Block when it's not sticky, use classname ".block-is-not-sticky". To add styles to your Block only when it's sticky, use classname ".block-is-sticky". The following code would give your Block a red background only when it's not sticky, and blue only when it is: .block-is-not-sticky { background: red; } .block-is-sticky { background: blue; } You may need to be more specific with your CSS, to override other default styles. Please go to the plugin's support forum on WordPress.org and post a message (include a link to your site if possible).

I need some functionality that the plugin currently doesn't support. Can you help make a custom version?

I am currently not available for any custom work.

How was this plugin made?

Sticky Block was created using the Create Guten Block Toolkit by Ahmad Awais.

更新日志:

1.11.1 1.11 1.1 1.0