I have the following code:
- Code: Select all
<?php if ( $format == 'gallery' ) echo '
<div id=spotlightg>
Contributer Spotlight
</div>
<div id=gcontent>
Info
</div>
<br /><br /><br />'; else echo ''; ?>
And where is says info (between two divs), I want to add this code
- Code: Select all
<header class="entry-header">
<?php do_action( 'gpp_before_title' ); ?>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'gpp' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php do_action( 'gpp_after_title' ); ?>
</header>
This code contains html and php, so it can't all be in an echo, due to the php part. I just need this to be between those two divs. How do i manage to do this?
Thanks!


