Having coding issues in header.php
-
SPOILER: I’m a newb.
I’m taking what’s probably my second shot at editing theme files. I’m trying to add a few social bookmarking buttons to header.php.
The original segment of code:
<div id=”page-heading” class=”yui-g”>
<div class=”yui-u first”>
<?php breadcrumb_trail(); ?>
<?php if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
} ?>
</div>
<div class=”yui-u alignright”>
“>Subscribe to RSS Updates
</div>
</div><!– end #page-heading –>I tried a couple variations of this:
<div id=”page-heading” class=”yui-g”>
<div class=”yui-u first”>
<?php breadcrumb_trail(); ?>
<?php if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
} ?>
</div>
<div class=”yui-u alignright”>
“><img src=”i_put_my_url_here” />
</div>
</div><!– end #page-heading –>But it completely destroys the layout of the complete page (not the header strangely. I was planning on inserting about 5 different linked images this way (the rest just w regular URLs, no php). Tried taking out the div class aswell, and taking out the div completely.
Help?
Thanks!
The topic ‘Having coding issues in header.php’ is closed to new replies.