webpup/wp-theme 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webpup/wp-theme

最新稳定版本:v0.0.1

Composer 安装命令:

composer require webpup/wp-theme

包简介

A wordpress starter theme with blade templating

README 文档

README

Wordpress starter theme with FSE, Block theme, TailwindCSS and Vite

Installation

git clone https://github.com/webpup/wp-theme.git
cd wp-theme
npm install
# Rename env.example to .env
# Do setup .env according to your environments

HRM - Livereload setup

# wp-config.php add the following for local development setup only

# /* That's all, stop editing! Happy publishing. */
define('WP_ENV', 'development');

Add Custom Fonts

/* style.css */
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-VariableFont_wght.woff2") format("woff2"),
    format("woff2");
}

/* howto use it in tailwindcss */
@theme {
  --font-manrope-regular: "Manrope", serif;
}

h1 {
  @apply text-6xl text-green-500 font-manrope-regular leading-none;
}

Docs

webpup.github.io/wp-theme

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-22