excerpt not showing up

Inside a template file, the standard loop syntax will display only the information about that page( In fact, a template file is no more than a page ). If you want to display some posts you need to run a custom query or to include ( get_template_part() ) another template file which normally runs a … Read more

change top banner content on specific page

The simplest way is to use conditional tags is_page(), For example <div class=”row-fluid top-banner”> <div class=”container”> <div class=”banner-overlay”></div> <?php $logo = of_get_option(‘logo’, ” ); if ( !empty( $logo ) ) { ?> if ( is_page( ‘contact’ ) ) { <a class=”brand brand-image” href=”https://wordpress.stackexchange.com/questions/114494/<?php echo esc_url( home_url(“/contact/’ ) ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ … Read more

Print the whole page?

First of all, your page templates will normally include everything needed to make up a page, i.e. including this structure: <html> <head></head> <body></body> </html> which is not what you want over and over in your one-pager. However if you’ve built your templates using the get_template_part() function (described quite well over here) you can reuse it … Read more