• 01-10-2017, 21:51:57
    #1
    Merhaba arkadaşlar benim temamda bunlarda ilginizi çekebilir özelliği yoktur onu nasıl yaparız
    Temamın ismi https://www.mhthemes.com/themes/mh/edition-lite/ bu temamın ücretsiz versiyonunu kullanıyorum bilen arkadaşların yardımını bekliyorum
  • 01-10-2017, 22:03:20
    #2
    https://wordpress.org/plugins/yet-another-related-posts-plugin/
    https://www.google.com.tr/search?q=wordpress+benzer+yaz%C4%B1lar
  • 01-10-2017, 22:20:11
    #3
    ufuk_26 adlı üyeden alıntı: mesajı görüntüle
    https://wordpress.org/plugins/yet-another-related-posts-plugin/
    https://www.google.com.tr/search?q=wordpress+benzer+yaz%C4%B1lar
    Hocam bu temanın yokmu dur özelliğinde filan eklentilerden virüs bulaşıyor yeni temizledim
  • 01-10-2017, 22:21:57
    #4
    https://www.yakuter.com/wordpresste-eklenti-kullanmadan-benzer-yazilari-gosterin/
  • 01-10-2017, 23:23:50
    #5
    ufuk_26 adlı üyeden alıntı: mesajı görüntüle
    https://www.yakuter.com/wordpresste-eklenti-kullanmadan-benzer-yazilari-gosterin/
    Hocam şu şekilde yaptım ama siderbar gitti
    <?php
    $categories = wp_get_post_category($post->ID);
    if ($categories) {
        $category_ids = array();
        foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;
        
        $args=array(
            'category__in' => $category_ids,
            'post__not_in' => array($post->ID),
            'showposts'=>5, // Number of related posts that will be shown.
            'caller_get_posts'=>1
        );
        $my_query = new wp_query($args);
        if( $my_query->have_posts() ) {
            echo '<h3>Related Posts</h3><ul>';
            while ($my_query->have_posts()) {
                $my_query->the_post();
            ?>
                <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
            <?php
            }
            echo '</ul>';
        }
    }
    ?>