Merged saving logic for article authors and DOI into a single function
to streamline and reduce redundant code. This ensures that both
meta fields are consistently handled during post save operations.
Introduced DOI meta box with a generator button in the article editor to assign and display DOIs for articles. Added functionality to save DOI values and correspondingly set up rewrite rules and redirections based on DOI queries. Display DOI on the article single view page for enhanced article identification and accessibility.
Switched the default hero image from 'assets/hero.jpg' to 'assets/img/hero.png' to reflect the new file organization and ensure the correct image is displayed. This change prevents broken images on the front end and improves user experience.
Enabled pagination in the article archive template to improve navigation and user experience. Updated functions to include pagination support in the theme setup. This change will help users browse through multiple pages of articles more conveniently.
Introduced a hierarchical 'publication status' taxonomy for the 'article' post type, providing a structured way to categorize publication states. Updated front-end views to display the publication status of articles both in listings and on the single article page.
This enhancement improves the classification and visibility of articles based on their publication status, aiding in better content organization and user navigation.
Enhanced article previews with excerpts and cleaned up date rendering. Implemented option to remove authors in meta box for better user control. Improves overall usability and experience.
Added a custom post type 'article' including templates for index, archive, and single views. Enhanced article metadata handling with a custom meta box for authors. Updated homepage to feature articles instead of generic posts. This provides a more specialized structure and better organization for journal content.
- 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.