WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Featured image appear on before html (8 posts)

  1. NIkesh Kr Yadav
    Member
    Posted 1 year ago #

    i can see featured image which is appearing on the top of my html page.

    Please help

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Link to your site?

  3. NIkesh Kr Yadav
    Member
    Posted 1 year ago #

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I'm not clear on what the problem is? Where is that theme from?

  5. NIkesh Kr Yadav
    Member
    Posted 1 year ago #

    Please check now i have uploaded featured image and problem you can see in screenshot https://dl.dropbox.com/u/2711011/delete/Untitled.png

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Looks like you have some mark-up errors :

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.happycameraclub.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    And code above the DOCTYPE in the header.php file - which is always problematic.

    In addition to clearing up the mark-up errors, you could try deactivating your plugins to see if any are causing the problem.

  7. NIkesh Kr Yadav
    Member
    Posted 1 year ago #

    i do not think this is header.php issue please check attached file
    https://dl.dropbox.com/u/2711011/delete/header.txt

  8. NIkesh Kr Yadav
    Member
    Posted 1 year ago #

    this problem is solved

    i removed

    while ( $the_query->have_posts() ) : $the_query->the_post();
    if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
    the_post_thumbnail();
    }
    endwhile;

    from function.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.