mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-11 18:46:03 +09:00
37 lines
886 B
PHP
37 lines
886 B
PHP
<?php
|
|
|
|
/**
|
|
* Define author specific archive fields.
|
|
*/
|
|
return array(
|
|
array(
|
|
'method' => 'select',
|
|
'args' => array(
|
|
'id' => 'page',
|
|
'label' => __( 'Choose your extended "About Me" page from the list below. This will be the page linked to at the end of the author description.', 'display-featured-image-genesis' ),
|
|
'choices' => $this->get_pages(),
|
|
),
|
|
),
|
|
array(
|
|
'method' => 'text',
|
|
'args' => array(
|
|
'id' => 'page_link_text',
|
|
'label' => __( 'Extended page link text', 'display-featured-image-genesis' ),
|
|
),
|
|
),
|
|
array(
|
|
'method' => 'checkbox',
|
|
'args' => array(
|
|
'id' => 'posts_link',
|
|
'label' => __( 'Show Author Archive Link?', 'display-featured-image-genesis' ),
|
|
),
|
|
),
|
|
array(
|
|
'method' => 'text',
|
|
'args' => array(
|
|
'id' => 'link_text',
|
|
'label' => __( 'Link Text:', 'display-featured-image-genesis' ),
|
|
),
|
|
),
|
|
);
|