mirror of
https://ghproxy.net/https://github.com/AlxMedia/alx-extensions.git
synced 2025-08-26 15:53:37 +08:00
Add twitter username option
This commit is contained in:
parent
4358ce2476
commit
73543bb10e
1 changed files with 9 additions and 0 deletions
|
@ -30,6 +30,15 @@ function alx_ext_custom_options() {
|
|||
'section' => 'alx_extensions_social',
|
||||
'default' => 'on',
|
||||
) );
|
||||
|
||||
Kirki::add_field( 'twitter_username', array(
|
||||
'type' => 'text',
|
||||
'settings' => 'twitter-username',
|
||||
'label' => esc_html__( 'Twitter Username', 'alx-extensions' ),
|
||||
'description' => esc_html__( 'Your @username will be added to share-tweets of your posts (optional)', 'alx-extensions' ),
|
||||
'section' => 'alx_extensions_social',
|
||||
'default' => '',
|
||||
) );
|
||||
|
||||
Kirki::add_section( 'alx_extensions_upscale', array(
|
||||
'priority' => 10,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue