From 9f5faad4aa8bccea82e415c7301da4b10147da9a Mon Sep 17 00:00:00 2001 From: ai-bot Date: Wed, 14 Oct 2026 07:49:14 +0000 Subject: [PATCH] Upload files to "/" --- author.php | 24 +++++++++++++++++++++++ category.php | 23 ++++++++++++++++++++++ functions.php | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ header.php | 28 ++++++++++++++++++++++++++ page.php | 16 +++++++++++++++ 5 files changed, 145 insertions(+) create mode 100644 author.php create mode 100644 category.php create mode 100644 functions.php create mode 100644 header.php create mode 100644 page.php diff --git a/author.php b/author.php new file mode 100644 index 0000000..9d0c061 --- /dev/null +++ b/author.php @@ -0,0 +1,24 @@ +" . __("Forfatter: ", "textdomain") . $author . "\n"); + +if (have_posts()) : + while (have_posts()) : the_post(); +?> +
> +

+
+ +
+
+ diff --git a/category.php b/category.php new file mode 100644 index 0000000..41865eb --- /dev/null +++ b/category.php @@ -0,0 +1,23 @@ +" . __("Kategori: ", "textdomain") . get_queried_object()->name . ""); + +if (have_posts()) : + while (have_posts()) : the_post(); +?> +
> +

+
+ +
+
+ diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..44c6a7b --- /dev/null +++ b/functions.php @@ -0,0 +1,54 @@ +Logg ut'; + } +} + +// Change default WordPress email address +add_filter('wp_mail_from', 'new_mail_from'); +add_filter('wp_mail_from_name', 'new_mail_from_name'); + +function new_mail_from($old) { return 'info@taubaneforeningen.no'; } + +function new_mail_from_name($old) { return 'Norske Tau- og Kabelbaners Forening'; } +//end: Change default WordPress email address +?> \ No newline at end of file diff --git a/header.php b/header.php new file mode 100644 index 0000000..0fae21a --- /dev/null +++ b/header.php @@ -0,0 +1,28 @@ + +> + + "> + <?php bloginfo("name"); ?> + + " /> + + + +
+ +
diff --git a/page.php b/page.php new file mode 100644 index 0000000..fe30fe0 --- /dev/null +++ b/page.php @@ -0,0 +1,16 @@ + + + + +
> +

+ +
+ +
+
+ + + +