Commit graph

21 commits

Author SHA1 Message Date
3bd51e66ed
feat: add DOI copy-to-clipboard functionality
Introduced a new JavaScript file to handle the DOI copy-to-clipboard feature. Updated the 'single-article.php' template to include a clickable DOI link that copies the DOI to the clipboard and displays a confirmation message. Enhances user convenience by simplifying the process of copying DOIs.
2024-06-20 15:24:22 +02:00
ac0a7eb942
feat: add search functionality to article archive
Split the article archive filters into two columns. The left column now contains the publication status filter, while the right column introduces a new search bar for querying articles. This improves user experience by allowing more precise and convenient filtering of articles. No visual changes are made to the existing filter functionality.
2024-06-20 15:05:39 +02:00
d87996372e
fix(header): remove duplicate title tag
Removed the redundant title tag from the header to prevent duplication and potential SEO issues. The title is already dynamically handled elsewhere in the theme. Reducing clutter and improving maintainability.
2024-06-20 15:03:35 +02:00
bc77ba4aba
feat: enhance title rendering with wp_title function
Updated the header to use wp_title for more flexible and SEO-friendly title formatting. This change improves the handling of page titles by generating titles dynamically based on the context, providing better SEO and user experience.
2024-06-20 15:02:13 +02:00
98a3faf4ed
fix(article): add status label in article metadata
Included a "Status:" label in the article metadata section to clearly indicate the publication status. This improves readability and user experience by explicitly naming the metadata field. No functional changes to the data retrieval process.
2024-06-20 14:54:40 +02:00
4310ea6fb8
feat: make article titles and thumbnails clickable
Enhanced user navigation by wrapping article titles and thumbnails within anchor tags linked to the respective articles' permalink in archive-article.php and index.php. Updated styles for article titles to improve the visual appeal.
2024-06-20 14:52:37 +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
d9bd687c7a
feat: improve filter form styling and accessibility
Enhanced the filter form for publication status by adding Bootstrap classes for better styling and layout, including a button for clarity. Increased the form's accessibility by adding labels and ARIA attributes, improving the user experience for all visitors.
2024-06-20 11:39:54 +02:00
747e313060
feat: Display publication status for articles
Added functionality to display publication status taxonomy terms for each article excerpt on the archive page. This enhancement provides users with more context about the publication status directly in the article preview, improving content visibility and user experience.
2024-06-20 11:39:00 +02:00
f12110eb50
fix: correct button placement outside paragraph tag
Moved the "Read More" button outside the paragraph tag to improve HTML structure and ensure proper spacing and styling. Coding adherence to semantic HTML standards.
2024-06-20 11:38:24 +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
2fab7b0aee
feat: add publication status filter to article archive
Added a dropdown to filter articles by publication status in the article archive. This feature enhances user capabilities by allowing them to easily filter articles based on their publication status, improving content accessibility and navigation.
2024-06-20 11:33:49 +02:00
ca3417643a
fix(article): disable post thumbnail display conditionally
Disable the display of post thumbnails by adding a conditional `false` check. This adjustment helps to address potential layout issues or performance concerns when thumbnails are not required for individual articles.
2024-06-20 11:31:08 +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
5ab9e5a62a
chore: remove article template file
Deleted the unused article template file to clean up project files and reduce maintenance burden. This template was outdated and no longer fit with our current architecture. No other dependent code was impacted.
2024-06-20 11:00:38 +02:00
b9e8ff9486
feat: Add article template for custom post type
Introduced a new template for custom article posts, displaying title, authors, note, abstract, and various sections like Introduction, Methods, Results, Discussion, Conclusion, and References. Enhances readability and structure for article content.
2024-06-20 10:56:25 +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