mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-20 06:53:23 +09:00
Move widget field definitions to view files
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?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,
|
||||
),
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user