• 27-01-2020, 16:55:03
    #1
    @duygugemisi; teşekkürler çözüldü
  • 27-01-2020, 17:02:25
    #2
    şöyle bir yapı kullanmanız gerekiyor.
    <?php
    if ($cat_id==1) {
    echo do_shortcode( '[elfsight_faq id="1"]' );
    } else if ($cat_id==2) {
    echo do_shortcode( '[elfsight_faq id="2"]' ); 
    }
  • 27-01-2020, 17:22:09
    #3
    duygugemisi adlı üyeden alıntı: mesajı görüntüle
    şöyle bir yapı kullanmanız gerekiyor.
    <?php
    if ($cat_id==1) {
    echo do_shortcode( '[elfsight_faq id="1"]' );
    } else if ($cat_id==2) {
    echo do_shortcode( '[elfsight_faq id="2"]' );
    }
    çalışmıyor ne yazık ki. worpdress kategoriler değil de
    • taxonomy (job_cat/request_cat) - post type categories
    bu şekilde bir yapısı var kategorilerin job_cat için çalıştırmaya çalışıyoruz.
  • 27-01-2020, 23:48:11
    #4
    sadece o kategorinin id sini belirterek bir category-id.php yada taxonmy-id.php olarak denedinizmi?