supermundano/sage-the-events-calendar 问题修复 & 功能扩展

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

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

supermundano/sage-the-events-calendar

最新稳定版本:1.0.7

Composer 安装命令:

composer require supermundano/sage-the-events-calendar

包简介

README 文档

README

Latest Version Total Downloads

Add The Events Calendar support to Sage 10.

For the time being there can only be a blade view, the default-template.blade.php file, that allows the events page to work loading the Sage blade layout.

The template parts are not available yet as blade templates. If you need to override a template part, say for instance:

the-events-calendar/src/views/v2/components/events-bar.php

just copy the file in the folder root folder of your theme

your-sage10-theme/tribe/events/v2/components/events-bar.php

You won't have the blade functionality but at least you can use the plugin.

Requirements

Installation

Install the composer package (in the theme folder).

$ composer require supermundano/sage-the-events-calendar

Add the package to the cached package manifest.

$ wp acorn package:discover

Publish the required template-default.blade.php view

$ wp acorn vendor:publish --tag="TheEventsCalendar Templates"

Bug Reports

If you discover a bug in Sage The Events Calendar, please open an issue.

Todo

What we need to have full Sage10 coverage:

  • [] Allow blade templates for template parts

What I've found so far:

The templates are rendered by the function template here the-events-calendar/common/src/Tribe/Template.php

We need to figure out how to:

Try using this gist from Log1x https://gist.github.com/Log1x/d02f35f6f9de5f1a5078a3807c6a36c2

License

Sage The Events Calendar is provided under the MIT License.

统计信息

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

GitHub 信息

  • Stars: 17
  • Watchers: 2
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-14