trendwerk/events 问题修复 & 功能扩展

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

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

trendwerk/events

最新稳定版本:1.0.4

Composer 安装命令:

composer require trendwerk/events

包简介

Events for WordPress.

README 文档

README

Events for WordPress.

This plugin only delivers the most basic functionality for events. It doesn't contain any templates.

Installation

If you're using Composer to manage WordPress, add this plugin to your project's dependencies. Run:

composer require trendwerk/events

Templates

This plugin does not provide any templates. They have to be created in your theme. This works just like any other post type:

  • archive-events.php
  • single-events.php

Meta

There is some additional post meta available for use in your templates:

  • _start Start date + time (UNIX timestamp)
  • _end End date + time (UNIX timestamp)
  • _location
  • _address
  • _zipcode
  • _city
  • _cost

Past events

There's an endpoint available which contains past events. Default: events/archive.

Post type archive

Use get_post_type_archive_link, like with any other post type.

Get events archive slug

apply_filters( 'events_archive_slug', '' );

Hooks

Post type

apply_filters( 'events_post_type', $args );

$args contains all post type settings.

Archive slug

apply_filters( 'events_archive_slug', '' );

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-03-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固