WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] adding php to custom index makes some of my footer disappear!

[Resolved] adding php to custom index makes some of my footer disappear!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mark Ratledge
    Forum Moderator

    @songdogtech

    You’ve got all kinds of missing tags that are affecting the footer and page display: [Invalid] Markup Validation of amberseree.com/testing-homepage – W3C Markup Validator. Scroll down in the validation report for line numbers in the code listing. Compare your template edits with a fresh copy of your theme file(s).

    SavageAmber
    Member

    @savageamber

    thanks for the reply, I was afraid no one would reply! I’ve tried that. I’ve gone through the validation, but none of it seems relevant. It’s only the php thats effecting the footer. I’ve gone through edits, and I only took one line of code away from the original index, (calling an include). Is my php invalid? How do I know. I feel like a rookie! 🙂

    If i strip the php away it works fine, as soon as I add php it disappears.

    Do I have to add additional functions to include loops in the theme?

    I’m going to do more trouble shooting (3 hours now?) but if there are suggestions out there, it’d be much appreciated.

    thanks!

    SavageAmber
    Member

    @savageamber

    figured it out!

    Had to start a new query : $my_query = new WP_Query

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] adding php to custom index makes some of my footer disappear!’ is closed to new replies.