From 8cefe8bc25285965f8d05c695384d34964493644 Mon Sep 17 00:00:00 2001 From: Eugene van Aubel <35023@ma-web.nl> Date: Tue, 1 Oct 2024 19:38:17 +0200 Subject: [PATCH] Added les 2 --- .gitignore | 3 +- themes/AlmaMater/content.php | 71 ++++++++++++++++++++++++++++++++++ themes/AlmaMater/footer.php | 35 +++++++++++++++++ themes/AlmaMater/functions.php | 23 +++++++++++ themes/AlmaMater/header.php | 45 +++++++++++++++++++++ themes/AlmaMater/index.php | 28 ++++++++++++-- themes/AlmaMater/single.php | 25 ++++++++++++ 7 files changed, 226 insertions(+), 4 deletions(-) create mode 100644 themes/AlmaMater/content.php create mode 100644 themes/AlmaMater/footer.php create mode 100644 themes/AlmaMater/header.php create mode 100644 themes/AlmaMater/single.php diff --git a/.gitignore b/.gitignore index 43c4848..892778d 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,5 @@ $RECYCLE.BIN/ ### Application .env -_sources \ No newline at end of file +_sources +uploads/ \ No newline at end of file diff --git a/themes/AlmaMater/content.php b/themes/AlmaMater/content.php new file mode 100644 index 0000000..140042c --- /dev/null +++ b/themes/AlmaMater/content.php @@ -0,0 +1,71 @@ + + +
> +
+ ', '' ); + else : + the_title( '

', '

' ); + endif; + + if ( 'post' === get_post_type() ) : + ?> + + +
+ +
+ "%s"', 'twentytwentyone' ), + array( + 'span' => array( 'class' => '' ), + ) + ), + get_the_title() + ) + ); + + wp_link_pages( + array( + 'before' => '', + 'link_before' => '', + 'link_after' => '', + ) + ); + ?> +
+ + +
diff --git a/themes/AlmaMater/footer.php b/themes/AlmaMater/footer.php new file mode 100644 index 0000000..cbc44fc --- /dev/null +++ b/themes/AlmaMater/footer.php @@ -0,0 +1,35 @@ + + + + + + diff --git a/themes/AlmaMater/functions.php b/themes/AlmaMater/functions.php index e69de29..cd10124 100644 --- a/themes/AlmaMater/functions.php +++ b/themes/AlmaMater/functions.php @@ -0,0 +1,23 @@ + +> + + + + <?php bloginfo('title') ?> + + + + + +> + +
+ +
+ \ No newline at end of file diff --git a/themes/AlmaMater/index.php b/themes/AlmaMater/index.php index 0f12e65..92a8715 100644 --- a/themes/AlmaMater/index.php +++ b/themes/AlmaMater/index.php @@ -1,4 +1,26 @@ - -get_footer(); \ No newline at end of file +
+
+

My Blog

+
+ +
+
+
+

+
+ + Read More +
+
+
+
+ +

No posts found.

+ +
+
+
+ + diff --git a/themes/AlmaMater/single.php b/themes/AlmaMater/single.php new file mode 100644 index 0000000..2d54987 --- /dev/null +++ b/themes/AlmaMater/single.php @@ -0,0 +1,25 @@ + + +
+
+

+
+
+ +
+
+
+

+
+ +
+
+ +