1 esanchez Apr 04, 2008 04:31
3 esanchez Apr 04, 2008 05:07
Thanks Mate!
This is how it's supposed to be:
<?php
// ------------------------- "Header" CONTAINER EMBEDDED HERE --------------------------
// Display container and contents:
// ----------------------- Blog Title Widget called here -----------------------
skin_widget( array(
'widget' = > 'coll_title',
'block_start' = > '',
'block_end' = > '',
'block_title_start' = > '<h1>',
'block_title_end' = > '</h1>',
) );
// ------------------------- End of Blog Title Widget --------------------------
// ---------------------- Blog Tagline Widget called here ----------------------
skin_widget( array(
'widget' = > 'coll_tagline',
'block_start' = > '<h2>',
'block_end' = > '</h2>',
'block_title_start' = > '',
'block_title_end' = > '',
) );
// ------------------------ End of Blog Tagline Widget -------------------------
// ----------------------------- END OF "Header" CONTAINER -----------------------------
?>
4 edb Apr 04, 2008 05:11
Cool. After looking at it I kinda thought the extra H1 tags were leftovers from copy/pasting and experimenting that never got removed.
So ... uh ... when you gonna come up with a *good* question ;)
hmmm... actually I'd have to test that code to make sure, but I'm pretty sure, even though it looks like the tagline would end up in H1 tags that it actually ends up in H2 tags. Easy way to test what's up and down would be something like making block_start and block_title_start be [[<h2 class="block_start">]] and of course a different class for the other one. That way you could view source to see exactly which param is preceding and following the actual tagline. But I'm pretty sure that works as-is even if it looks goofy.