| 开发者 |
DavidoffNeal
sharethis scottstorebloom |
|---|---|
| 更新时间 | 2026年10月9日 21:18 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 |
| 版权网址: | 版权信息 |
[scca] - the same box as a shortcode, for the classic editor, widgets, templates and page builders.[scca_hide] - leave the box off one particular post or page./wp-content/plugins/ directoryIn your dashboard under Custom Content. It is a top-level menu item, not under Settings or Plugins.
No. Your content, colours, sizes and placement are carried across the first time you open the settings screen after upgrading, and the old settings are tidied away afterwards. Version 1.x had a single Posts / Pages / Both dropdown, which becomes a checkbox each. If you were on 1.0, which only ever showed the content on posts, Posts is ticked and Pages is not.
Three things to check:
[scca] shortcode if you want the box there.Yes. Add the [scca_hide] shortcode anywhere in that post's content. The box is left off that post, and every other post is unaffected.
Yes, in two ways. Use the Custom Content block to place it exactly where you want it in the block editor, or the [scca] shortcode anywhere shortcodes are allowed - a widget, a template, a page builder.
If you only ever want to place it by hand, untick both Posts and Pages and use the block or the shortcode alone.
No. The block shows the content from the settings screen, so editing it once updates every post and page that uses the block. The editor preview is the real front-end markup, so what you see while editing is what your visitors get.
Yes. The content is run through WordPress's shortcode handling just like post content, so shortcodes from your other plugins work inside the box.
Not from this plugin - there is one box, shared by every post and page, which is what makes it a one-place change. Use [scca_hide] on the posts that should not have it.
The box is now .scca rather than #scca, because it can appear more than once on a page - before and after your content, or several times via the shortcode. Change #scca to .scca in your CSS, or paste your rules into the Additional CSS box on the settings screen.
Raise or lower Content Filter Priority on the Advanced tab. A lower number runs earlier, a higher number later, and 10 is WordPress's default.
Yes. The box is rendered as ordinary HTML with no per-visitor content, so it caches safely.
[scca] shortcode to place the box by hand, and [scca_hide] to leave it off a post..scca rather than #scca, so it can appear more than once on a page.