• Resolved RolandOfEld

    (@rolandofeld)


    i would like to be able to move the H1 post and page titles to appear in the banner instead of the post and page itself.. is this possible?

Viewing 2 replies - 16 through 17 (of 17 total)
  • Theme Author Anthony Hortin

    (@ahortin)

    Glad you got it sorted ??

    I puzzled over this post a bit, but this is what I got to work. I don’t know what I’m doing so if anyone has a cleaner way, please feel free.

    </div> <!-- /.widget-area -->
     </div> <!-- /.col.<?php echo $containerClass?> -->
    	<?php }	} ?>
            <?php }   ?>
    
    	<?php }
    elseif ( !is_front_page() ) { ?>
             <header class="entry-header">
                <?php if ( is_single() ) { ?>
                   <h1 class="entry-title"><?php the_title(); ?></h1>
                <?php }
                else { ?>
                   <h1 class="entry-title">
                      <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( esc_html__( 'Permalink to %s', 'quark' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
                   </h1>
                <?php } // is_single() ?>
             </header> <!-- /.entry-header -->
             <?php } ?>
    
    		</div> <!-- /.banner.row -->
    	</div> <!-- /#bannercontainer -->
Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘move post and page titles to the banner?’ is closed to new replies.