• 17-01-2020, 12:18:55
    #1
    Merhaba Arkadaslar,

    aranizda acaba Readline temasini kullanan varmi. Veya bu Temaya biraz Hakim olan birisi?



    Tema bu sekilde, üstde Slider mevcut, altdada tekrardan yeni eklenen Makaleler.

    Benim ugrasipta yapmak istedigim Olay su, üstdeki Slideri kaldirip yerine bir sayfayi eklemek. Yani örnek bir Sayfa actim Anasayfa diye, onu bu slider ile degistirmek istiyorum, altindada tekrar bu konular gelsin.

    Sadece Slider kalkip, yerine sayfa eklenicek.
  • 17-01-2020, 12:32:05
    #2
    İlgili sayfanın CSS kuralları , responsive kuralları tanimlandiktan sonra kolayca eklenebilir.
  • 17-01-2020, 12:47:26
    #3
    Sanirim slideri olusturan yaziyi buldum, ancak nasil degistirecegimi bilmiyorum.

    <?php
    // Query featured entries
    $featured = new WP_Query(
        array(
            'no_found_rows'                => false,
            'update_post_meta_cache'    => false,
            'update_post_term_cache'    => false,
            'ignore_sticky_posts'        => 1,
            'posts_per_page'            => absint( get_theme_mod('featured-posts-count','6') ),
            'cat'                        => absint( get_theme_mod('featured-category','') )
        )
    );
    ?>
    
    <?php if ( is_home() && !is_paged() && ( get_theme_mod('featured-posts-count','6') !='0') && $featured->have_posts() ): // Show slider if posts are not 0 ?>
        
        <div id="owl-featured" class="owl-carousel owl-theme">
        <?php while ( $featured->have_posts() ): $featured->the_post(); ?>
            <?php get_template_part('content-featured'); ?>
        <?php endwhile; ?>
        </div>
        
    <?php endif; ?>
    
    <?php wp_reset_postdata(); ?>
    Örnek"Anasayfa" adinda Sayfanin icerigini göstermek istiyorum orada. Ozaman onun php kodu ne olur, üstdekinin yerine yazsam, herhalde kabul eder?