Support » Themes and Templates » Random –> on home page

Random –> on home page

Viewing 9 replies - 1 through 9 (of 9 total)
  • Looks like an improperly closed comment tag from:

    <style type="text/css">
    		#site-description {
    			position: absolute !important;
    			clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    			clip: rect(1px, 1px, 1px, 1px);


    Forum Moderator

    do check and fix the commenting at the location suggested by @esmi.

    also – more started here:

    <!--		<nav id="nav-above">
    			<h3 class="assistive-text">Post navigation</h3>
    			<div class="nav-previous"><a href="http://addblog.co.za/page/2/" ><span class="meta-nav">&larr;</span> Older posts</a></div>
    			<div class="nav-next"></div>
    		</nav><!-- #nav-above -->

    broken because of wrongly nested html commenting;

    some explanation see:

    Thanks for the replies.

    I’ve edited the code from Esmi but I’m not sure where to find the code from alcymyth? I still have the random “–>” there.

    The other thing is how did you guys manage to see the PHP code of my site? Would be really helpful to know because I use firebug in Firefox to edit CSS at the moment.




    Forum Moderator

    the code is likely to be where you tried to comment out the top nav – in index.php?

    possibly here:

    <?php twentyeleven_content_nav( 'nav-above' ); ?>

    remove the html commenting, and try this php commenting instead:

    <?php // twentyeleven_content_nav( 'nav-above' ); ?>

    how did you guys manage to see the PHP code of my site?

    We can’t. We can only see the generated output markup.



    Forum Moderator

    The other thing is how did you guys manage to see the PHP code of my site?

    you are using a wellknown theme 😉

    so it is relatively easy to know where the html in the browser comes from.

    besides, none of the replies so far (apart from my last reply) was referring to any php code…

    Oh ok I see. lol!

    Well I’ve made the changes aclymyth but that “–>” is still there. I’m not sure what else to do? Is the only place to possibly fix it in the index.php file? I have a index.php in my child theme.

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    Ok, never mind I fixed it. I needed to go into the actual twenty eleven theme and not the child theme.

    Thanks for the help guys!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Random –> on home page’ is closed to new replies.