wee/nieuw
Composer 安装命令:
composer require wee/nieuw
包简介
A blogging theme for WordPress
README 文档
README
A WordPress blogging theme that puts your content first. Everything else is at the bottom.
Not yet ready for use on live sites. Before you can use this theme, you have to install all dependencies and run a build script. Node.js 16 or later are required to do this.
npm install
npm run build
Features:
- Designed for reading.
- Written with accessibility in mind.
- Fast loading pages.
- With "Dark Mode" support, using the device settings of a website visitor.
- Progressively enhanced. This means the theme will function in old browsers (possibly with fallback functionality).
The theme has built-in support for the following plugins:
Included webfonts:
These fonts are licensed under the SIL Open Font License and included as variable fonts. The webfonts are not loaded by default. They need to be activated in the theme options.
Theme options
You can change the appearance of the theme using the WordPress Customizer.
A color palette can be selected in the "Colors" section.
The following features can be changed in the "Nieuw Settings" section:
- Hide navigation button.
- Activate featured images.
- Activate dark mode support.
- Use webfonts.
Extending the Nieuw theme
CSS custom properties are used in the theme stylesheet. These can be found at the start of the style.css file. You can use these to change, for example, colours or fonts under "Additional CSS" in the WordPress Customizer.
:root {
--font-content: "Comic Sans MS", sans-serif;
--font-default: "Impact", sans-serif;
--text-color: chocolate;
}
The following pluggable functions can be defined in a child theme to overwrite them.
nieuw_copyright() changes the HTML for the copyright notice at the bottom of the page.
nieuw_author() changes the HTML of the author name in blog posts.
nieuw_entry_info() changes the HTML of how categories and tags are displayed below a blog post.
nieuw_entry_meta() changes the HTML of blog post meta information, like author and publishing date.
nieuw_html_class() adds a class attribute to the <html> element.
nieuw_navigation_link() changes the HTML of the navigation icon at the top of the page.
nieuw_next_previous_post() changes the HTML of of the next / previous post navigation below a blog post.
nieuw_search_dialog() changes the HTML of the search dialog/modal.
To remove one of the above functions you can define an empty function, e.g.:
<?php
function nieuw_author() {
/* Do nothing */
}
?>
Screenshots








wee/nieuw 适用场景与选型建议
wee/nieuw 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 14 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 05 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 wee/nieuw 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wee/nieuw 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2021-05-13