erol_uysal55
Öğrenci
- Katılım
- 6 Ocak 2019
- Mesajlar
- 27
- Reaksiyon puanı
- 2
- Puanları
- 3
- Yaş
- 24
wordpress temasını bir özelliğini kendi oluşturduğum sayfada göstermek istiyorum örnek olarak şöyle tema ile ilgili bir fonksiyon var
function boombox_customizer_register_extras_posts_reaction_system_fields( $fields, $defaults ) {
$section = boombox_customizer_get_extras_posts_reaction_system_section_id();
$custom_fields = array(
/***** Reactions */
array(
'settings' => 'extras_post_reaction_system_enable',
'label' => __( 'Reactions', 'boombox' ),
'section' => $section,
'type' => 'switch',
'priority' => 20,
'default' => $defaults[ 'extras_post_reaction_system_enable' ],
'choices' => array(
'on' => esc_attr__( 'On', 'boombox' ),
'off' => esc_attr__( 'Off', 'boombox' ),
),
),
bunu sayfada gösterebilir miyim
function boombox_customizer_register_extras_posts_reaction_system_fields( $fields, $defaults ) {
$section = boombox_customizer_get_extras_posts_reaction_system_section_id();
$custom_fields = array(
/***** Reactions */
array(
'settings' => 'extras_post_reaction_system_enable',
'label' => __( 'Reactions', 'boombox' ),
'section' => $section,
'type' => 'switch',
'priority' => 20,
'default' => $defaults[ 'extras_post_reaction_system_enable' ],
'choices' => array(
'on' => esc_attr__( 'On', 'boombox' ),
'off' => esc_attr__( 'Off', 'boombox' ),
),
),
bunu sayfada gösterebilir miyim