Different footer for page not working what am i missing
-
I tried to have one page show different info in the footer. I choose to change the footer itself but the code is not working..it doesn’t make sense. No matter what i type in “if (is_page(‘Form’))” it always acts like true…in other words i always see this empty header while i would expect that on all pages with different slug/name the full header would show..
What am i missing???</div> <div id="footer"> <div class="rss"> <?php if (is_page('Form')) { ?> </div> <div id="footer-inner"> <p> </p> <p>Copyright © 2008. All right reserved. Theme Design by <a href="https://blog.gooddesignweb.com">Good Design Web</a></p> <p><a href="https://www.annotatie.nl/disclaimer.html">Disclaimer</a> </p> </div></div> <?php} else { ?> <a href="<?php bloginfo('rss2_url'); ?>" id="feed"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/rss.jpg" alt="rss" /></a> <a href="https://twitter.com/#!/MarkDonners"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/twit.jpg" alt="twitter" /></a> </div> <div id="footer-inner"> <p> <?php bloginfo('name'); ?> is powered by <a href="https://www.ads-software.com/">WordPress</a> | <a href="<?php bloginfo('rss2_url'); ?>">Entries RSS</a> and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments RSS</a> </p> <p>Copyright © 2008. All right reserved. Theme Design by <a href="https://blog.gooddesignweb.com">Good Design Web</a></p> <p><a href="https://www.annotatie.nl/disclaimer.html">Disclaimer</a> </p> </div></div> <?php } ?> </body> </html>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Different footer for page not working what am i missing’ is closed to new replies.