No description
Find a file
Kumi c738ed6f89
refactor: extract publication status formatting
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.
2024-08-03 17:12:13 +02:00
assets feat(taxonomy): add color picker to term edit and creation 2024-08-03 17:03:29 +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 fix: conditionally render social media links in footer 2024-06-22 10:59:53 +02:00
functions.php refactor: extract publication status formatting 2024-08-03 17:12:13 +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 feat: improve pagination styling and functionality 2024-08-03 12:59:01 +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.