WordPress主题 文档
樱桃的选项
模板有一个高级的主题选项面板,在樱桃选项内加载. Cherry Framework 4包含了大量的主题配置选项. 你可以配置WordPress网站行为和外观的各个方面. 我们将选项组织成逻辑选项卡部分, 每个选项都有一个简短的描述,说明它将在前端做什么. 在这些文档中有太多的选项,但请花一些时间浏览每个选项卡,看看我们提供什么. Go to Cherry > Options in 你r WordPress admin panel to access the theme options panel. See below for screenshots of our options panel. 樱桃的选项 comprises several sections:
一般
一般部分包含全局的Cherry Framework配置设置.
-
- 收藏夹图标图像.
- 显示在浏览器地址栏和浏览器选项卡标题中的图标图像. 最大图标(.Ico的大小是 32 x32 px. You can also upload favicon for retina displays. Max retina icon size: 152x152 px.
-
- 维护模式
- Enable/disable 维护模式. 登录管理员可以在正常情况下完全访问网站 游客 将 redirected to the page chosen below. 您也可以在不启用的情况下预览维护页面 维护模式.
-
- 维护页面
- 选择一个页面,普通访问者将看到是否启用了维护模式. 你可以选择 WordPress page from here, including 你r custom ones.
-
- Document smooth scroll
- 启用/禁用平滑垂直滑鼠滚轮滚动(仅限Chrome浏览器).
-
- 用户的CSS
- Define custom CSS styling.
-
- 着陆页
- 定义将在其中使用着陆导航的页面.
-
- 最重要的
- Define - display or hide "To top" button.
-
- 404的内容
- Visual editor for crating 404 page content.
-
- Google Analytics Code
- Text area for Google Analytics code. 欲了解更多信息,如何添加谷歌分析代码,请访问我们的 视频教程
网格
本节包含全局布局配置设置.
-
- 响应电网
- Enable/disable responsive grid. 如果出于任何原因,您想禁用网站的响应式布局, 你 are able to turn it off here.
-
- 容器的宽度
- Width of the main website container in pixels.
布局
-
- 页面
- 您可以选择是否要显示侧边栏以及如何显示它们.
-
- 博客文章
- 您可以选择是否要显示侧边栏以及如何显示它们.
博客
该部分包含WordPress博客页面的设置(列表和单个帖子类型).
-
- 有特色的媒体
- 显示特色图像,画廊,音频,视频在博客帖子列表中,取决于帖子类型.
-
- 特色图像大小
- Set dimensions for post featured images.
-
- 有特色的图片 Alignment
- Set alignment for post featured images.
-
- 发布内容
- 选择在博客列表中显示文章内容的方式
-
- 内容部分长度
- 指定在博客列表内容部分中显示的字数. Will not work if post has an excerpt.
-
- 更多的按钮
- Enable/Disable read more button in blog listing.
-
- 更多按钮标签
- Specify read the "More" button label text.
博客 > La你t
注意! 如果你想配置“博客布局”选项,你必须有 “樱桃博客布局” 插件安装.
-
- Enable custom blog 布局
- Enable/disable custom blog 布局.
-
- 过滤器类型
- 如果要按标签或按类别过滤帖子,请选择.
-
- Custom blog filter type
- Select blog filter type.
-
- 在页面上使用
- 请指定将使用自定义博客布局的页面.
-
- 网格列
- 为具有自定义博客布局的页面选择网格布局模式.
-
- Masonry columns number
- Specify custom masonry 布局 columns number.
-
- Masonry columns gutter
- 指定自定义砌体布局列槽(px).
-
- 时间轴项目宽度
- 指定时间轴博客布局的自定义项目宽度(%).
-
- Enable timeline breakpoints
- Enable/disable timeline breakpoints.
-
- 时间轴断点
- Select timeline breakpoint type.
-
- 时间轴断点 date format
- Specify the date format.
-
- Enable marker's date label
- Enable/disable marker's date label.
-
- Timeline marker date format
- Specify the date format.
-
- 网格类型
- 为具有自定义博客布局的页面选择布局模式. Wide 布局 将 fit window 宽度. 盒式布局 有固定的 宽度.
-
- 自定义博客侧边栏
- 您可以选择是否要显示侧边栏以及如何显示它们.
-
- 模板类型
- Select template type for blog posts.
博客 > Meta
注意! 如果你想配置“附加后元”选项,你必须有插件- “樱桃博客布局” istalled.
-
- 日期
- Show/Hide post publication date.
-
- 作者
- 显示/隐藏帖子作者.
-
- 评论
- Show/Hide number of comments.
-
- 类别
- Show/Hide post categories.
-
- 标签
- 显示/隐藏帖子标签.
-
- 附加post meta
- Enable/disable additional post meta.
博客 > Post
-
- 有特色的图片
- Display featured image on the single post page.
-
- Size of 有特色的图片
- Set dimensions for single post featured images.
-
- Alignment of 有特色的图片
- Set alignment for single post featured images.
-
- 导航
- Enable/disable post navigation block.
-
- 作者简介
- Enable/disable author bio block. 作者简介 block is displayed on the post page.
-
- 相关的帖子
- Enable/disable related posts block. 在帖子页面显示相关帖子块.
-
- 允许评论
- Enable/disable comments for blog posts.
-
- 画廊滑块
- 用增强的jQuery carousel代替默认的Wordpress图库短代码.
-
- Lightbox for images in a content
- 自动添加灯箱的图像在一个帖子的内容.
-
- 附加post meta
- Enable/disable additional post meta.
样式
The section contains theme styling settings. Here 你 can edit the main theme colors.
-
- 身体的背景
- Set the background for body container. 您可以指定背景图像或颜色,设置背景重复, position and attachment.
配色方案
更改各种主题元素(如表单)的颜色, 字体设计元素, blocks with default styling, 等.
原色
二次色
成功的颜色
信息的颜色
警告的颜色
危险的颜色
-
原色. Select the main gray color hue. Additional colors 将 created automatically:
- gray-darker: darken(20%)
- gray-dark: darken(15%)
- gray-light: lighten(15%)
- gray-lighter: lighten(20%).
导航
Define website navigation settings. 菜单排版和颜色,分页和面包屑设置.
-
- Header Menu 排版
- The main header navigation typography settings. You can configure menu font and color.
-
- Footer Menu 排版
- The main footer navigation typography settings. You can configure menu font and color.
-
- 箭头标记
- Do 你 want to generate arrow mark-up?
分页
-
- 分页的位置
- Select where 你 want to display pagination.
-
- 上一页/下一页按钮
- 在分页中显示/隐藏上一个和下一个按钮.
-
- 分页标签
- 分页标签显示在分页按钮之前. Text or HTML can be used.
-
- 按钮标签
- Previous button label text. Text or HTML can be used.
-
- 下一个按钮标签
- 下一个按钮标签 text. Text or HTML can be used.
-
- 显示所有页面
- 如果设置为On,它将显示所有页面,而不是当前页面附近的简短页面列表.
-
- 最终尺寸
- 在起始或结束列表边显示多少个数字.
-
- 中期大小
- 在当前页面的两侧显示多少个数字,但不包括当前页面.
面包屑
-
- 面包屑
- Enable/disable breadcrumbs navigation.
-
- 页面标题
- Enable/disable page title in breadcrumbs.
-
- 面包屑路径移动
- Enable/disable breadcrumbs on mobile devices.
-
- Home page breadcrumbs
- Enable/disable breadcrumbs on the home page.
-
- 项目分离器
- The breadcrumbs separator symbol.
-
- 面包屑路径前缀
- 在面包屑导航前显示的文本.
Header
Settings for the website header section. Logo, background, sticky header, 等.
-
- 标题背景
- 标题背景 settings. 可以选择背景颜色,上传标题背景图片,设置 background position, attachment and repeat.
-
- 网格类型
- 选择网站标题的布局模式. Wide 布局 将 fit the window 宽度. 盒式布局 有固定的 宽度.
-
- 盒装宽度
- Header section 宽度 if boxed 布局 is active. Should not be more than the 网格 -> 容器的宽度 价值.
-
- 粘性的头
- Enable\disable 固定 stick-to-top header.
-
- 的选择器
- 选择将用于构建粘贴面板的块选择器. You can use tag name, class name or id.
头logo
-
- logo类型
- 选择主徽标是图像还是文本. If 你 select 'image,' 你 can choose a logo 图片,如果你选择“文本”,你的WordPress网站标题 将 而不是显示.
-
- 图像
- 单击“选择媒体”按钮从媒体库中选择徽标图像或上传图像.
-
- 商标印刷
- Configuration settings for text logo. 在这里你可以选择logo字体系列,大小,颜色等.
页面
一般 page options section.
-
- Background
- 页面 background settings. 可以选择背景颜色,上传页面背景图片,设置 background position, attachment and repeat.
-
- 网格类型
- 选择主网站容器的布局模式. Wide 布局 将 fit the window 宽度. 盒装 布局 将 有固定的 宽度 and left/right indents.
-
- 盒装宽度
- 页眉部分宽度(如果框式布局是活动的). Should not be more than the 网格 -> 容器的宽度 价值.
-
- 有特色的图片
- Enable/disable featured images for pages.
-
- 页面的评论
- Enable/disable comments by default for pages. 对于已经发布的页面,您需要 启用 comments individually in page settings.
Footer
Settings for the website footer section.
-
- 页脚背景
- 页脚背景 settings. 可以选择背景颜色,上传页脚背景图片,设置 background position, attachment and repeat.
-
- 排版
- 排版 settings for footer texts.
-
- 网格类型
- Select the 布局 pattern for website footer. Wide 布局 将 fit the window 宽度. 框式布局 固定 宽度.
-
- 盒装宽度
- Header section 宽度 (if boxed 布局 is active). Should not be more than the 网格 -> 容器的宽度 价值.
-
- 页脚信息文本
- Set custom text for 你r Footer area.
页脚的logo
-
- logo类型
- 选择主徽标是图像还是文本. If 你 select "image", 你 can choose a logo image from the media library in the next option. “text”类型显示WordPress站点标题.
-
- 图像
- 点击“选择媒体”按钮从媒体库中选择徽标图像或上传您的图像.
-
- 商标印刷
- Configuration settings for text logo. 在这里你可以选择logo,字体系列,大小,颜色等.
排版
Theme typography settings. 你可以配置所有方面的网站排版,字体,颜色等.
-
- 正文
- Main website text typography options.
-
- 链接排版
- 链接排版.
-
- 链接悬停颜色
- Color for links on hover.
-
- 输入文本
- 样式 of the text in forms.
-
- 面包屑 typography
- 样式 of the text in breadcrumbs.
-
- 标题1
- H1 heading font settings.
-
- 标题2
- H2 heading font settings.
-
- 标题3
- H3 heading font settings.
-
- 标题4
- H4 heading font settings.
-
- 标题5
- H5 heading font settings.
-
- 标题6
- H6 heading font settings.
-
- Webfonts
- 为选定的网页字体定义自定义字体样式和字符集.
优化
-
- Concatenate/minify CSS
- 如果需要合并或缩小CSS文件以优化性能,请选择该选项.
-
- 动态CSS输出
- 将动态CSS输出到单独的文件或样式标记中.
-
- Mega menu caching 启用d
- 启用/禁用超级菜单导航的缓存
饼干横幅
-
- Display 饼干横幅?
- Specify if 你 want to display cookie banner.
-
- 消息
- Enter the cookie banner message.