文件名称:上等:基于“ Laravel Blade”模板引擎的轻巧,结构良好的WordPress主题框架
文件大小:74KB
文件格式:ZIP
更新时间:2024-02-26 10:05:44
wordpress wordpress-theme blade classy WordPressPHP
Classy是基于模板引擎构建WordPress主题的框架。 它以美观的架构快速运行,可让您编写更少的代码,而将更多精力放在项目本身上。 它不提供前端样板,因为每个项目都需要自己的样板,而是处理所有体系结构,从而提供了一种从视图中分离逻辑的优雅方法。 为什么选择刀片? Blade是Laravel提供的简单但功能强大的模板引擎。 与其他流行PHP模板引擎不同,Blade不会限制您在视图中使用纯PHP代码。 所有Blade视图都被编译为纯PHP代码并被缓存直到被修改,这意味着Blade实质上为您的应用程序增加了零开销。 代码示例: @extends('layout.default') @sec
【文件预览】:
classy-master
----composer.json(827B)
----functions.php(126B)
----footer.php(106B)
----comments.php(148B)
----index.php(96B)
----composer.lock(43KB)
----scrutinizer.yml(900B)
----assets()
--------index.php(28B)
--------noimage.png(8KB)
----phpmd.ruleset.xml(875B)
----LICENSE(34KB)
----header.php(106B)
----app()
--------index.php(58B)
--------core()
--------custom()
----screenshot.png(29KB)
----views()
--------index.blade.php(218B)
--------post()
--------page()
--------404()
--------layout()
----.gitignore(511B)
----phpcs.ruleset.xml(951B)
----README.md(4KB)
----scope()
--------index.php(256B)
--------example.php(169B)
--------page.php(225B)
--------common.php(126B)
--------single.php(151B)
----style.css(165B)