• 09-01-2016, 12:23:36
    #1
    Wordpress'te <br> tagını ne yapsam koyduktan sonra kendiliğinden siliyor.

    <br>, <br /> hepsini denedim, görsele gidip geri gelince kayboluyor.
  • 09-01-2016, 22:12:22
    #2
    <?php
    $my_postid = $post->ID;
    $content_post = get_post($my_postid);
    $content = $content_post->post_content;
    $content = apply_filters('the_content', $content);
    $content = strip_tags($content, '<p><br/><br><br />');
    echo $content;
    ?>
    the_content kısmını şununla basmayı denermisiniz.
  • 09-01-2016, 22:14:58
    #3
    _PatroN_ adlı üyeden alıntı: mesajı görüntüle
    <?php
    $my_postid = $post->ID;
    $content_post = get_post($my_postid);
    $content = $content_post->post_content;
    $content = apply_filters('the_content', $content);
    $content = strip_tags($content, '<p><br/><br><br />');
    echo $content;
    ?>
    the_content kısmını şununla basmayı denermisiniz.
    Nereye ekleyim hocam tam olarak kodu
  • 09-01-2016, 22:27:28
    #4
    <?php the_content(); ?> single php olan yeri bununla değiştirin.