mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-11 18:46:03 +09:00
30 lines
746 B
PHP
30 lines
746 B
PHP
<?php
|
|
|
|
/**
|
|
* Define author specific desctiption fields.
|
|
*/
|
|
return array(
|
|
array(
|
|
'method' => 'select',
|
|
'args' => array(
|
|
'id' => 'author_info',
|
|
'label' => __( 'Text to use as the author description:', 'display-featured-image-genesis' ),
|
|
'flex' => true,
|
|
'choices' => array(
|
|
'' => __( 'None', 'display-featured-image-genesis' ),
|
|
'bio' => __( 'Author Bio (from profile)', 'display-featured-image-genesis' ),
|
|
'text' => __( 'Custom Text (below)', 'display-featured-image-genesis' ),
|
|
),
|
|
),
|
|
),
|
|
array(
|
|
'method' => 'textarea',
|
|
'args' => array(
|
|
'id' => 'bio_text',
|
|
'label' => __( 'Custom Text Content', 'display-featured-image-genesis' ),
|
|
'flex' => true,
|
|
'rows' => 6,
|
|
),
|
|
),
|
|
);
|