6 sayfam var ve her sayfanın başlığına farklı bir kısa kod eklemek istiyorum.wordpress shortcode to header.php
Sayfa başlığı h1'den önce simge kısa kodunu eklemenin herhangi bir yolu var mı - ancak her sayfa adına veya kimliğine özel mi?
[icon enable_animation="true" color="Accent-Color" animation_speed="Slow" icon_size="" animation_delay="" image="basic_rss.svg"]
Ben page-sidebar.php
aşağıdaki kodu ekleyerek denedik ama o dünyada daha doğrudan bu kendi satırda başlığın altına yerleştirir:
shortcode olduğunu. Ayrıca sayfa belirli değil.
<?php echo do_shortcode('[icon enable_animation="true" color="Accent-Color" animation_speed="Slow" icon_size="" animation_delay="" image="basic_rss.svg"]'); ?>