Forum Replies Created

Viewing 15 replies - 1 through 15 (of 35 total)
  • Thread Starter lauralohr

    (@lauralohr)

    ETA: This is only a problem in Firefox. In IE, everything looks fine.

    Thread Starter lauralohr

    (@lauralohr)

    YEEEEEEEEEESSSSSS!

    Thank you! You are totally awesome and I am totally validated.

    My page is a bit broken right now, but I think that might be something a bit of css will fix.

    I am eternally grateful!

    Thread Starter lauralohr

    (@lauralohr)

    Holy crap! That totally worked! Looking at the original code there was no </body> element in the header.php, but it also was not in the footer.php either. Which means {{{{turns away in shame}}}} that I was the one (ass) that did not know where to put it.

    I am, however, getting a new </body> error:

    Error Line 344, column 6: end tag for “div” omitted, but OMITTAG NO was specified .

    </body>

    I am down to two errors. This is huge for me.

    Thread Starter lauralohr

    (@lauralohr)

    Moshu,

    Thank you for all your help with all of this. My problem is that I have a body tag at the end of that code.

    <!--we need this for plugins-->
    <?php wp_head(); ?>
    </head>
    
    <body>
    <div id="container">
    <div id="header">
    	<!--<div class="title"><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></div>-->
    	<!--<div class="description"><?php bloginfo('description'); ?></div>-->
    	<div id="menu">
    	<ul>
    		<li class="home"><a href="<?php echo get_settings('home'); ?>">Home</a></li>
    		<?php wp_list_pages('title_li=&depth=1'); ?>
    		<li><a href="<?php bloginfo('rss2_url'); ?>">Feed</a></li>
    	</ul>
    	</div>
    </div>
    </body>
    <!--header.php end-->

    I have tried every combination and several different header files/code combinations and nothing will make it validate.

    Again, thank you for your attention today and yesterday. You have been very kind and helpful. I totally appreciate that!

    Thread Starter lauralohr

    (@lauralohr)

    The ones on https://www.lauralohr.com/wordpress are as is, because I have not made the changes to the widget on my live theme because I was up all night combing through code trying to fix it.

    Thread Starter lauralohr

    (@lauralohr)

    Thread Starter lauralohr

    (@lauralohr)

    I discovered the problem was not me at all, but several problems with the widget.php file.

    These are the problems I ran into:

    1. The “onchange” command for the archive dropdown was listed as “onChange” which caused several errors.

    2. <script language=”Javascript”> is written as <script lang=”Javascript”>

    3. Even written correctly, <script language=”Javascript”> is a deprecated tag and should be <script type=”text/javascript”> to render no validation errors.

    4. I was getting an error similar to this one TWENTY-SEVEN TIMES (that is 27 errors):

    Error Line 481 column 8: ID “links” already defined.
    <li id=”links” class=”widget widget_links”><h2 class=”widgettitle”>www</h2>

    It was also telling me that my li were missing ul’s (which they weren’t, it was the widget.php causing the problem). Finally, after combing through many websites, forums, posts, asking for help and getting nowhere, I found this:

    – On wordpress 2.2.1 you have to add :
    $before_widget = preg_replace(‘/id=”[^”]*”/’,’id=”%id”‘, $before_widget);
    before line 397 (after the } else { )

    That error does not appear to have been fixed in the new release of WordPress.

    I am down to 3 errors and have had no success in getting any help clearing those.

    Thread Starter lauralohr

    (@lauralohr)

    OMG! Thank you so much. I appreciate all your feedback. I needed a fresh pair of eyes. I just realized the code I am utilizing for the blogroll is <?php get_links; ?>. I suspect that is where my problem lies.

    I am off to change the code to <?php wp_list_bookmarks; ?>

    I suspect my problems with those errors will be resolved shortly.

    My navigation/menu bar is actually placed UNDER the header now too. I have been trying to fix that for two days now!

    THANK YOU! THANK YOU!

    Thread Starter lauralohr

    (@lauralohr)

    I know I have to have the tags. I have literally tried EVERYTHING to have it both ways.

    I still have the errors on the widgets though. Any ideas why I am getting the error repeatedly:

    Error Line 99, column 37: document type does not allow element “li” here; missing one of “ul”, “ol”, “menu”, “dir” start-tag .

    <li class=”links widget widget_links”><h2 class=”widgettitle”>Upcoming Races</..

    The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as ““, “<span>”, or “<font>”).

    Thread Starter lauralohr

    (@lauralohr)

    Thanks for your response.

    I had not tried to click Show Source before. That was magical.

    The reason I took out the </head> and opening <body> tag is that it broke my layout. I cannot figure out how to get it work with the markup correct. I just put them back in and now everything is outside of the container (content, sidebar, footer, etc).

    ETA: I added them back in with the <div id “container”> tag. But, now I am getting a new error for the head and body.

    Thread Starter lauralohr

    (@lauralohr)

    I have been searching for the answer to this from every message board and every web designer I can contact. I have tried everything.

    ANYONE?

    That was I am having problems with the
    unordered list tags and line item elements

      and

    The links widget is giving me the following error:

    <li class="links widget widget_links"><h2 class="widgettitle">Laura</h2>
    
    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
    
    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    As far as the bullets go, that is a CSS issue and can easily be fixed by adding:

    list-style: none;

    to the CSS that refers to your sidebar.

    The CSS is probably where you are going to fix your spacing as well.

    Thread Starter lauralohr

    (@lauralohr)

    DOH! Forgot the link:

    https://www.lauralohr.com

    Thread Starter lauralohr

    (@lauralohr)

    Ideas? Still looking for this answer.

    Sorry about the pastebin thing. I did not know.

    Forum: Plugins
    In reply to: Dropdown Blogroll for 2.1
    Thread Starter lauralohr

    (@lauralohr)

    Bump.

Viewing 15 replies - 1 through 15 (of 35 total)