=== Penguin Mod ====
Contributors: PBMod, WPZoo
License: Commercial License (includes third-party Open Source components; see license.txt)

# Penguin-Mod WordPress Theme
![Screenshot of the WordPress Theme Penguin](screenshot.png)

Penguin is a clean and modern WordPress theme. Besides the link color, it consists of clean shades of grays. The post thumbnail will be used as a big header image on single posts as well as pages. Penguin theme can be used as blogging as well as a magazin theme.
Moreover Penguin is a responsive, mobile first theme. That means reading your website on mobile device will be as on a desktop computer.

# New feature on single posts and pages

using commandline parameter ?noheader=1 template only displays the content no header no footer no sidebar, no styling


## Event Organizer ##
page template for "Schulungen" and events with automatic links to feedback (with qrcode if chartscodes plugin present), anmeldung and prüfung
admin pages for schulungen (teilnehmerlisten and kundennumernlistev mit Kalender) und prüfungen (prüfinsert zur Auswertung mit Balkendiagramm) 
requirements:  chartscodes plugin installed for qr code links and admin diagram prüfungsergebnisse
	contact form 7 and cfdb7 for requesting feedback and Anmeldungen of attendees 
	created page "anmeldung", page "feedback" where the form is called
optional: wp-post list installed for presenting listing all "Schulungen, Prüfungen" to visitors
HOWTO see below (in german)

## Post formats ##
``` 
Typ:           Breite  Thumbnail  Meta-Top  Titel  Meta-Bottom  deutsch
--------------------------------------------------------------------------------
format-video   breit   -          unten     -      -
format-chat    schmal  -          unten     ja     -            Chat, fullwidth ohne sidebar bei single-Ansicht
format-link    breit   ja         ja        -      singular
format-gallery schmal  ja         ja        -      singular		Post-Image nicht als Link anklickbar
format-status  breit   ja         ja        ja     singular
format-image   schmal  -          ja        -      singular     Bild
format-quote   schmal  -          -         -      singular     Zitat
format-aside   schmal  -          ja        ja     singular     Kurzmitteilung
Standard       schmal  ja         ja        ja     singular
``` 

## special tags that color the meta icons area - includes posts/pages and download_tags and product_tags
== sync posts - Frequently Asked Questions == ---------------------------------------------------------------------------------
sync posts: edit/sync posts menu, then enter website, number of posts and optional filter. It gets content from that remote website and creates posts on your site.

= How can I sync posts from another website? =
To sync posts from another website, go to the 'Sync Posts' menu in the WordPress admin area, enter the website URL, post status, number of posts, and author, and click the 'Start Syncing' button. The plugin will handle the rest and import the posts for you.

= What data can I import using this plugin? =
You can import Post Title, Content, Content Images, Post Tags, Categories, and Featured Images from any WordPress site to your current WordPress site.

= Can I choose which posts to import? =
Currently, the plugin imports all posts based on the specified criteria (website URL, post status, number of posts). There is no option to select specific posts for import.

= Is it possible to sync posts from a non-WordPress website? =
No, this plugin is designed specifically for syncing posts between WordPress sites. It does not support syncing from non-WordPress websites.


hintergrund hinter metadaten so einfärben, wenn folgender Tag (nur einer davon) vorkommt:
  gelb/endoflife/warnung = gelber,
  rot/wichtig/kritisch = roter,
  orange/bald = orangener,
  gruen/erfreulich = grüner,
  blau/cloud = blauer,
  lila/innovativ=lilafarbener,
  braun/schlecht=brauner,
  silber/festlich=silberner

  used @Meta_icons, @popular posts shortcode


## Hintergrundfarbe - rot gelb orange braun gruen lila silber
   wenn (farbe) in answer in Klammern @timeline, faq, tabs shortcodes


## Blockquote symbol classes (can be added als addidtional css on blockquote block element

Standard = gelbes Ausrufezeichen
blockinfo = infosymbol white
blockbulb = lightbulb white
blockqmark = question mark white
blockleer = ohne Symbol
block-fa fa-user = beliebiges Font-Awesome Symbol einblenden laut https://fontawesome.com/v4/cheatsheet/


## Specials like import posts / sync posts from other websites in admin area under posts / Beitragsimport

## Admin-Template Alle Shortcodes und deren Verwendung und dokulinks


Listet alle Shortcodes aus WP-Core, aktivem Theme und aktiven Plugins und wo sie verwendet werden und welche atts (Parameter) sie unterstützen tabellarisch auf. Suchfunktion vorhanden
Einfach eine neue Seite/Beitrag erstellen und Template "Alle Shortcodes auswählen". Dann die Seite ins Menü


## Theme shortcodes ## can be used in html widgets

[tts] - [tts miniplayer=1] (dann wird page content vorgelesen) oder [tts miniplayer=1]lorem ipsum![/tts] (dann wird das was dazwischen steht vorgelesen)
function direkt aufrufen mit Textübergabe: echo ttsausgabe('Hallo Welt!');
*** Einbindung in javascript siehe weiter unten ***

	'lang'=>'de-DE',
	'rate'=>1,
	'pitch'=>1,
	'volume'=>1,
	'button_text'=>'Vorlesen',
	'pause_text'=>'Pause',
	'resume_text'=>'Fortsetzen',
	'stop_text'=>'Stop',
	'voice_label'=>'Stimme:',
	'show_text'=>'true',
	'show_voice_select'=>'true',
	'remember_voice'=>'true',
	'prefer_google_voice'=>'true',
	'miniplayer'=>'false'

[sticky_expire days=3 |or| date=2024-05-21 |or| date=23.05.2026] 
	// Shortcode to make post unsticky after x days after modified date or at fix date
	'days' => 0,	// days=x Tage nach denen der Post unsticky wird
	'date' => '2024-05-20'	// oder date=21.05.2026 (englisches oder deutsches Format) bis Beitrack unsticky wird

