No description
Find a file
Kumi 5522a4599e
fix(pdf-download): avoid empty abstract in PDF output
Added conditional check to ensure the abstract is only included in the PDF if it exists. This prevents empty or malformed sections when post excerpts are not provided, improving the readability and quality of the generated PDF documents.
2024-08-07 16:12:18 +02:00
assets fix(lightbox): improve compatibility and responsiveness 2024-08-06 20:26:13 +02:00
.gitignore feat: add PDF generation and download feature 2024-08-02 21:48:07 +02:00
archive-article.php refactor: extract publication status formatting 2024-08-03 17:12:13 +02:00
archive-letter.php feat: improve pagination styling and functionality 2024-08-03 12:59:01 +02:00
class-wp-bootstrap-navwalker.php fix(nav-accessibility): add aria and role attributes 2024-08-03 13:21:47 +02:00
composer.json feat: add PDF generation and download feature 2024-08-02 21:48:07 +02:00
composer.lock feat: add PDF generation and download feature 2024-08-02 21:48:07 +02:00
footer.php feat: add lightbox functionality for image viewing 2024-08-06 20:16:54 +02:00
functions.php fix(pdf-download): avoid empty abstract in PDF output 2024-08-07 16:12:18 +02:00
header.php fix(header): remove duplicate title tag 2024-06-20 15:03:35 +02:00
index.php refactor: extract publication status formatting 2024-08-03 17:12:13 +02:00
LICENSE feat: add new WordPress theme for Duck Behavior Journal 2024-06-20 09:22:10 +02:00
page.php feat: add new WordPress theme for Duck Behavior Journal 2024-06-20 09:22:10 +02:00
PaperPDF.php feat: customize PDF download header/footer 2024-08-02 22:05:49 +02:00
README.md feat(README): update to include PDF generation and access control 2024-08-03 13:08:16 +02:00
screenshot.png feat: add initial project screenshot 2024-08-03 13:45:17 +02:00
single-article.php refactor: extract publication status formatting 2024-08-03 17:12:13 +02:00
single-letter.php style(layout): widen content columns in article and letter pages 2024-08-02 23:13:53 +02:00
single.php feat: add new WordPress theme for Duck Behavior Journal 2024-06-20 09:22:10 +02:00
style.css fix(lightbox): improve compatibility and responsiveness 2024-08-06 20:26:13 +02:00

Duck Behavior Journal

Description

This is the WordPress theme for the Duck Behavior Journal website. It is a custom theme that was built from scratch based on Bootstrap.

It includes:

  • Custom post type for articles

    • Latest articles on the homepage
    • Field to list authors
      • Lead author "et al." is listed on the index and archive pages
    • Field for "DOI" (Digital Object Identifier)
      • Generator for DOI
        • Prefix configurable in Customizer (please change this to your own prefix)
      • DOI link on the article page
      • DOI resolver (https://example.com/nn.nnnn/xyz* forwards to the respective article)
  • Custom post type for letters to the editor

    • Field to list authors
      • Lead author "et al." is listed on the index and archive pages
  • Call to action buttons on the homepage

    • Configurable in Customizer
  • Automatic generation of PDFs for articles using tecnickcom/tcpdf

    • PDFs are generated on the fly
  • Open Access vs. Subscription

    • Articles can be marked as open access
    • Otherwise, their attachment is only available to logged-in users

Installation

  1. Clone this repository into your WordPress themes directory
  2. Activate the theme in the WordPress admin panel
  3. Configure the theme in the Customizer

License

This theme is licensed under the MIT license. See the LICENSE file for more information.