From ddbcbd0e54f7fc064dae2905596615c42ef36867 Mon Sep 17 00:00:00 2001
From: "Jorge hangar.org"
Date: Thu, 29 Apr 2021 00:56:02 +0200
Subject: [PATCH] styled header and footer
---
footer.php | 66 +++++++-
functions.php | 8 +-
gulpfile.babel.js | 140 ++---------------
header.php | 42 ++---
index.php | 8 +-
library/navigation.php | 50 ++++--
404.php => originalPHPfiles/404.php | 0
archive.php => originalPHPfiles/archive.php | 0
comments.php => originalPHPfiles/comments.php | 0
originalPHPfiles/footer.php | 24 +++
originalPHPfiles/functions.php | 58 +++++++
originalPHPfiles/header.php | 50 ++++++
originalPHPfiles/index.php | 50 ++++++
page.php => originalPHPfiles/page.php | 0
search.php => originalPHPfiles/search.php | 0
.../searchform.php | 0
originalPHPfiles/sidebar.php | 12 ++
single.php => originalPHPfiles/single.php | 0
.../woocommerce.php | 0
sidebar.php | 2 +-
..._creative_europe_co_funded_black_right.svg | 146 ++++++++++++++++++
src/assets/imgexample/img0001.jpg | Bin 34663 -> 0 bytes
src/assets/imgexample/img0002.jpg | Bin 33968 -> 0 bytes
src/assets/imgexample/img0003.jpg | Bin 67305 -> 0 bytes
src/assets/imgexample/img0004.jpg | Bin 247551 -> 0 bytes
src/assets/scss/global/_branding.scss | 26 +++-
src/assets/scss/modules/_footer.scss | 4 -
src/assets/scss/modules/_header.scss | 1 +
template-parts/content.php | 2 +-
29 files changed, 489 insertions(+), 200 deletions(-)
rename 404.php => originalPHPfiles/404.php (100%)
rename archive.php => originalPHPfiles/archive.php (100%)
rename comments.php => originalPHPfiles/comments.php (100%)
create mode 100644 originalPHPfiles/footer.php
create mode 100644 originalPHPfiles/functions.php
create mode 100644 originalPHPfiles/header.php
create mode 100644 originalPHPfiles/index.php
rename page.php => originalPHPfiles/page.php (100%)
rename search.php => originalPHPfiles/search.php (100%)
rename searchform.php => originalPHPfiles/searchform.php (100%)
create mode 100644 originalPHPfiles/sidebar.php
rename single.php => originalPHPfiles/single.php (100%)
rename woocommerce.php => originalPHPfiles/woocommerce.php (100%)
create mode 100644 src/assets/img/eu_flag_creative_europe_co_funded_black_right.svg
delete mode 100644 src/assets/imgexample/img0001.jpg
delete mode 100644 src/assets/imgexample/img0002.jpg
delete mode 100644 src/assets/imgexample/img0003.jpg
delete mode 100644 src/assets/imgexample/img0004.jpg
diff --git a/footer.php b/footer.php
index d4e57c6..be94d8a 100644
--- a/footer.php
+++ b/footer.php
@@ -9,15 +9,67 @@
*/
?>
-
-
-
+
+
>
-
-
-
-
-
diff --git a/index.php b/index.php
index e0414ec..679dcc3 100644
--- a/index.php
+++ b/index.php
@@ -15,9 +15,8 @@
get_header(); ?>
-
-
-
+
+
@@ -43,8 +42,7 @@ get_header(); ?>
+
-
-
false,
+// 'menu_class' => 'dropdown menu desktop-menu',
+// 'items_wrap' => '',
+// 'theme_location' => 'top-bar-r',
+// 'depth' => 3,
+// 'fallback_cb' => false,
+// 'walker' => new Foundationpress_Top_Bar_Walker(),
+// )
+// );
+// }
+//}
if ( ! function_exists( 'foundationpress_top_bar_r' ) ) {
function foundationpress_top_bar_r() {
wp_nav_menu(
array(
'container' => false,
- 'menu_class' => 'dropdown menu desktop-menu',
- 'items_wrap' => '',
+ 'menu_class' => 'menu',
+ 'items_wrap' => '',
'theme_location' => 'top-bar-r',
'depth' => 3,
'fallback_cb' => false,
@@ -40,21 +55,22 @@ if ( ! function_exists( 'foundationpress_top_bar_r' ) ) {
/**
* Mobile navigation - topbar (default) or offcanvas
*/
-if ( ! function_exists( 'foundationpress_mobile_nav' ) ) {
- function foundationpress_mobile_nav() {
- wp_nav_menu(
- array(
- 'container' => false, // Remove nav container
- 'menu' => __( 'mobile-nav', 'foundationpress' ),
- 'menu_class' => 'vertical menu',
- 'theme_location' => 'mobile-nav',
- 'items_wrap' => '',
- 'fallback_cb' => false,
- 'walker' => new Foundationpress_Mobile_Walker(),
- )
- );
- }
-}
+//if ( ! function_exists( 'foundationpress_mobile_nav' ) ) {
+// function foundationpress_mobile_nav() {
+// wp_nav_menu(
+// array(
+// 'container' => false, // Remove nav container
+// 'menu' => __( 'mobile-nav', 'foundationpress' ),
+// 'menu_class' => 'vertical menu',
+// 'theme_location' => 'mobile-nav',
+// 'items_wrap' => '',
+// 'fallback_cb' => false,
+// 'walker' => new Foundationpress_Mobile_Walker(),
+// )
+// );
+// }
+//}
+
/**
diff --git a/404.php b/originalPHPfiles/404.php
similarity index 100%
rename from 404.php
rename to originalPHPfiles/404.php
diff --git a/archive.php b/originalPHPfiles/archive.php
similarity index 100%
rename from archive.php
rename to originalPHPfiles/archive.php
diff --git a/comments.php b/originalPHPfiles/comments.php
similarity index 100%
rename from comments.php
rename to originalPHPfiles/comments.php
diff --git a/originalPHPfiles/footer.php b/originalPHPfiles/footer.php
new file mode 100644
index 0000000..d4e57c6
--- /dev/null
+++ b/originalPHPfiles/footer.php
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+