No description
Kumi
1ce2fc1332
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. |
||
---|---|---|
assets | ||
archive-article.php | ||
archive-letter.php | ||
class-wp-bootstrap-navwalker.php | ||
footer.php | ||
functions.php | ||
header.php | ||
index.php | ||
LICENSE | ||
page.php | ||
README.md | ||
single-article.php | ||
single-letter.php | ||
single.php | ||
style.css |
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)
- Generator for DOI
-
Custom post type for letters to the editor
- Field to list authors
- Lead author "et al." is listed on the index and archive pages
- Field to list authors
-
Call to action buttons on the homepage
- Configurable in Customizer
Installation
- Clone this repository into your WordPress themes directory
- Activate the theme in the WordPress admin panel
- Configure the theme in the Customizer
License
This theme is licensed under the MIT license. See the LICENSE file for more information.