Kimlik doğrulama veya yönetimden onay bekliyor.
Merhaba,
Kullandığım temanın functions.php dosyasında shorcode ekleyerek içeriklere kolayca buton ekleyebiliyorum örnek: [urunegit] bu buton ismini dosyadan sorunsuzca ayarlanıyor ama ben kodlarla uğraşmak yerine Codestar Framework tema paneline entegre etmeye çalıştım ama bir türlü okumadı kodların tam neresinde hata var.
$options = get_option( 'yt_panel' ); // unique id of the framework
add_shortcode( 'urunegit', 'action_button_shortcode' );
function action_button_shortcode( $atts ) {
extract( shortcode_atts(
array(
'color' => 'blue',
'title' => '<?php echo $options ["text_urun_adi"]; ?>',
'target' => '_blank',
'subtitle' => '<?php echo $options ["text_urun_adi"]; ?>',
'url' => 'https://google.com/'
),