Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

CG Events

Readme per il plugin CG Events

=== CG Events ===
Contributors: cg-web
Tags: events, shortcode, calendar, custom events
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A simple plugin to display custom events using shortcodes.

== Description ==
CG Events is a WordPress plugin that allows you to create, manage and display custom events on your website. Events can be filtered by category and sorted by date. The plugin includes an easy-to-use shortcode and optimized query handling.

**Key Features:**
- Display custom events with a shortcode: `[cg_events]`
- Filter events by category.
- Sort events by date.
- Supports featured images for each event.

== Installation ==
1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin via the "Plugins" screen in WordPress.
3. Use the shortcode `[cg_events]` in your posts or pages to display events.

== Frequently Asked Questions ==
= How can I add events? =
You can add events directly from the WordPress backend using the "CG Event" custom post type.

= What attributes does the shortcode support? =
- `category`: Filter events by category (example: `[cg_events category="music"]`).
- `limit`: Limit the number of events shown (example: `[cg_events limit="5"]`).

= Can I customize the design of events? =
Yes, you can customize the design by editing the CSS in your theme or by adding custom styles.

== Changelog ==
= 1.0.1 =
* Fixed bug that was hiding lateral menù on category manager.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==
= 1.0.0 =
Initial version of the plugin.