Support » Themes and Templates » the_content not show images

  • Resolved fepiva


    Hi, I’m trying to show posts from one category on the front page but the_content() doesn’ show the images!!!. Neither works “Read more”

    Here’s the code:

    query_posts( array ( 'category_name' => 'home-main', 'posts_per_page' => 3 ) );
    if (have_posts()) :
    while (have_posts()) :
    the_content("

    And here’s the html:
    <img class="alignnone wp-image-73" title="slide2" src="" alt="" width="751" height="189" />This is a test.

    Can anyone help me, please


Viewing 1 replies (of 1 total)
  • RESOLVED!!! I’ve been testing the plugin “Page Post” to the frot page width the option Excerpt or full post: Excerpt and this was affecting the function the_content()… uffff I was going crazy

Viewing 1 replies (of 1 total)
  • The topic ‘the_content not show images’ is closed to new replies.