[linkbutton link="https://test.de" label="Superlink" ]
	// Shortcode for showing link cover with image background and white text on top
	// Externe Links immer in neuem Fenster aufrufen und rel="nofollow" setzen
	'bild' => '', // relative to upload dir z.B. /2023/05/meinbild.jpg, nimmt Kategorie- oder Beitragsbild, wenn leer
	'link' => get_bloginfo('url'),	// Internet-URL, die aufzurufen ist
	'label' => get_bloginfo('name'), // Beschreibung, die angezeigt wird, wenn leer, dann wird der Blogname angezeigt
	'target' => ''  // _self oder _blank - default=blank für externe, self für interne links

=== Shortcodes mit Hintergrundfarbtag in Klammern ===
	enthält "answer" (rot) (gelb) (orange) (gruen) (braun) (lila), wird der Hintergrund des Textes für diesen Punkt farbig hinterlegt

[timeline numbered=1 sort=''/asc/desc view=timeline,calendar]2022-01-22|=|Event1||2022-7-21|=|Event2[/timeline]
	// Shortcode for CSS timeline with dates
	// dates in yyyy-mm-dd will be counted with ago function, other dates like 2022 will not be modified
	numbered=0/1 - 1 displays list item number
	sort=asc/desc - sorting possible
	view=timeline/calendar/timeline,calendar - show events in timeline or calendar or both, ?commandline: view=xxx

[faq openfirst=0 numbered=1 sort=''/asc/desc]Question|=|Answer||Question2|=|(rot|gelb|orange|gruen|lila)Answer2[/faq]
	// Shortcode for formatted FAQ accordeon
	// content between faq tags can span multiple lines and CRLFs, sorting possible 
	// enthält "answer" (rot) (gelb) (orange) (gruen) (lila), wird der Hintergrund des Textes für diesen Punkt farbig hinterlegt
	'openfirst' => 1, 'numbered' => 1,'sort' => '' // openfirst=welcher tab aktiv? // sort='',asc,desc
	
[auto_faq] Description: Generiert automatisch FAQ aus Artikelinhalten via Shortcode.
	// [auto_faq limit="5" title="FAQ zum Artikel" min_words="250"]

[tabs openfirst=1 numbered=1 sort=''/asc/desc]Tabtitel-1|=|(rot|gelb|orange|gruen|lila)Inhalt-1||Tabtitel-2|=|Inhalt-2[/tabs]
	// Shortcode to display content as tabs:
	//   steht bei der Antwort: rot, gelb, orange, grün oder lila in Klammern, wird der Hintergrund des Meilensteins so gefärbt
	// enthält "answer" (rot) (gelb) (orange) (gruen) (lila), wird der Hintergrund des Textes für diesen Punkt farbig hinterlegt
	'openfirst' => 1, 'numbered' => 1,'sort' => '' // openfirst=welcher tab aktiv? // sort='',asc,desc

[procons colored=0/1 numbered=0 sort=''/asc/desc](+)positives Argumen||(-)negatives Argument||(3)Rated-thing||(5)Ratedthing2[/procons]
	// Shortcode for formatted Pros and Cons list and Ratings (1..5 von 5)
	// content between faq tags can span multiple lines and CRLFs
	// ist colored=1, wird der "Pro" Kasten grün und der "Cons" Kasten rot hinterlegt
	
[timeline numbered=1 sort=''/asc/desc]2022-01-22|=|Event1||2022-7-21|=|Event2[/timeline]
	// Shortcode for CSS timeline with dates
	// dates in yyyy-mm-dd will be counted with ago function, other dates like 2022 will not be modified
	// sorting possible
	// enthält "answer" (rot) (gelb) (orange) (gruen) (lila), wird der Hintergrund des Textes für diesen Punkt farbig hinterlegt

[get_summary]
	// shortcode shows a blockquote with a summary of important sentences of the article
	'items' => 3 	top X sentences displayed in the box

[categorycloud]
	// shortcode shows all categories in a cloud view or as list with details or both
	'colored' =>false, 'small' => 11, 'big' => 26, 'unit' => 'px',
	'align' => 'justify', 'orderby' => 'name', 'order' => 'ASC',
	'min' => 0, 'hide-empty' => 1
	
[archivecloud]
	// shortcode shows an archive cloud by months and years
	'colored' =>false, 'monate' => 24, 'small' => 11, 'big' => 26, 'unit' => 'px',
	'align' => 'justify', 'min' => 0, 'hide-empty' => 1	

[pbtagcloud]
	// shortcode shows a tag cloud or list view or both
	'colored' =>false, 'small' => 11, 'big' => 26, 'unit' => 'px',
	'align' => 'justify', 'orderby' => 'name', 'order' => 'ASC', 'min' => 3, 'hide-empty' => 1

[popular_posts]
	// shortcode show post statistics or a title cloud based on first word in title count
	// popular posts or recent posts or most visited posts shortcode zB fuer html Widget
	//   wenn recentposts, als Argumente: orderby=date/modified posts_per_page=5 mitgeben
	//   wenn last visited posts, argumente: meta_key=post_views_timestamp setzen
	//   wenn auf Kategorie gefiltert wird: category_name="catslug" setzen
	//   wenn die Sticky Posts auch berücksichtigt werden sollen: post__not_in='' setzen
	//   post_type (mehrere möglich) Ergebnis dieser CPT: dedo_download, product, w4pl, wpdoodle, question, post, page

	In der Darstellung 'cloud' wird, wenn der Post ein Farbtag rot gelb orange gruen lila hat, das Cloudelement auch mit dieser Farbe angezeigt

	$options = shortcode_atts(array(
		'view' => 'list',	// list, cloud - als Liste oder/und Titelcloud anzeigen
		'show_title' => 1,  // Titelzeile anzeigen oder nicht 0
		'show_thumb' => 1,  // wenn post thumbnail gesetzt, diesen rechts anzeigen oder nicht 0
		'title_link' => '' , // Link der aufgerufen werden soll, nur intern, ab home_url
		'colored' =>true,  // Cloud eingefärbt
		'small' => 14, 'big' => 18, ), $atts);
	$args = shortcode_atts(array(
		'post_type' => 'post' , // Liste der Typen durch Komma getrennt
		'tag' => '', // Liste auf Themen filtern (slug angeben)
		'category_name' => '', // gefiltert auf Kategoriebezeichnung
		'post__not_in' => get_option("sticky_posts"), // Stickies mit rein oder nicht
		'posts_per_page' => 7, // anzuzeigende Posts
		'meta_key' => 'post_views_count',  // oder post_views_timestamp
		'orderby' => 'meta_value_num',  // wenn Meta_key
		'order' => 'DESC' ), $atts); // absteigend oder ASC aufsteigend

