WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven
[resolved] can't find text to remove from content template (8 posts)

  1. pmiller1956
    Member
    Posted 1 year ago #

    An incorrect closing tag is showing up on my main template in theme twenty eleven and I don't know where to find it.

    The __> is showing up on my wordpress template when I use the default template.

    My problem is I don't know where to find it.

    I have created a child theme and checked the php files, but still can't find it.

    Website: http://13009.duvosoftware.com/

    Go to home, about us, or any other besides blog and you will see the
    __> at the bottom of the page.

    Any suggestions.

    Thank you

    http://wordpress.org/extend/themes/twentyeleven/

  2. Looks like someone tried to remove the <div id="footerMenu"> by wrapping it incorrectly inside <!-- and -->. It would have been easier to just hide it with CSS IMHO...

    Look inside the wp-content/themes/twentyl-eleven-child/footer.php file. That may be where the typo is.

  3. paulwpxp
    Font hero
    Posted 1 year ago #

    I think it's in the content-page.php

    Open content-page.php of your childtheme and look for this

    <!-- <div id="comments"> </div><!-- #comments -->
    -->

    If found, delete that last part.

  4. pmiller1956
    Member
    Posted 1 year ago #

    Wasn't in either of those pages.
    Thanks

  5. paulwpxp
    Font hero
    Posted 1 year ago #

    Try looking at page.php

    if not

    then look at comments.php

  6. pmiller1956
    Member
    Posted 1 year ago #

    I've checked them all.

    I added a blog page using sidebar template and it does not show up.

    I am using the default template for the rest of the pages.

    It must be in the php but I can't find it.

  7. paulwpxp
    Font hero
    Posted 1 year ago #

    This is what's seen from the source, only appear on page.

    <!-- 	<div id="comments">
    
    </div><!-- #comments -->
     -->

    So 99.99% it must be in one of those 3 files, unless you got some plugin or other stuff that loads only on page ?

  8. pmiller1956
    Member
    Posted 1 year ago #

    needed to take out the <!-- #comments -->

    I would have thought it was the -->

    Thank you for your assistance.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic