From 13f6bc520387d047809ee06bcef8cd51031023c0 Mon Sep 17 00:00:00 2001 From: Willi Junga Date: Fri, 4 Dec 2020 11:07:37 +0100 Subject: [PATCH 1/8] added files for said branch --- README.md | 16 +++- content-list-home-slider.php | 43 +++++++++ content-list-home.php | 39 +++++++++ content-list-small.php | 28 ++++++ content-list.php | 37 ++++++++ content-single.php | 135 +++++++++++++++++++++++++++++ page-home-campaign.php | 163 +++++++++++++++++++++++++++++++++++ style.css | 8 +- 8 files changed, 464 insertions(+), 5 deletions(-) create mode 100644 content-list-home-slider.php create mode 100644 content-list-home.php create mode 100644 content-list-small.php create mode 100644 content-list.php create mode 100644 content-single.php create mode 100644 page-home-campaign.php diff --git a/README.md b/README.md index e965047..0cae7b2 100644 --- a/README.md +++ b/README.md @@ -1 +1,15 @@ -Hello +"Joseph-Knows-Best" - Wordpress Theme für gruene-rlp.de +======================================================= +Credits to: https://chatbegruenung.de/direct/dietzmar + +For feedback and _voluntary_ advice: https://chatbegruenung.de/channel/wordpress + + +## Overrides + +__Do, 26.11.2020 22:36__ + +Abschnitt-Überschrift auf der Kampagnen-Seite von +"werde aktiv" auf "was wir wollen" geändert. + + diff --git a/content-list-home-slider.php b/content-list-home-slider.php new file mode 100644 index 0000000..728b958 --- /dev/null +++ b/content-list-home-slider.php @@ -0,0 +1,43 @@ + + ID), 'full' ); + $url = $thumb['0']; ?> +
+
+ + + + + + +
role="article"> + + + + +
+

name; + } + elseif ($count > 1) { + echo ', '.$tag->name; + } + } + ?>

+

+
+ + +
+ + +
+ + diff --git a/content-list-home.php b/content-list-home.php new file mode 100644 index 0000000..8f79cd9 --- /dev/null +++ b/content-list-home.php @@ -0,0 +1,39 @@ + + + + + + +
role="article"> + + + + +
+ + + +

name; + } + elseif ($count > 1) { + echo ', '.$tag->name; + } + } + ?>

+

+
+ + + + + +
+ diff --git a/content-list-small.php b/content-list-small.php new file mode 100644 index 0000000..189b4ef --- /dev/null +++ b/content-list-small.php @@ -0,0 +1,28 @@ + +
> + +

+

name; + } + elseif ($count > 1) { + echo ', '.$tag->name; + } + } + ?>

+
+ + + + +
+ diff --git a/content-list.php b/content-list.php new file mode 100644 index 0000000..05084d0 --- /dev/null +++ b/content-list.php @@ -0,0 +1,37 @@ + + + + + + +
role="article"> + + + + +
+ +

name; + } + elseif ($count > 1) { + echo ', '.$tag->name; + } + } + ?>

+

+
+ + + + + +
+ diff --git a/content-single.php b/content-single.php new file mode 100644 index 0000000..abd0c06 --- /dev/null +++ b/content-single.php @@ -0,0 +1,135 @@ + + + + ID), 'full' ); + $url = $thumb['0']; ?> +
+
+ + + + + + + +
+ + +
role="article"> + + + + + +
+ + + + ID), 'full' ); + $url = $thumb['0']; ?> + + + post_excerpt; + if ($imgexc != "") { + ?>

+ +

+ + + + + + + +
+ + ID), 'full' ); + $url = $thumb['0']; ?> + + + post_excerpt; + if ($imgexc != "") { + ?>

+ +
+ + +
+ +

name; + } + elseif ($count > 1) { + echo ', '.$tag->name; + } + } + ?>

+

+ +
+ + + + +
+ +
+ + + +
+ + '' ) ); ?> +
+ + + + + + + + +
+ + +
+

+

+
+
+ + + +
+ +
+ + + + + + +
+ + + + + + + + + +
+ diff --git a/page-home-campaign.php b/page-home-campaign.php new file mode 100644 index 0000000..009146f --- /dev/null +++ b/page-home-campaign.php @@ -0,0 +1,163 @@ + + + + + + ID), 'full' ); + $url = $thumb['0']; ?> +
+
+ + + +
+
+

+

+ + + ID, 'kr8mb_page_campaign_cta', true ); + if (! empty ($cta )){ ?>

+ + + +
+
+ + +
+ + + + + +
+ + +
+

Spenden

+ 100 € + 50 € + 20 € +
+ + +
+

Erfahre mehr

+ + + +
+ + +
+ + + + + +
+
+
+ +
+
+
+ + +
+ + + +
+

Was wir wollen

+ + + +
+ + +
+
+ +

Aktuelles

+
+ + + + + + + 3, + 'post__in' => get_option( 'sticky_posts' ), + 'posts_per_page' => $postsperpage, + 'ignore_sticky_posts' => 1 + ); + query_posts($args); + ?> + + + + + + + +

Alle Nachrichten im Archiv »

+ + +
+

Termine

+
+ + +
+ +

Presse

+
+ + + + + + + + + + + + + +
+ + + + +
+
+ + + + + +
+ + + diff --git a/style.css b/style.css index 72ed75e..cfa1da4 100644 --- a/style.css +++ b/style.css @@ -1,11 +1,11 @@ /* -Theme Name: Joseph knows best Child +Theme Name: Joseph knows best Child - more headlines and all the tags Theme URI: https://git.verdigado.com/NB-Public/jkb-childtheme -Description: Child Theme fuer Aufwändiges Wordpress-Theme für den EInsatz von größeren Websites, z.B: bei Landesverbänden. -Author: Willi Junga +Description: Child Theme fuer Aufwändiges Wordpress-Theme für den Einsatz von größeren Websites, z.B: bei Landesverbänden. +Author: Marc Dietz Author URI: https://verdigado.com Template: Joseph-knows-best-master -Version: 0.0.1 +Version: 1.0 Text Domain: jkb-child Tags: child, childtheme, child-theme, two-columns, green, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, custom-menu, theme-options, featured-images, storytelling License: GNU General Public License v3 or later From 243d67e172f20bf7f98803e51334e96268278773 Mon Sep 17 00:00:00 2001 From: Willi Junga Date: Fri, 4 Dec 2020 11:52:29 +0100 Subject: [PATCH 2/8] added more information --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0cae7b2..4c00ef4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -"Joseph-Knows-Best" - Wordpress Theme für gruene-rlp.de +"Joseph-Knows-Best" - Wordpress Theme new-headlines-display-all-tags ======================================================= Credits to: https://chatbegruenung.de/direct/dietzmar @@ -9,7 +9,6 @@ For feedback and _voluntary_ advice: https://chatbegruenung.de/channel/wordpress __Do, 26.11.2020 22:36__ -Abschnitt-Überschrift auf der Kampagnen-Seite von -"werde aktiv" auf "was wir wollen" geändert. - +- Abschnitt-Überschrift auf der Kampagnen-Seite von "werde aktiv" auf "was wir wollen" geändert. +- Möchte man mehrere Schlagworte den Beiträgen zuweisen, werden diese nun auch angezeigt From 433c8207e8b8c70474627c6f8d098e7fb573d8fe Mon Sep 17 00:00:00 2001 From: Willi Junga Date: Fri, 4 Dec 2020 17:04:35 +0100 Subject: [PATCH 3/8] added a fundraising box --- fundraisingbox.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 fundraisingbox.html diff --git a/fundraisingbox.html b/fundraisingbox.html new file mode 100644 index 0000000..06c281d --- /dev/null +++ b/fundraisingbox.html @@ -0,0 +1 @@ +FundraisingBox Logo From 72c1025b3e951f8d626ee786972f6306aeb7bdee Mon Sep 17 00:00:00 2001 From: Willi Junga Date: Fri, 4 Dec 2020 17:11:09 +0100 Subject: [PATCH 4/8] removed the fundraising box again --- fundraisingbox.html | 1 - 1 file changed, 1 deletion(-) delete mode 100644 fundraisingbox.html diff --git a/fundraisingbox.html b/fundraisingbox.html deleted file mode 100644 index 06c281d..0000000 --- a/fundraisingbox.html +++ /dev/null @@ -1 +0,0 @@ -FundraisingBox Logo From 4064bfd6dfb4f307d2ca9742814f6ae8a498bf51 Mon Sep 17 00:00:00 2001 From: Willi Junga Date: Sat, 5 Dec 2020 09:46:30 +0100 Subject: [PATCH 5/8] hardcodes landing page --- README.md | 24 +++++++++++++++++------- style.css | 2 +- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4c00ef4..9881d16 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,24 @@ -"Joseph-Knows-Best" - Wordpress Theme new-headlines-display-all-tags +"Joseph-Knows-Best" - Wordpress Theme für gruene-rlp.de ======================================================= -Credits to: https://chatbegruenung.de/direct/dietzmar - -For feedback and _voluntary_ advice: https://chatbegruenung.de/channel/wordpress - ## Overrides +__Fr, 04.12.2020 18:28__ + +Weil ich dafür im Moment keine bessere Lösung weiß, habe ich im Theme das Seitenformat landing-page zu unserer Spendenseite gemacht. +Dort habe ich also das Javascript-Schnipsel unseres Spenden-Dienstleisters hart verdrahtet. :) +Wir verwenden dieses Seitenformat nirgends anders, deswegen ist das möglich. +Ich möchte dann in nahe Zukunft ein Seitenformat "Spendenseite" für eben diesen Zweck anlegen. + + +__Do, 03.12.2020 15:22__ + +Falls mehrere Schlagworte pro Beitrag vergeben wurden, werden diese nun durch Komma getrennt auch angezeigt. + + __Do, 26.11.2020 22:36__ -- Abschnitt-Überschrift auf der Kampagnen-Seite von "werde aktiv" auf "was wir wollen" geändert. +Abschnitt-Überschrift auf der Kampagnen-Seite von +"werde aktiv" auf "was wir wollen" geändert. + -- Möchte man mehrere Schlagworte den Beiträgen zuweisen, werden diese nun auch angezeigt diff --git a/style.css b/style.css index cfa1da4..fe2ecba 100644 --- a/style.css +++ b/style.css @@ -5,7 +5,7 @@ Description: Child Theme fuer Aufwändiges Wordpress-Theme für den Einsatz von Author: Marc Dietz Author URI: https://verdigado.com Template: Joseph-knows-best-master -Version: 1.0 +Version: 1.1 Text Domain: jkb-child Tags: child, childtheme, child-theme, two-columns, green, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, custom-menu, theme-options, featured-images, storytelling License: GNU General Public License v3 or later From 045c75e0ff0b0b666fceacd97603605e3e55f86f Mon Sep 17 00:00:00 2001 From: Willi Junga Date: Sat, 5 Dec 2020 10:19:05 +0100 Subject: [PATCH 6/8] forgot to hardcode the landing page --- page-landingpage.php | 93 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 page-landingpage.php diff --git a/page-landingpage.php b/page-landingpage.php new file mode 100644 index 0000000..3209ddf --- /dev/null +++ b/page-landingpage.php @@ -0,0 +1,93 @@ + + + + ID, 'kr8mb_page_themen_id', true ); + $format = get_post_meta( $post->ID, 'kr8mb_page_format_id', true ); ?> + +
+ + ID), 'full' ); + $url = $thumb['0']; ?> +
+
+ +
+ + +
+
+

+
+
+
+ +
+ + + +
+ + + +
role="article" itemscope itemtype="http://schema.org/BlogPosting"> + +
+ FundraisingBox Logo + +
+ +
+ + + +
+ + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + +
+ +
+ +
+ + From 1c65ef948389988103ac4058578ae468334a6913 Mon Sep 17 00:00:00 2001 From: Willi Junga Date: Sat, 5 Dec 2020 13:01:11 +0100 Subject: [PATCH 7/8] added credits and misc text to Readme.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 9881d16..567e011 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ "Joseph-Knows-Best" - Wordpress Theme für gruene-rlp.de ======================================================= +Credits to: https://chatbegruenung.de/direct/dietzmar + +For feedback and _voluntary_ advice: https://chatbegruenung.de/channel/wordpress + + ## Overrides __Fr, 04.12.2020 18:28__ From f11244fb2f96dd731b6a7b937858d846e25dbd82 Mon Sep 17 00:00:00 2001 From: Willi Junga Date: Mon, 14 Dec 2020 14:14:28 +0100 Subject: [PATCH 8/8] removed the donationbuttons --- page-home-campaign.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/page-home-campaign.php b/page-home-campaign.php index 009146f..e5b5ee8 100644 --- a/page-home-campaign.php +++ b/page-home-campaign.php @@ -40,12 +40,6 @@ Template Name: Startseite - Kampagnen
-
-

Spenden

- 100 € - 50 € - 20 € -