Introduced functionality to display article keywords on single article pages by retrieving metadata and rendering it alongside the abstract. This enriches article content with relevant keyword information, enhancing SEO and user navigation.
Removed redundant fallback to `the_author()` when displaying article authors. The authors are already sourced from post meta, ensuring accurate and consistent author data presentation. Streamlined code for better readability and maintainability.
Moved code for fetching and displaying publication status terms into a reusable function `display_publication_status_terms`. This simplifies template files by reducing redundancy and enhances maintainability. The new function also supports displaying terms with associated colors.
Increased the column width from col-lg-8 to col-lg-10 in both article and letter templates to improve readability and make better use of screen real estate on larger devices. This change enhances the visual presentation of content without compromising layout integrity.
- Introduced dependency management with Composer for easier package handling.
- Added TCPDF library to generate PDFs of articles.
- Implemented PDF download functionality via a custom endpoint.
- Included admin notices to ensure Composer dependencies are installed.
- Updated single article view with a download button for PDFs.
Changed the logic for generating attachment URLs to use a sanitized URL via `esc_url` and a custom `/download/` path. This improves security by avoiding direct links to attachments and provides a more controlled download path. This change ensures URLs are correctly sanitized to prevent potential security vulnerabilities.
Improves readability by applying the `text-muted` class to the note about subscriber-only content. This change ensures the note does not overshadow other important content.
Added two new meta boxes for articles: 'File Attachment' and 'Open Access'. The 'File Attachment' box allows users to upload and manage article attachments, while the 'Open Access' box indicates if an article is open access.
Updated the single article template to display the abstract, attachment links, and access restrictions based on user login status or open access flag.
This enhances content management and access control for articles.
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.
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.
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.
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.
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.