h1-Tag is not working after moving servers
-
Hi there,
after moving my wordpress to a new server, my self-build h1-Tag is not working anymore.
<div id="header"> <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> <? if (is_page(3)) { ?> <p><strong><? bloginfo('description'); ?> für deine Party</strong></p> <? } else {?> <p><strong><?php wp_title(''); echo ' - '; bloginfo('description'); ?></strong></p> <? } ?> </div>
What should it do?
– When it is the startpage (id 3): Just show the Desciption (“Hits und Charts”) of the blog followed by “für deine n?chste Party”. One line.
– Every other page should take the title of the page, followed by “-” and the Discription (“Hits and Charts”). One line.What is going wrong?
See: https://www.top-partymusik.deCan someone help to fix?
Thanks so much!
DavidThe page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘h1-Tag is not working after moving servers’ is closed to new replies.