Commit graph

12 commits

Author SHA1 Message Date
fb8e7870bc
feat: add custom post type for letters to the editor
Updated README to mention the new custom post type for letters to the editor. Adjusted function naming in `functions.php` to reflect the new feature. This enhancement allows users to manage and display editorial letters more effectively.
2024-06-20 20:54:23 +02:00
5adf97494d
feat: add Letters to the Editor post type
Introduced a new custom post type "Letters to the Editor" with corresponding archive and single templates. Enhanced post type functionality includes support for featured images, authors, excerpts, and comments. Added pagination and a meta box for article authors to improve user interaction and content management.
2024-06-20 20:53:04 +02:00
1d2734bf00
fix(routing): accommodate longer DOI prefixes in URLs
Modified the DOI rewrite rule to accept prefixes with more than four digits. This change ensures compatibility with a wider range of DOIs, preventing potential 404 errors and improving the robustness of URL parsing.
2024-06-20 15:55:36 +02:00
ce8a5d25e4
feat: Add DOI customization support and docs
Introduce DOI prefix customization via the WordPress Customizer,
allowing users to set and modify the DOI prefix dynamically. Updated
DOI generation to use the customizable prefix. Also, added README.md
file documenting the theme's features and custom post types.
2024-06-20 15:48:14 +02:00
b3246b8549
feat(meta): consolidate save logic for article meta boxes
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.
2024-06-20 14:47:10 +02:00
33f4d65bed
feat: add DOI functionality to articles
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.
2024-06-20 14:44:20 +02:00
04cab36072
fix: update default hero image path
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.
2024-06-20 13:01:39 +02:00
f579d5615a
feat: add pagination support to article archive pages
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.
2024-06-20 11:37:41 +02:00
93ceb845aa
feat: add publication status taxonomy to articles
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.
2024-06-20 11:28:29 +02:00
625a2f0639
feat: add excerpt and author removal functionality
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.
2024-06-20 11:10:31 +02:00
f6e4824fe5
feat: introduce custom post type for articles
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.
2024-06-20 10:52:49 +02:00
c61ba4a695
feat: add new WordPress theme for Duck Behavior Journal
- 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.
2024-06-20 09:22:10 +02:00