feat: add custom post type for letters to the editor
Updated README to mention the new custom post type for letters to the editor. Adjusted function naming in `functions.php` to reflect the new feature. This enhancement allows users to manage and display editorial letters more effectively.
This commit is contained in:
parent
5adf97494d
commit
fb8e7870bc
2 changed files with 3 additions and 1 deletions
|
@ -14,3 +14,5 @@ It includes:
|
||||||
- Prefix configurable in Customizer (please change this to your own prefix)
|
- Prefix configurable in Customizer (please change this to your own prefix)
|
||||||
- DOI link on the article page
|
- DOI link on the article page
|
||||||
- DOI resolver (https://example.com/nn.nnnn/xyz* forwards to the respective article)
|
- DOI resolver (https://example.com/nn.nnnn/xyz* forwards to the respective article)
|
||||||
|
|
||||||
|
- Custom post type for letters to the editor
|
|
@ -457,7 +457,7 @@ function create_letter_post_type() {
|
||||||
}
|
}
|
||||||
add_action('init', 'create_letter_post_type');
|
add_action('init', 'create_letter_post_type');
|
||||||
|
|
||||||
function add_article_meta_boxes() {
|
function add_letter_meta_boxes() {
|
||||||
add_meta_box(
|
add_meta_box(
|
||||||
'article_authors',
|
'article_authors',
|
||||||
__('Authors', 'duck-behavior-journal'),
|
__('Authors', 'duck-behavior-journal'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue