Moved class files into a dedicated 'classes' directory to improve project organization. Updated file paths in functions.php to reflect these changes. This helps maintain a cleaner directory structure and separates core files from auxiliary classes.
Enhanced dropdown accessibility by adding `aria-labelledby` to the dropdown menu and `role="button"` to toggler links. This conforms to ARIA standards and Bootstrap 5, ensuring better support for assistive technologies.
Cleaned up unnecessary blank lines in the Bootstrap Navwalker class. This enhances code readability and maintains consistent coding style throughout the file. No functional changes were made.
Improves robustness by checking if the walker property exists in args before accessing it. This prevents potential undefined property errors when args is missing the walker attribute. Ensures better compatibility with different menu configurations and avoids runtime issues.
- Set up a new WordPress theme with custom logo, header image, and menus
- Implement the WP Bootstrap Navwalker for improved navigation
- Add Bootstrap and jQuery for styling and functionality
- Customize hero section via the Customizer API
- Include footer with customizable text and social media links
- Integrate featured articles and page templates
- Enhance styles with a dedicated CSS file
References: #123, #124
This addition provides a modern, responsive design tailored to the Duck Behavior Journal, enhancing user engagement and site navigation.