From 5c4d79cc232099a027fb14f3b1cc4bbd8f27a1cb Mon Sep 17 00:00:00 2001 From: Henrique Iamarino <103748085+henriqueiamarino@users.noreply.github.com> Date: Wed, 10 Jul 2024 12:16:50 +0200 Subject: [PATCH] MyMenu: fixing after review (#7946) * MyMenu: fixing after review * MyMenu: final edits before resubmitting --- mymenu/functions.php | 22 ++++++------ mymenu/patterns/404.php | 11 +++--- mymenu/patterns/archive.php | 9 +++-- mymenu/patterns/front-page.php | 63 +++++++++++++++++----------------- mymenu/patterns/index.php | 9 +++-- mymenu/patterns/search.php | 9 +++-- mymenu/readme.txt | 32 +++++++++++++++++ mymenu/templates/page.html | 6 ++-- mymenu/templates/single.html | 6 ++-- 9 files changed, 97 insertions(+), 70 deletions(-) diff --git a/mymenu/functions.php b/mymenu/functions.php index b71ad33673..e509a9b8e4 100644 --- a/mymenu/functions.php +++ b/mymenu/functions.php @@ -1,7 +1,7 @@ get( 'Version' ) ); // Enqueue theme stylesheet. - wp_enqueue_style( 'menu-style' ); + wp_enqueue_style( 'mymenu-style' ); } endif; -add_action( 'wp_enqueue_scripts', 'menu_styles' ); +add_action( 'wp_enqueue_scripts', 'mymenu_styles' ); diff --git a/mymenu/patterns/404.php b/mymenu/patterns/404.php index 6e2d5478d3..907e7f157f 100644 --- a/mymenu/patterns/404.php +++ b/mymenu/patterns/404.php @@ -1,4 +1,3 @@ - - -