[all-cookies]
	// shortcode lists all cookies for use in DSVGO declaration
	
[get_avatar]
	// shortcode shows user avatar
	'id' => $id, 'size' => 200, 'default' => 'mystery', 'alt' => '', 'class' => '',
	'rating' => '', 'extra_attr' => '', 'width' => '', 'height' => '', 'force_display' => ''

[time_until]
	// shortcode shows time in years,months,days and total days until given date(time) in german format
	'date' => '',			// Datumsformat: tt.mm.jjjj oder tt.mm.jjjj hh:mm:ss
	'calendar' => 0,		// 1 = Monatskalender einblenden als Minikalender
	'progress' => 1,			// 1 = Prozentanzeige zur Einheit Jahre Monate Wochen Tage Stunden Minuten anzeigen
	'alletimer' => 0			// 0 = normalen einzelnen Countdown anzeigen (Standard)
					// 1 = ausschliesslich Timeline mit allen Beitraegen/Seiten anzeigen, die [time_until] enthalten

	// Beispiele:
	// [time_until date="24.12.2026 18:00:00"]
	// [time_until date="24.12.2026 18:00:00" alletimer="0"]
	// [time_until alletimer="1"]
	// Der Button "Alle Countdowns anzeigen" verlinkt auf den aktuellen Beitrag/die aktuelle Seite
	// und fuegt nur ?allecountdowns=1 an. Der Parameter wird ausschliesslich im dort vorhandenen
	// [time_until]-Shortcode ausgewertet; auf Seiten ohne [time_until] hat er keine Sonderwirkung.
	// Bei alletimer="1" ist kein date-Attribut erforderlich. Es wird kein einzelner Countdown ausgegeben.
	// Fuer die Gesamtansicht sind keine separate WordPress-Seite und kein eigenes Seitentemplate erforderlich.
	// Der Button "Alle Countdowns anzeigen" im normalen Countdown kann die gleiche Gesamt-Timeline aufrufen.
	
[next_event]
	// shortcode Countdowncircles mit Kalender oder ohne anzeigen, timer für CO2	
		'title' => '',		// Titel in der Box anzeigen z.B. Schulungsbeginn
		'calendar' => 1, 	// Monatskalender zeigen
		'bild' => 'zeitlaeuft',		//''=leer, zeitlaeuft, mittagspause,kaffeepause,schulung
		'audio' => 'cd-alarmsong', // Audio-Auswahl MP3
			// gru-alarmsound2 - KI-Instrumental (default)
			// gru-alarmsong1	- KI-Reggae mit Vocals (KI-Vocals)
			// gru-alarmsong2 - KI-Disco Countdown Ende, Sitzung beginnt (KI-vocals - Schulungstimer default) 
			// gru-alarmsound - PD-Instrumental, rockig
			// gru-kaffeepause1 - Lektion Ende, Kaffeepause beginnt (KI-Vocals)
			// gru-mittagspause1 - Lektion Ende, Mittagspause beginnt (KI-Vocals)
			// gru-mittagspause2 -pop - Lektion Ende, Mittagspause beginnt (KI-Vocals)
			// gru-mittagspause3 -swing - Lektion Ende, Mittagspause beginnt (KI-Vocals)
			// gru-mittagspause4 -reggae - Lektion Ende, Mittagspause beginnt (KI-Vocals)
			// gru-pausenende1.mp3 - Pause ist zuende, Lektion beginnr (KI-Vocals)
			// gru-pausenende2.mp3 - Pause ist zuende, Vorlesung beginnr (irish folk KI-Vocals)
			// gru-schulungsende1.mp3 - Schulungsende schönen Tag noch (KI-Vocals)
			// gru-schulungsende2.mp3 - Schulungsende Song als Pop Version
			// gru-lueften1.mp3 - Bitte mal den Raum durchlüften (KI-Vocals, Pop)
			// gru-halbzeit1.mp3 - Halbe Zeit um (KI-Vocals, Pop)
			// gru-fuenfminuten1.mp3 - Nur noch 5 Minuten (KI-Vocals, Pop)
			//   Bei den Grußkarten (foldergallery plugin) ist eine Karte für Schulungsende mit dem kompletten KI-Song aufrufbar
			//   Wenn mehrere nummerierte Elemente, mittagspause2 -3 -4 wird zufall gespielt
		'date' => '0', 'data_date' => '0', 'data_timer' => '0',
		'time_animation' => 'ticks',
		'timestop' => '1',
		'accentcolor' => '1',	// in Theme Akzentfarbe oder bunt
		'ringcolor' => get_theme_mod('link-color') ? : '#ccc',
		'message' => 'Countdown abgelaufen',
		'ymdhide' => ''
		
	Sind mehrere Shortcodes auf einer Seite, wird nur die Musik aus dem letzten Eintrag gespielt. Auch bei Accentcolor=1/0
	gilt die Einstellung im letzten Shortcode auf der Seite. Die Message wird bei mehreren im mittleren Element angezeit.
	Mehrere Counttdown-Instanzen auf einer Seite funktionieren aber ansonsten problemlos.
		
