From 320c02ed4694d0e6cc7e109f661c3c85139a1e05 Mon Sep 17 00:00:00 2001 From: Barbara Bothe Date: Wed, 8 Nov 2023 12:09:18 +0100 Subject: [PATCH] Archiv: Anzeige mehr Events --- composer.json | 2 +- includes/Shortcodes/Events.php | 4 ++++ package.json | 2 +- rrze-calendar.php | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index acc07d55..a58bd3ee 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "rrze/rrze-calendar", "description": "RRZE WordPress Plugin", - "version": "2.0.8", + "version": "2.0.10", "type": "wordpress-plugin", "license": "GPL", "require": { diff --git a/includes/Shortcodes/Events.php b/includes/Shortcodes/Events.php index f27a4cf6..08d759f8 100644 --- a/includes/Shortcodes/Events.php +++ b/includes/Shortcodes/Events.php @@ -44,6 +44,10 @@ public static function shortcode($atts, $content = "") if ($number < 1) { $number = 10; } + if (is_archive()) { + $number = 100; + } + $IDs = []; $args = [ diff --git a/package.json b/package.json index e3b5a8a1..6feffb62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rrze-calendar", - "version": "2.0.8", + "version": "2.0.10", "main": "rrze-calendar.php", "scripts": { "start": "webpack --mode=development --watch", diff --git a/rrze-calendar.php b/rrze-calendar.php index cb7df1c7..c5afc94f 100644 --- a/rrze-calendar.php +++ b/rrze-calendar.php @@ -4,7 +4,7 @@ Plugin Name: RRZE Calendar Plugin URI: https://github.com/RRZE-Webteam/rrze-calendar Description: Import and output of FAU public events. -Version: 2.0.9 +Version: 2.0.10 Author: RRZE Webteam Author URI: https://blogs.fau.de/webworking/ License: GNU General Public License v3.0