WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Sidebar showing up on the bottom (12 posts)

  1. jeremycwilson
    Member
    Posted 2 years ago #

    For some reason, my sidebar showed up at the bottom of my website this morning. I was not this way last night, this has not happened in the past two years, and I certainly did not make any changes to the template yesterday. I was hoping someone might be able to help. It might also be worth noting that my site did get hacked about a week ago. However, the site was cleaned out professionally, and so it should be cleaned up perfectly by now.

    http://www.jeremycwilson.com/

    Thanks in advance,
    Jeremy

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Warning: fopen(/home/jeremycwilson/jeremycwilson.com/wp-content/plugins/contact-form-wordpress/include/standard.txt) [function.fopen]: failed to open stream: No such file or directory in /home/jeremycwilson/jeremycwilson.com/wp-content/plugins/contact-form-wordpress/form.php on line 139

    This might explain a great deal. Try re-installing the contact form plugin.

  3. jeremycwilson
    Member
    Posted 2 years ago #

    Thanks so much for the reply, I did not see that code there earlier today but did when I logged back in.

    As such, I deleted the two contact form plug-ins. The code disappeared but the sidebar was still at the bottom. So I then re-installed one plug-in (contact form 7, v3.0). However, the problem continues to persist.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    The remaining issue is due to what appears to be a missing closing </div> in your theme's template file(s) - possibly in sidebar.php
    Validation results

  5. jeremycwilson
    Member
    Posted 2 years ago #

    To my knowledge I did not change sidebar.php but I did make small changes in style.css. Is it possible the problem is there? If helpful I can provide code from my sidebar.php or style.css sheet.

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    No - it's definitely a template markup issue.

  7. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    quite likely in index.php - possibly the 'wp-followme' section (which is not showing, anyway) after the 'pagenavi' and before the 'get_footer' line.

    just try to add the missing </div> before the 'get_sidebar' line.

    edit:
    just downloaded the theme -
    the sidebar gets called in footer.php - corrected above.

    however, try and find where the 'wp-followme' sections is added - there might be an error in there.

  8. jeremycwilson
    Member
    Posted 2 years ago #

    Thanks for the responses.

    1. on the index.php page I don't actually have a wp-followme section. In fact, the only place I see the we-followme section is on the dashboard menu --> left sidebar --> settings menu.

    2. I also tried looking for the missing </div> however before the 'get_footer' line there was already a </div> in place. (see below)
    ---

    Entries', 'inove')); ?></span>
    <?php endif; ?>
    <div class="fixed"></div>
    </div>

    <?php get_footer(); ?>

    3. As for my footer tab, it starts with a bit of funny code. I don't know if it belongs there or not. Perhaps you'd have a better idea. See below for that code.
    ---

    </div>
    <!-- main END -->

    <?php
    $options = get_option('inove_options');
    global $inove_nosidebar;
    if(!$options['nosidebar'] && !$inove_nosidebar) {
    get_sidebar();
    }
    ?>
    <div class="fixed"></div>
    </div>
    <!-- content END -->

    <!-- footer START -->

  9. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    the error is in the latest post - caused possibly by the way th etheme shortens the content for the front page.

    this is the html output of hte first post - the area is wrapped in a <div> which is also closed properly </div> at the end - see section below:

    <div>
    <p><a onclick="javascript:pageTracker._trackPageview('/downloads/wp-content/uploads/2011/10/WaitingRoom.jpg');"  href="http://www.jeremycwilson.com/wp-content/uploads/2011/10/WaitingRoom.jpg" ><img class="size-large wp-image-1428 alignleft" title="WaitingRoom" src="http://www.jeremycwilson.com/wp-content/uploads/2011/10/WaitingRoom-150x99.jpg" alt="" width="150" height="99" /></a>Many people i
    ...
    ... You might be better off in the end.</p>
    
    <p>Hopefully I am too.</p>
    </div>

    however the shortening of the post for the front page is breaking this;

    edit the post in html mode of the editor, and remove both the <div> at the beginning and the </div> at the end.

  10. jeremycwilson
    Member
    Posted 2 years ago #

    @alchymyth Great catch, that's exactly what was happening. Thanks so much for your help. I'll be sure to keep an eye out for this in future posts.

  11. ycharles
    Member
    Posted 2 years ago #

    Hi, I'm using the polaroid theme by wordpress and my sidebar menu is coming up as a footer menu. I can only see some of my images on my site and it leaves a blank image. my website is http://www.charlesfootwear.com any suggestions?

  12. @Ycharles: Don't hijack other peoples' threads.

    And jumping into a 7 month old thread doesn't do you any good, either.

    Start your own post: http://wordpress.org/support/forum/how-to-and-troubleshooting#postform

Topic Closed

This topic has been closed to new replies.

About this Topic