找回密码
 立即注册
the主题themeand | 前端开发 2021-09-10 405 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
1-140Q3152355595.jpg

今天我要分享Robin的wordpress主题。相信这款扁平化主题会受到很多朋友的喜欢。
本wordpress cms主题采用HTML5+CSS3响应式布局,兼容IE6+、Firefox、Chrome、Opera、Safari等主流浏览器,图片延迟加载,包括评论Gravatar头像。后台集成SEO功能,方便用户设置。主题中还集成了热门文章、随机文章、相关文章、近期评论等自定义小工具。

使用说明
■ 添加滚动公告
一、公告
启用主题后,进入后台,在左侧功能菜单中添加公告菜单,点击“发布公告”进入公告编辑页面,其他与正常编辑发布文章相同。
2. 显示公告
进入主题选项(背景>外观>主题选项)页面,在综合设置中勾选“显示公告”。

■ 下载按钮
第一步是在编辑文章时切换到文本(HTML)模式,点击编辑器工具栏上的“下载按钮”
在适当的地方添加短代码“〖file〗
第二步,添加自定义列,名称:button1,值:输入文本,如:主题下载(用于启动下载弹窗并在下载弹窗中显示按钮);
第三步,继续添加自定义列,名称:url1,值:下载文件链接;
对多个下载链接重复第二步和第三步,自定义列名:button2、button3、button4和url2、url3、url4,一共支持4个。

■ 网站标志
默认显示文本站点标题,您可以在主题选项中切换显示Logo。
为了在小屏显示设备上显示Logo,支持Retina显示,本主题需要制作4张大小不一的Logo图片,分别替换Ality\img目录和Ality\img\2x目录下的Logo图片相同的格式大小。

■ 缩略图
主题支持Wordpress特色图片,自定义栏目调用指定图片,自动调用文章第一张图片作为文章列表缩略图。
特征图自动裁剪功能默认不开启。您可以在主题选项中打开它。对于Retina显示,缩略图大小为:280×200,实际显示为:140×100,默认占位图显示无图片。
调用指定图片,需要添加自定义列,名称:缩略图,值:图片链接地址。

■ 联系页面
新建一个页面,在右侧页面Properties>Templates中选择联系方式,发布即可。
因为这个独立的模板还没有完成,使用的时候需要打开主题的Ality\inc目录下的form.php模板文件,修改里面的email地址为自己的。使用这个模板的前提是宿主空间支持邮件功能。

■ 百度站点搜索,百度推荐
这两个功能都需要网站有一定数量的文章,同时百度才能正常使用。
申请百度推荐,具体方法自行搜索学习,这里不再赘述。

(Today I want to share Robin's wordpress theme. I believe that this flat ality theme will be liked by many friends.
This wordpress cms theme uses HTML5+CSS3 responsive layout, compatible with mainstream browsers such as IE6+, Firefox, Chrome, Opera, Safari, etc. Image delay loading, including comments Gravatar avatar. Backstage integrated SEO function, convenient for users to set up. Custom gadgets such as popular articles, random articles, related articles, recent comments, etc. are also integrated into the theme.

Instructions for use
■ Add rolling announcement
1. Announcement
After enabling the theme, enter the backend, add an announcement menu in the function menu on the left, click "Publish Announcement" to enter the announcement editing page, and other things are the same as normal editing and publishing articles.
2. Display announcement
Go to the theme options (Background> Appearance> Theme Options) page and check "Show Announcement" in the comprehensive settings.

■ Download button
The first step is to switch to the text (HTML) mode when editing the article, and click the "download button" on the editor toolbar
Add the short code "〖file〗" in the appropriate place
The second step is to add a custom column, name: button1, value: input text, such as: theme download (used to start the download pop-up window and display the button in the download pop-up window);
The third step, continue to add custom columns, name: url1, value: download file link;
Repeat the second and third steps for multiple download links, and customize the column names: button2, button3, button4 and url2, url3, and url4 to support a total of 4.

■ Site Logo
The text site title is displayed by default, and you can switch to display Logo in the theme options.
In order to display the Logo on the small screen display device and support Retina display, this theme needs to make 4 logo pictures of different sizes, replace the Ality\img directory and Ality\img\2x directory, respectively, the logo pictures of the same format size.

■ Thumbnail
The theme supports Wordpress featured images, custom columns call specified pictures, and automatically call the first picture in the article as the thumbnail of the article list.
The feature image automatic cropping function is not turned on by default. You can turn it on in the theme options. For Retina display, the thumbnail size is: 280×200, the actual display is: 140×100, and the default placeholder image is displayed without a picture.
To call the specified picture, you need to add a custom column, name: thumbnail, value: picture link address.

■ Contact page
Create a new page, select the contact method in the page Properties> Templates on the right, and publish it.
Because this independent template has not yet been completed, you need to open the form.php template file in the Ality\inc directory of the theme when you use it, and modify the email address in it to be your own. The premise of using this template is that the host space supports the mail function.

■ Baidu site search, Baidu recommendation
Both of these functions require a certain amount of articles on the site, and at the same time, Baidu can be used normally.
To apply for Baidu recommendation, the specific method is to search and learn by yourself, so I won't repeat it here.)

1631266928739.rar


上一篇:wordpress主题站:汉化truepixel主题
下一篇:蓝色清爽wordpress博客主题模板 xiaobai主题