定制 getolympus/olympus-dionysos-field-title 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

getolympus/olympus-dionysos-field-title

Composer 安装命令:

composer require getolympus/olympus-dionysos-field-title

包简介

Title field, this component is a part of the Olympus Dionysos fields.

README 文档

README

Dionysos Title Field

Olympus Component CodeFactor Grade Packagist Version MIT

This component is a part of the Olympus Dionysos fields for WordPress.

composer require getolympus/olympus-dionysos-field-title

Table of contents

Field initializationVariables definitionTitle displayRelease historyContributing

Field initialization

Use the following lines to add a title field in your WordPress admin pages or custom post type's meta fields:
Note the $identifier (first ::build() parameter) is set to false because no value is stored in database.

return \GetOlympus\Dionysos\Field\Title::build(false, [
    'title' => 'The Dark Knight',
    'class' => 'robin',
    'level' => 2,
]);

Variables definition

Variable Type Default value if not set Accepted values
title String 'Title' empty
class String empty empty
level Integer 2 1 to 6

Title display

The component will display:

<h{{ level }} class="zeus-title {{ class }}">{{ title|raw }}</h{{ level }}>

Release History

Version Note
0.0.2 Clean documentation
0.0.1 Initial commit

Contributing

  1. Fork it (https://github.com/GetOlympus/olympus-dionysos-field-title/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Built with ♥ by Achraf Chouk ~ (c) since a long time.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固