[liveumfrage id=x votable=0/1]
// shortcode zeigt Abstimm-Ergebnisse an und Link zur Live-Umfrage
//   wenn votable=1, darf Shortcode nur mit ID 1x pro Post/Seite verwendet werden.
//   Wenn id=0 oder leer werden alle Umfragen angezeigt, mit id=Nummer wird nur diese Umfrage angezeigt

	* Wenn mehrere auf einer Seite, bitte in ein embed jeweils packen, wenn keine Ergebnisse dann mit shwres=0: 
	* <embed width=100% height=180 src="https://pat14sv:4443/wordpress/live-umfragen?id=1&noheader=1&showres=0"></embed>
	* <embed width=100% height=300 src="https://pat14sv:4443/wordpress/live-umfragen?id=2&noheader=1"></embed>

	
## Specials
Google fonts removed or placed on the local webserver, Code and CSS optimizations, Details see below

## License
This theme is licensed under the GNU General Public License version 2+. All ressources which have been included are provided with the same or a compatible license. Read more in [license.txt](/license.txt).

### Starting point
Penguin is based on the well known and maintained [starter theme _s](https://github.com/Automattic/_s) (underscores).

### Font
No external fonts are side-loaded by the theme 

### Fontawesome
Version (GPL and SIL licensed) integrated (version 4.7)

### Masonry
The multi column layout which appears on a bigger screen has implemented with the help of [Masonry](http://masonry.desandro.com/), a JavaScript grid layout library. Masonry is available under the MIT license.


## TTS Browser Ausgabe in JS einbinden. Replay Button kommt in der genannten HTML ID #fit-desc, vorzulesender Text aus der opt.txt oder wie die Var in JS heisst. Nur Textinhalt übegeben!

	// Text vorlesen
	//	ttsSpeak(opt.text, { rate: 1.1,	containerId: 'fit-desc' });

	let ttsLast = { text:'', opts:{} };

	function ttsSpeak(text, o = {}) {
		if (!('speechSynthesis' in window) || !text) return;
		let {lang='de-DE', rate=1, pitch=1, volume=1, preferGoogleVoice=true, containerId=null} = o;
		function speak() {
			let v = speechSynthesis.getVoices() || [],
				p = (lang||'').split('-')[0].toLowerCase();
			let voice =
				(preferGoogleVoice && v.find(x=>x.name&&x.lang&&x.name.toLowerCase().includes('google')&&x.lang.toLowerCase().startsWith(p))) ||
				v.find(x=>x.lang&&x.lang.toLowerCase().startsWith(p)) ||
				v.find(x=>x.default) || v[0];
			speechSynthesis.cancel();
			let u = new SpeechSynthesisUtterance(text);
			u.lang = lang; u.rate = rate; u.pitch = pitch; u.volume = volume;
			if (voice) {
				u.voice = voice;
				u.lang = voice.lang || lang;
			}
			speechSynthesis.speak(u);
			ttsLast = { text, opts:o };
			// 👉 Button ins Ziel-Element setzen
			if (containerId) addReplayButton(containerId);
		}
		if (!speechSynthesis.getVoices().length) {
			speechSynthesis.onvoiceschanged = () => { speak(); speechSynthesis.onvoiceschanged=null; };
		} else speak();
	}

	function addReplayButton(containerId){
		const el = document.getElementById(containerId);
		if (!el) return;
		// alten Button entfernen
		let old = el.querySelector('.tts-replay-btn');
		if (old) old.remove();
		let btn = document.createElement('button');
		btn.className = 'tts-replay-btn';
		btn.textContent = '▶';
		btn.title = 'Erneut abspielen';
		btn.style.cssText = 'margin-left:8px;padding:2px 6px';
		btn.onclick = () => {
			if (ttsLast.text) ttsSpeak(ttsLast.text, ttsLast.opts);
		};
		el.appendChild(btn);
	}


## Anleitung Schulungen, Prüfungen, Feedback und Anmeldung
Vorbereitung der Website:
* contact form 7 und cfdb7, sowie chartscodes plugins installieren und aktivieren
* Contact Form "Schulungs-Anmeldung" erzeugen, Variablen "Veranstaltung und verandatum müssen enthalten sein"
* Contact Form "Feedback" erzeugen  (11 Kategorien nach Schuloten 1...4)
* page /anmeldung erstellen und shortcode vom Anmeldeformular sein
* page /feedback erstellen und shortvode vom Feedback Formular rein
* WP Postlist /list/schulungen erzeugen oder im Menü auf /tag/schulung Link setzen
* WP Postlist /list/pruefungen erzeugen oder im Menü auf /tag/pruefung Link setzen

Schulung anlegen:
* im WPDoodlez Quiz eine Kategorie anlegen und Fragen einsetzen. 
* Neuen Beitrag erzeugen, der als slug namen auch schulung-namederschulung enthält. Als Beitrags-Attribute das Template "Schulung" auswählen
  Im Beitrag den Shortcode [personal_exam] mit category und items parameter verwenden
* Im Anmeldeformular unter "Anmeldung" und in dem Formular "Feedback" auch den Namen der Schulung eintragen: schulung-namederschulung

Kundenliste für Teilnehmer/Veranstaltung importieren:
* Eine public_kunden.csv anlegen in folgendem Format
```
id;kundennr;kundenbez;strasse;plz;ort;tel
1;999999;Testkunde;Weg 12;50403;Morbinoli;03409340
```

Anmelde-Formular-Quellcode-Beispiel für contact form 7
``` 
<label>Name*</label>
[text* your-name]

<label>E-Mail-Adresse*</label>
[email* your-email]

<label>Veranstaltung*</label>
[select* Veranstaltung include_blank default:get "schulung-kart-fahren" "schulung-internet-grundlagen" "schulung-microsoft-office-aufbau" "schulung-windows10-admin" "schulung-webdesign-wordpress" "schulung-kart-fahren" "schulung-gao-ehemaligen-treffen" "schulung-abi-88-ehemaligentreffen"]

<label>Ihr Terminvorschlag 1*</label> [date* verandatum1 default:get min:today placeholder "z.B. 2020-07-28"]
<label>Ihr Terminvorschlag 2*</label> [date* verandatum2 default:get min:today placeholder "z.B. 2020-07-29"]
<label>Ihr Terminvorschlag 3*</label> [date* verandatum3 default:get min:today placeholder "z.B. 2020-07-30"]

Hiermit beauftrage ich die oben ausgewählte Schulung bzw. Teilnahme an der Veranstaltung. Bitte vereinbaren Sie einen Termin mit mir. Es gelten unsere Allgemeinen Geschäftsbedingungen und Datenschutzrichtlinien.

<label>Bemerkungen
    [textarea your-message] </label>
[quiz antispam "Wieviel sind 982 Äppel und vier Birnän? (Zahl)|986" "Wieviel sind sechshundert Kühe und zehn Kirschän? (Zahl)|610" "Subtrahieren Sie zwanzig Obst von zweiunddreißig Gemüse! (Zahlwort ausgeschrieben)|zwölf" "Wer ist 2020 Kanzler in Deutschland? (Nachname)|Merkel"]
[acceptance DSGVO] Mit der Nutzung dieses Formulars erklären Sie sich mit der Speicherung und Verarbeitung Ihrer Daten durch diese Website (siehe Datenschutz) einverstanden. [/acceptance]
[submit "Senden"]
``` 

Feedback-Formular-Quellcode-Beispiel für contact form 7
``` 
<table>
<label>Name*</label>
[text* your-name default:get]

<label>E-Mail-Adresse</label>
[email your-email default:get placeholder "optional"]

<label>Veranstaltung*</label>
[select* Veranstaltung include_blank default:get "schulung-kart-fahren" "schulung-internet-grundlagen" "schulung-microsoft-office-aufbau" "schulung-windows10-admin" "schulung-webdesign-wordpress" "schulung-kart-fahren" "schulung-gao-ehemaligen-treffen" "schulung-abi-88-ehemaligentreffen"]

<label> Veranstaltungs-Datum*</label>
[date* verandatum default:get min:2020-01-01 max:today placeholder "z.B. 2020-07-28"]

<h3>Ihre Bewertung in Schulnoten bitte:</h3>
<table>
<tr><td><label>Dozent: Fachliche Kompetenz</label></td><td><nobr>[radio Dozent use_label_element  "1" "2" "3" "4"]</nobr></td></tr>
<tr><td><label>Dozent: Hilfestellung bei Übungen</label></td><td>[radio Hilfestellung use_label_element  "1" "2" "3" "4"]</td></tr>
<tr><td><label>Dozent: Tempo der Vorträge<br>(1=genau richtig, 2 = zu schnell, 3=zu langsam)</label></td><td>[radio Tempo use_label_element  "1" "2" "3" "4"]</td></tr>
<tr><td><label>Dozent: Vortrags-Stil<br>(1=spannend, 2=interessant, 3=akzeptabel, 4=uninteressant)</label></td><td>[radio Vortrags-Stil use_label_element  "1" "2" "3" "4"]</td></tr>
<tr><td><label>Seminar: Wie zufrieden waren Sie insgesamt?</label></td><td>[radio seminargesamt use_label_element  "1" "2" "3" "4"]</td></tr>
<tr><td><label>Seminar: Anteil Theorie/Praxis<br>(1=genau richtig, 2=lieber mehr Theorie, 3=lieber mehr Praxis)</label></td><td>[radio semtheoprax use_label_element  "1" "2" "3" "4"]</td></tr>
<tr><td><label>Seminar: Gliederung, Aufteilung</label></td><td>[radio Gliederung use_label_element  "1" "2" "3" "4"]</td></tr>
<tr><td><label>Seminar: Informationsnutzen für Sie</label></td><td>[radio Informationsnutzen use_label_element  "1" "2" "3" "4"]</td></tr>
<tr><td><label>Seminar: Wie bewerten Sie die durchgeführten Übungen?</label></td><td>[radio Eigenerfahrung use_label_element  "1" "2" "3" "4"]</td></tr>
<tr><td><label>Seminar: Schulungsinhalte</label></td><td>[radio Schulungsinhalte use_label_element  "1" "2" "3" "4"]</td></tr>
<tr><td><label>Seminar: Seminar-Unterlagen / bereitgestellte Dokumentation</label></td><td>[radio Unterlagen use_label_element  "1" "2" "3" "4"]</td></tr>
</table>

<label>Bemerkungen, Kommentare, Lust auf mehr?
    [textarea your-message] </label>

[quiz antispam "Wieviel sind 982 Äppel und vier Birnän? (Zahl)|986" "Wieviel sind sechshundert Kühe und zehn Kirschän? (Zahl)|610" "Subtrahieren Sie zwanzig Obst von zweiunddreißig Gemüse! (Zahlwort ausgeschrieben)|zwölf" "Wer ist 2020 Kanzler in Deutschland? (Nachname)|Merkel"]
[acceptance DSGVO id:dsgvo] Mit der Nutzung dieses Formulars erklären Sie sich mit der Speicherung und Verarbeitung Ihrer Daten durch diese Website einverstanden (siehe Datenschutz).[/acceptance]
[submit "Senden"]
``` 

### custom post or page templates

page-allcomments.php	--> display all comments of the website (like a forum) on one page
page-biorhythm.php		--> page or post - add a biorhythm with GD graphs and table
page-catdescriptions.php --> Kategorien mit Beschreibungen ausstatten
page-dark-normal-nosb.php --> Dunkler Hintergrunds, keine Sidebar Widgets
page-extlinks.php		--> display all external links with shortURLs on a single page
page-fullwidth.php		--> display page or post without sidebar in full width 
page-glossary.php		--> Glossar und Beschreibungen erzeugen, aus Wiki oder Google jp holen
page-mhtshow.php       --> convert MHT-Files from Problem-step-recorder (PSR) to viewable wordpress content without internet explorer
page-podcasts.php		--> Alle Audio-Medien in der Media library anzeigen und ID3 lesen
page-pruefdbinsert.php	--> insert MCT exam into database and output certificate
page-pruefungen.php		--> only admin display a list of all exams and manage certificates
page-pwprotected.php	--> only admin list all pages that are password protected and bulk change pw
page-schulungstimers.php --> Schulungs-Timers mit MP3-Audio Musikstücken und Songs und Jukebox. Songs werden auch für next_event Shortcode benutzt
page-sitemap.php		--> show a HTML sitemap of the website with categories, tags, post types and last 20 posts per cat
page-softwarehistory.php	--> show changes in category softwareversionen
page-teilnehmer.php		--> only admin - plan schulungen and certificates, provide feedbacklink
page-transparent-fullwidth.php	--> fullwidth content box with semi transparent background
page-vote.php			--> AJAX live votings management (admin) or call vote by URL param (or use shortcode 'liveumfrage id=x')
page-xtrawidth.php		--> 100% der Breite ausnutzen, = 100vh
post-page-template-schulung.php --> display feedback link and QRCode, unterlagen, pruefungslink, adminlinks - select for schulungen
page-ztestphp.php		--> PHP Code Testen. Dazu eine page mit diesem Template anlegen und PHP Code einfügen.
post-page-xrechnung.php --> XRechnung erstellen aus JSON Daten in Formfeldern
post-page-xrechnung-visual.php --> XRechnungen visualisieren und Daten zusammenfassen zum Kopieren in Zwischenablage

### MHT Converter and viewer
* custom page template "mhtShow". Create a page, name it like "Schrittaufzeichnungen" and select template.
* Create folder under wp-content/uploads/mht and place your mht files in this folder
* Call the page. once called it will convert the mht files and you can select the desired file to view without internet explorer


# Change Log

### [9.10.930] 19.08.2025
TUV-Plaketten-Funktion ins Template Schulungen ausgelagert, da sie von dort aus genutzt wird hauptsächlich.
Wenn folgergallery aktiv können aus popularposts fotogalerien mit Bilderraten dalklick und mit Slot machine oder als Diashow random ausgegeben werden. Alle Bilder der Galerie, max 80

### [9.10.910] 09.05.2025
MHT Template wieder entfernt, da niemand mehr PSR benutzt.
Neues Template für Rezepte: Wenn Für x Personen steht, es ein Wort "Zutaten:" gibt und ein Wort "Zubereitung:" wird aus den Zutaten auf einer Person runtergrechnet und am
  Ende des Artikels Mengenwerte für 1,2,3,4 Personen ausgegeben.

### [9.10.903] 08.03.2025
MHT2HTM page Template wieder zugefügt, da es hin und wieder doch noch MHT Anleitungen gibt. Visualisieren der Dateien und auspacken in Unterordner mit jpgs, html und css.
Templates hier dokumentiert.

### [9.10.866]
Sudoku Spiel und Lösung umgezogen in WPDoodlez Plugin Spielesammlung

### [9.10.865]
Teilnehmerliste mit Bemerkung und E-Mail-Feld
Kopieren von Datensätzen und Bearbeiten zugefügt

### [9.10.864]
Template für SUDOKU Generator and Solver implemented. Can be used on pages or posts

### [9.10.861]
page post template with xrechnung 3.0 Generator added. Paste JSONs to Form and download XRECHNUNG XML

### [9.10.860]
admin delete to bin button (trash) on frontend meta icons added
require at least edit post rights for edit button
wp 661 compatibility

### [9.10.851]
Expire Sticky function extended, accepts expire date now or days after last modified date

### [9.10.851]
fontawesomeplus with additional symbold created and added in fonts folder. fa-folder and subfolders removed

### [9.10.820]
sticky_expire shortcode added, linkbutton shortcode defaults to target _blank for external links.
structureddata schema integrated and improved. plugin not neccessaray anymore.

### [9.10.777]
speedup: Folderslider and bxslider code on customizer and Banner removed from template part: image

### [9.10.777]
Template MHTSHOW entwernt, da Microsoft den Problem step recorder eingestellt hat.
Seiten dazu auf der Webseite ebenfalls entfernt.

### [9.10.767]
added page "Kategorie-Beschreibungen" (private, admin only). Calling the page file categories-descriptions.txt will be read
and all descriptions to found categories and custom post type terms will be replaced by the description in text file

### [9.10.765]
contact form 7 scripts and css will only be loaded when cf7 shortcode on page or post

### [9.10.755]
Woocommerce thankyou template compatibility renewed
WP 6.3.1 Compatibility

### [9.10.751]
Add Quiz-picture in Searchlist Template, thumbnail will be shown if wpdoodlez quiz cpt is enabled

### [9.10.749]
All comments page improved and its pagination
/cat-images - Kategorie-Bilder entfernt, da man hierfür das categories images plugin braucht --> Bilder zu diesem Plugin verschoben
css Optimierungen um widget-title und padding darum

### [9.10.740]
Kategorie-Bilder und Shopkategorie-Bilder Beispiele zugefügt im Ordner cat-images
Bilder sind fürs Web optimiert und können im Theme verwendet werden als Kategorie-Bilder

### [9.10.734]
Linkbutton Shortcode adds a link banner full width and with catagroy background or optional giben image

### [9.10.680]
Glossary page will be created on plugin activation - with admin option to gather descriptions from wikipedia and fireball search

### [9.10.660]
timeline_calender displays feiertage when foldergallery plugin is active
timeline-calendar extended, eventarray can be extended by a list of objects:
  $eventarray[] =  (object) ["title" => "Katzenfroschklo", "datum" => "2023-03-25"];

### [9.10.620]
code optimization in functions.php
Breadcrumbs optimized and styled

### [9.10.600]
search can be filtered to post type (incl. custom posts)
search order bugs fixed
wp_timeline shortcode can be filtered to post type (incl. custom posts)

### [9.10.580]
meta icons area colored red,yellow,green when special tags are used
shop improvements cart link and show number of products in cart at timeline and in shop lists and in singular product
meta icons optimized and meta icons mode 5 with german short ago

### [9.10.541]
optimized and cleaned upd some code for php 8.1
mht converter improved and translations

### [9.10.523]
live-umfragen improved and optimized. new styles and better ajax calls with live time output

### [9.10.452]
fixes/changes of misbehaviour of lightbox on homepage
when adding wordpress gallery blocks lightbox will only applied if not called on home page
for homepage omage display tell the gallery block to open links to images in separate window (on gallery block settings pane)

### [9.10.450]
MHT Converter and viewer added. see above how to use

### [9.10.442]
custmize acrylic effect for article and widget boxes when background is set.
optimizations in stylesheet

### [9.10.421]
add webcounter for rss feeds, if chartscodes plugin active

### [9.10.418]
page and post template for biorhythm created. creates after given date biorhyrhm with GD graphs and Table list
for physical, emotional and intellectual biorhythm and average feeling (diameter)
Just create a page/post and select page/post template "biorhythm"

### [9.10.417]
add [timeline] Shortcode to display a pure css vertical timeline with dates and ago-time

### [9.10.416]
add date to feedbacklink and feedback qr - set to current date
add feedbacklink with veranstaltungs-date to admin teilnehmer page

### [9.10.414]
added shortzcode to create a an FAQ accordeon. when clicking on a question a pure css slider toggles the answer on and off.
shortcode params for numbered list and for opening first answer

### [9.9.409-413]
page template "vote":
live-votes improved and german translations added, Stats displayed, copy shortcode with admin rights
create live-voting as admin with simple input field or from commandline (?frage=frage,antwort1,antwort2,antwort3...)
created shortcode for embedding live-votings/polls in posts and pages.

### [9.9.405-409]
ajax refresh results on live votes every 3 seconds

### [9.9.405-407]
(Kurz-)Listendarstellung anwählbar für Archive, Woocommerce-Produktarchive und Suchausgabe. Sortierung wird bei Wechsel übernommen in Suchmaske
Laufschrift, Laufschrift mit Bildern restyled zu hellen title Captions mit opacity
added theme-option: Site-Title and Site-Description sowie aktuelle Nachricht (Footertext) können nun als large Font in Bannermitte angezeigt werden 

### [9.9.381-403]
WP 591 compatibility, Countdown-Timer Shortcode improved: 3 forms for timer in seconds, timer to absolute time or date and time, co2 lüftungstimer
time page for schulungen with multiple alarms set up
css optimizations and unused stuff removed

### [9.9.361-381]
page template vote and page created "live-umfragen" allows admins to create (and delete) quick votes by commandline and public voters
to attend. call page to use.

### [9.9.361-381]
copy records displayed on page in teilnehmerliste
more: see changelog on github fork

### [9.9.340-360]
shadowed boxes for articles and sidbar on/off in customizing
style and print optimizations

### [9.9.340-352]
style improvements, removed deprecated functions, translations updated

### [9.9.340-342]
Hashtags are inserted automatically if you place # beforde words of your contents
they will be displayed as a link with mouseover tag description if any is set (glossary)

### [9.9.339]
meta_icons: know quizcategory from wpdoodlez custom post type and displays taxonomies and link

### [9.9.338]
Optimierungen und Verbesserungen Kunden/Teilnehmerliste
W4PL Liste und Page entfernt, da Archiv Funktion in w4pl alle CPTs dieses Typs listet in den Breadcrumbs

### [9.9.336]
shortcode `[categorycloud]` lists all categories (and counts for admin) as cloud with variable fontsize. usable in a html widget
   if woocommerce is active, product categories will be listed too.
shortcode `[popular_posts]`moved to penguin-extras.php displays post with most views (counts for admin)

### [9.9.333]
Image handling of post thumbnail in display as banner and as post picture
style improvements, rounded border on header container

### [9.9.330]
revert to javascript/jquery masonry layout for compatibility with all browsers and as pure css masonry did not work as expected

### [9.9.321]
Removed masonry Jquery on homepage. changed to display:grid layout which is faster.
Style optimizations and folderslider on homepage fixes

### [9.9.315]
Style optimizations

### [9.9.310]
Suche um Quizfragen erweitert

### [9.9.308]
Schulungsverwaltung und Auswertung für Prüfungen und Teilnehmerlisten implementiert.

### [9.9.304 - 306]
[next_event] shortcode gets a new title parameter for setting a subtitle that will be displayed under the circles
When shortcode is set a url parameter ?date=20.11.2020 12:30:00 will overwrite the default counter and count until given date. value is german date format and sanitized after input

### [9.9.303]
Newsticker with first post image or category image can be enabled in customizer
Action Ticker Message will be displayed if filled in customizer even with sliders and newsticker disabled

### [9.9.302 - 2020-10-27]
Styles optimization, Like statistics, percentage and display values only if > 0 für views, likes and comments

### [9.9.300]
Integration of table of contents as pure php code with some inline css. its fast and displays automatically when post and page has more than 2 headings. Auto chapter numbering.
css fixes. CSS Header was broken - rebuilt

### [9.9.278]
- Google locally loaded fonts removed, switched to internet safe font from browser (Arial)
- Style adjustments

### [9.9.278]
- date - human date added to meta-top. if modified posts gets a different cal icon and only mod date will be displayed.
On mouseover mod and create date will be displayed.
- reading time will show up only when longer 24 Seconds.
- Meta descriptions added to header automatically regarding category title and cat-description, tag and tag description, excerpt (on single pages/posts) or blog info and description (on homepage)
- table styles nth child lighter and with opacity

### [9.9.275 - 2020-09-11]
Display shortcodes used in posts in admin post list
CSS optimizations table

### [9.9.268 - 2020-09-07]
Bugfixes, Styling angepasst für transparente pages

### [9.9.267 - 2020-09-01]
get_user_ip umbenannt in pruef_get_user_ip

### [9.9.267 - 2020-08-29]
- integrated local avatar from media lib, prevented avatars from gravatar
- legacy tinymce editor css reduced to minimum/font/sizes
- styles.css made slim, removed old and unneccessary styles, loading faster
- loading minified css and js/jquery code now made work
- added meta top functions/symbols and date ago in human time diff
- added custom file types with custom type icons from fontaw
- supports chartscodes plugin when loaded to display pies, charts and qr/barcodes in posts and woocommerce

### [1.0.1 - 9.9.261 - 2020-08-14 PBMod]
- removed svg icons
- added gpl/sil based fontawesome font and switched all icons
- Armata font will be loaded locally from webserver - not from google servers
- css minifiying did not work on styles css - fixed
- duplicate post function in dashboard/lists
- reading time shortcodes
- display all shortcodes list in editor
- quiz/tests with own table and custom page template (pruefungen), you can insert MCT javascript tests to posts in editor
- page templates and pages created on plugin activation
- bulk password change on pw protected pages
- woocommerce optimization and price with and without tax
- datasheets can be displayed
- qrcode of the SKU displayed
- add column in plugins list with quickedit link, plugin create and mod date
- add dashboard plugin list: min php version and tested up to version

## [1.0.0] - 2017-12-01
- former gold features
- svg4everybody polyfill
- page template transparent full width
- update smooth scroll script

### Fixed
- url in footer
- padding of stand alone post
- last p and cite inside blockquote
- line-height link post format
- screenshot size 1200x900
- primary color bug
- css alignment
- responsive images function
- h2 for author_name in author box
- escaping

## [0.3.3] - 2017-03-10
### Added
- Page template transparent full width
- svg4everybody polyfill
- Update smooth scroll script

### Fixed
- Padding of stand alone post
- Styling of last p and cite inside blockquote
- Line height of link in link post format
- Screenshot size 1200x900
- Primary color bug
- Alignment without clear

## [0.3.2] - 2017-01-19
### Fixed
- Fix focus styling of scroll to top
- Excerpt sticky font size on big screen
- Fix appearance of custom logo
- Add search form template and improve accessibility
- Contrast of copyright text
- ARIA label to menus
- aria-hidden for decorative svg icons
- word-wrap normal for screen-reader-text
- Restrict menu item arrow to the primary menu

## [0.3.1] - 2017-01-07
### Fixed
- Typo in theme tag

## [0.3.0] - 2017-01-07
### Added
- Improve font-size, especially headings
- More ways of styling links as flat buttons
- Links with underline [accessibility]
- Missing change log information
- Rebuild all navigation [accessibility]
- Use only one h1 [accessibility]
- SVG metadata without conflict html syntax
- Padding of posts
- Change URLs to HTTPS
- Flexible `columnWidth` in masonry script
- Remove i18n functions from variables
- Update theme tags
- Make get_bloginfo more secure
- Escape get_template_directory_uri
- Remove author data shim
- Improve code style
- Echo text directly instead of defining a variable
- Use wp_style_add_data to define minified file
- Fix translatability of comments title
- Remove rel="designer" in credits link
- Escape footer text

## [0.2.0] - 2016-04-24
### Added
- Support Responsive Images
- SVG icons
- Core customizer
- New custom logo
- Editor styles

### Removed
- Options Framework
- Icon Font

### Fixed
- Fullwidth class
- Author page header
- Correct GPL version and add copyright
- Escaped `get_permalink()`
- Change prefix from `tha_` to `penguin_`
- Remove `the_posts_navigation` and `the_post_navigation`

## [0.1.4] - 2016-03-29
### Fixed
- Fix one post layout issue
- Update Readme

## [0.1.3] - 2016-03-08
### Fixed
- Changed theme name

## [0.1.2] - 2016-03-05
### Added
- Use flexbox for comment form
- Redesign author info box

### Fixed
- Don't show the excerpt in the admin area
- Use https URL in style.css
- Fix typo in option description (gold version)

## [0.1.1] - 2016-02-15
### Added
- Add extra check for language packs
- Add author info box

### Fixed
- Fix icon-font issue
- Only use required class on span
- Fix fluidvids option

## [0.1.0] - 2015-10-12
### Added
- Initial Release

App view
--------
The app view can be toggled with the fullscreen button in the grey meta bar.
It can also be enabled with ?noheader=1 and disabled with ?noheader=0.
When enabling with ?noheader=1, the parameter remains in the URL so Android/Chrome can save it in a home-screen shortcut. ?noheader=0 is removed after disabling; all other URL parameters are preserved.
The selected state is stored in the penguin_app_view cookie.



## App-View / Fullscreen-Modus

Das Theme unterstützt einen integrierten App-View, bei dem nur der eigentliche
Seiteninhalt (#primary) angezeigt wird. Header, Banner, Navigation, Sidebars
und Footer werden ausgeblendet, während Theme- und Plugin-Styles sowie
JavaScript weiterhin vollständig geladen werden.

Aktivierung:
- Über den App-View-Button in der Greybox-Meta-Leiste.
- Über URL-Parameter:
  - ?noheader=1  (aktivieren)
  - ?noheader=0  (deaktivieren)

Der Status wird in einem Cookie gespeichert und bleibt beim Wechsel auf andere
Seiten erhalten. Bei ?noheader=1 bleibt der Parameter in der URL, damit Android/Chrome ihn
beim Erstellen einer Startbildschirm-Verknüpfung mitspeichern kann. Beim
Deaktivieren über den Button oder ?noheader=0 wird er entfernt. Andere
URL-Parameter bleiben unverändert erhalten.

Eigenschaften:
- vollständiges WordPress-Rendering
- wp_head() und wp_footer() bleiben aktiv
- Theme- und Plugin-CSS/JavaScript werden geladen
- Header, Banner, Navigation, Sidebars und Footer werden ausgeblendet
- #primary nutzt die gesamte verfügbare Breite

Geeignet für Dashboards, Formulare, interne Anwendungen, Digital-Signage,
Einbettungen per iFrame sowie Web-App-Ansichten.
