| 开发者 | devikas301 |
|---|---|
| 更新时间 | 2026年8月9日 14:30 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[rockon_breadcrumbs] into a page, or call raio_breadcrumbs() in a template. The trail handles posts, pages, hierarchical categories, custom post types, archives, search results and 404s, with a configurable separator and home label.
Content control
Wrap any content in [rockon_content] to decide who sees it — by login state, role, capability, user ID, or a scheduled date window.
[rockon_content logout]Guests only[/rockon_content]
[rockon_content cap="edit_posts"]Editors and above[/rockon_content]
[rockon_content user="1,20"]Specific users[/rockon_content]
[rockon_content hide="subscriber"]Everyone except subscribers[/rockon_content]
[rockon_content start="2026-01-01" end="2026-02-01"]January only[/rockon_content]
Conditions combine, so role="editor" day="mon" requires both.
Header and footer scripts
Add analytics, verification tags or custom CSS to every page without touching your theme. Script fields are restricted to users who can already publish unfiltered HTML.
Disable comments
One switch closes comments site-wide, hides existing threads, and strips the comment UI out of the admin menu, dashboard and toolbar.
Move scripts to the footer
Defer head scripts to just before </body> to improve perceived load time. Works with themes and plugins that enqueue correctly.
wp-content/plugins/.No. Every free feature keeps working, and your premium settings are preserved rather than erased — they simply stop applying until you renew.
Yes. Use raio_breadcrumbs() to echo it, or raio_breadcrumbs( false ) to get the markup back as a string.
It can, if your theme expects scripts in the head. Enable it and check your site before leaving it on.
<nav>/<ol> markup.