前言
Bricks 模板设置控件的 schema。
基本信息
- 英文名称:
Bricks Template settings - 中文名称:Bricks 模板设置
- Schema ID:
bricks://settings/template - Schema 版本:
2.3 - 类型:
object
设置项
headerPosition— 页头位置 (select)headerSticky— 粘性页头 (checkbox)headerStickyOnScroll— 滚动时粘性 (checkbox)headerStickyScrollingBackground— 滚动背景 (background)headerStickyScrollingBoxShadow— 滚动盒子阴影 (box-shadow)headerStickyScrollingColor— 滚动文字颜色 (color)headerStickyScrollingColorHover— 滚动文字颜色 (color)headerStickySlideUpAfter— 延迟收起 (number)headerStickyTransition— 过渡 (text)headerWidth— 页头宽度 (number)passwordProtectionBypassLoggedIn— 登录用户禁用 (checkbox)passwordProtectionEndDate— 结束日期 (datepicker)passwordProtectionPassword— 密码 (text)passwordProtectionSchedule— 定时 (checkbox)passwordProtectionSource— 密码来源 (select)passwordProtectionStartDate— 开始日期 (datepicker)popupAjax— 通过 AJAX 获取内容 (checkbox)popupAjaxLoaderAnimation— 动画 (select)popupAjaxLoaderColor— 颜色 (color)popupAjaxLoaderScale— 缩放 (number)popupAjaxLoaderSelector— CSS 选择器 (text)popupAlignItems— 交叉轴对齐 (align-items)popupBackdropTransition— 过渡 (text)popupBackground— 背景 (background)popupBodyScroll— 滚动 (checkbox)popupBreakpointMode— popupBreakpointMode (select)popupCloseOn— 关闭触发 (select)popupContentBackground— 背景 (background)popupContentBorder— 边框 (border)popupContentBoxShadow— 盒子阴影 (box-shadow)popupContentHeight— 高度 (number)popupContentMaxHeight— 最大高度 (number)popupContentMaxWidth— 最大宽度 (number)popupContentMinHeight— 最小高度 (number)popupContentMinWidth— 最小宽度 (number)popupContentPadding— 内边距 (spacing)popupContentWidth— 宽度 (number)popupDisableAutoFocus— 禁用自动聚焦 (checkbox)popupDisableBackdrop— 禁用背景遮罩 (checkbox)popupInfoBoxWidth— 宽度 (number)popupIsInfoBox— 信息框 (checkbox)popupIsWoo— WooCommerce (checkbox)popupJustifyConent— 主轴对齐 (justify-content)popupLimitLocalStorage— 跨会话 (number)popupLimitSessionStorage— 单会话 (number)popupLimitTimeStorage— 小时后再次显示 (number)popupLimitWindow— 单次页面加载 (number)popupPadding— 内边距 (spacing)popupScrollToTop— 滚动到顶部 (checkbox)popupShowAt— popupShowAt (select)popupShowOn— popupShowOn (select)popupZindex— Z 索引 (number)templateConditions— 归档类型 (repeater)templatePreviewAuthor— 作者 (select)templatePreviewPostId— 单个 (select)templatePreviewPostType— 文章类型 (select)templatePreviewSearchTerm— 搜索词 (text)templatePreviewTerm— 术语 (select)templatePreviewType— 内容类型 (select)template_interactions— 交互 (repeater)
补充说明
更多细节可参考 Bricks 官方 Academy 文档。