Coder Social home page Coder Social logo

oberhauser-dev / gb-fullcalendar Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 2.0 2.94 MB

GB FullCalendar is a branch of the popular WP FullCalendar plugin written as a Gutenberg block.

License: GNU General Public License v3.0

PHP 70.59% JavaScript 28.12% SCSS 1.29%
fullcalendar react gutenberg-blocks gutenberg-plugin wordpress-plugin material-ui-react

gb-fullcalendar's Introduction

GB FullCalendar

  • Contributors: August Oberhauser
  • Tags: block, fullcalendar, react
  • Requires at least: 5.3.2
  • Tested up to: 5.7
  • Stable tag: 0.2.1
  • Requires PHP: 7.0.0
  • License: GPL-3.0-or-later
  • License URI: https://www.gnu.org/licenses/gpl-3.0.html

GB FullCalendar is a Gutenberg block for displaying events. It's build on the popular WP FullCalendar plugin.

Description

Thanks to the Gutenberg-Blocks since the end of 2018, it has become incredibly easy to add and layout your blocks in a visual way, but still can be used with Shortcodes, too.

Features

  • Month / Week / Day and List views
  • Filter by taxonomies, such as category, tag etc.
  • Supports custom post types and custom taxonomies
  • Integrates seamlessly with Events Manager
  • Customize FullCalendar settings
  • Tooltips
  • Custom themes and styles
  • Supports IE 11
  • Migrating WP FullCalendar settings

Credits

Thanks to Marcus Sykes for his previous work on WP Fullcalendar, which is partially integrated here.

Installation

  1. Upload the plugin files to the /wp-content/plugins/gb-fullcalendar directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress

Usage

Note: There's no guarantee that GB FullCalendar works simultaneously with WP FullCalendar. It's recommended to only enable one plugin at the same time!

Gutenberg Block

Simply add the Gutenberg Block GB FullCalendar, which is located under the Widgets section. When you select your block, you can adjust the block-settings in the sidebar.

Shortcode

You are able to use the [fullcalendar] shortcode in one of your posts or pages, too.

The calendar can be customized

  • with Event search attributes of Events Manager.
    • Note that some attributes can differ from its internal representation in Events Manager. E.g.category is a synonym for the taxonomy event-categories
  • with FullCalendar settings.
    • Convert the keys with camel case to lowercase words separated with an underscore.
    • Add the prefix fc_.
    • Example: initialView: "listCustom" is converted to [fullcalendar fc_initial_view="listCustom"].
  • by declaring your default taxonomy terms.
    • Specify value either via the term id or the term slug.
[fullcalendar 
  category="concert, cinema, 11, theatre" 
  event-tags="mytag"
  search="Demo"
  fc_event_display="auto"
  your_custom_taxonomy_slug="your_custom_term_slug, another_custom_term_id"]

Taxonomies and Terms

You can define your own taxonomies and terms in order to categorize your events more precisely.

Themes and Styles

See documentation for themes and styles

Frequently Asked Questions (FAQ)

None yet.

Screenshots

Desktop Mobile & Theme

Changelog

See changelog file.

Contribution

You are invited to help in form of Merge-Requests or proposing issues with the expected solutions.

To develop, install the packages via yarn install. Then start webpack compiling via yarn start. To build files for production run yarn build. To build a plugin file run yarn zip-snap. The zip file will be saved in the dist folder.

The code is written as ESNext, but uses Babel and Webpack to provide compatibility to ancient browsers.

The plugin is free to use. We are not liable for any damage caused by using the plugin!

gb-fullcalendar's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gb-fullcalendar's Issues

EM Search Attributes Integration

This plugin is very promising. For now, however, I tried to display only the events of the current user with: owner = "USER_ID". But it didn't work. Is this something that you think about dealing with in the future or is there something already in that direction?

Muito obrigado!

Documentation

  • Images
  • Events-Manager Tricks
  • Contribution
  • Settings & Options
  • Description / Previous versions & authors
  • Changelog
  • Themes & Styles

Event Display as 'list-item' in DayGrid doesn't render correctly for timed events

The HTML elements for 'list-item' are not rendered when overriding 'block'.

Currently if the option is changed globally for all events from 'block' to 'auto' or 'list-item' the event is not rendered correctly for timed events. Full day events look fine as they are block displayed by default.

Would there be any way of adding a customization to the way events are displayed i.e. 'list-item' in Daygrid?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.