Forums

Blog only page not displaying correct in Internet Explorer (8 posts)

  1. beccanew1027
    Member
    Posted 4 months ago #

    Can anyone help, I've been trying for weeks to fix this problem and cannot find a solution. The blog page is not displaying correctly in internet explorer. The sidebar widgets are not showing and the white background for the content is not showing either. The widgets any of the other pages show just fine though. Any help would be greatly appreciated.

    http://www.datingfortruelove.com/blog

  2. beccanew1027
    Member
    Posted 4 months ago #

    I'm thinking the problem is within the index.php file. Here is the code...

    <?php get_header();?>

    <?php
    $t_show_post = t_get_option ("t_show_post");
    ?>

    <div id="main">
    <div class="columns">
    <div class="narrowcolumn">
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div <?php post_class();?>>

    <div class="title">
    <h2>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></h2>
    <small><?php _e('Posted by','nattywp'); ?> <span class="author"><?php theme_get_profile() ?></span> <?php _e('in','nattywp'); ?> <?php the_category(' | ');?> - (<?php comments_popup_link(__('0 Comments', 'nattywp'), __('1 Comments', 'nattywp'), __('% Comments', 'nattywp')); ?>)</small> <?php edit_post_link(__('Edit','nattywp'), ' | ', ''); ?>
    </div>
    <div class="entry">
    <?php
    if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
    the_post_thumbnail();}
    if ($t_show_post == 'no') {//excerpt
    get_thumb('Image','130','85','small-image', '<div class="thumb">', '</div>' );
    the_excerpt();
    } else { //fullpost
    t_show_video($post->ID);
    the_content(); ?>
    <div id="morepage-list"><?php wp_link_pages(array('before' => '<p>Pages: ', 'after' => '</p>', 'next_or_number' => 'number')); ?></div>
    <?php } ?>
    <div class="clear"></div>
    </div>

    <p class="postmetadata">
    <span class="category"><?php the_tags('', ', ', ''); ?></span>
    </p>
    </div>
    <?php endwhile; ?>

    <div id="navigation">
    <?php natty_pagenavi(); ?>
    </div>

    <?php else :
    echo '<div class="post">';
    if ( is_category() ) { // If this is a category archive
    printf(__('<h2 class=\'center\'>Sorry, but there aren\'t any posts in the %s category yet.</h2>','nattywp'), single_cat_title('',false));
    } else if ( is_date() ) { // If this is a date archive
    _e('<h2>Sorry, but there aren\'t any posts with this date.</h2>','nattywp');
    } else if ( is_author() ) { // If this is a category archive
    $userdata = get_userdatabylogin(get_query_var('author_name'));
    printf(__('<h2 class=\'center\'>Sorry, but there aren\'t any posts by %s yet.</h2>','nattywp'), $userdata->display_name);
    } else {
    _e('<h2 class=\'center\'>No posts found.</h2>','nattywp');
    }
    get_search_form();
    echo '</div>';
    endif; ?>

    </div> <!-- END Narrowcolumn -->
    <div id="sidebar" class="profile">
    <?php get_sidebar();?>
    </div>

    <div class="clear"></div>
    <?php get_footer(); ?>

  3. kmessinger
    Member
    Posted 4 months ago #

    Start by correcting these errors, http://validator.w3.org/check?verbose=1&uri=http%3a%2f%2fwww.datingfortruelove.com%2fblog%2f

    Please don't post multiple lines of code. Use pastebin.com and just post the link.

  4. beccanew1027
    Member
    Posted 3 months ago #

    Thank you. I know how to fix the majority of simple errors, but there is one that I have no idea where to go to fix or what code to enter for the fix. Since my widgets are not showing up I'm thinking this could be the error causing the compatibility issues. Do you know how to fix this error?

    Line 1738, Column 16: ID "widget_text" already defined (error)

    /li><li id="widget_text" class="widget png_scale"> (my code)

  5. beccanew1027
    Member
    Posted 3 months ago #

    Also, could the <!--more--> code used only in the blog be causing issues?

  6. kmessinger
    Member
    Posted 3 months ago #

    The problem is you are cutting and pasting from Word. That introduces all sorts of non-html code. If you must use a text editor, you need to use Notebook or something like that.

  7. justingreerbbi
    Member
    Posted 3 months ago #

    @kmessinger PLUS 1.. Programmers most frequent answer lol

  8. beccanew1027
    Member
    Posted 3 months ago #

    Thank you, I will avoid cutting and pasting from word in the future. I've managed to correct one problem, the problem with the widgets not showing up on the blog page. Turns out it was the <!--more--> code. I go through each post and delete the code I put into the html, and then insert the more code through the editor. Not sure why that fixed the widget issue, but it did.

    I still have another issue, the custom background image is not showing up - only in IE7. Works fine in IE8, FF, or anything else I try. I went to check my errors as you mentioned above (i have even more errors now after fixing the blog widget issue). Any idea how to fix this? I've tried everything. Any help is truly appreciated...

Reply

You must log in to post.

About this Topic

Tags

No tags yet.