Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter floorball72

    (@floorball72)

    I found this. What do i need to change?

    <?php
    /*
    Template name: Blog Template
    */
    get_header();

    while ( have_posts() ){

    the_post();

    ?>

    <?php

    // display hero section, if any
    get_template_part(‘sections/hero_section’);

    ?>
    <!– Main Content –>
    <div id=”main-content”>
    <!– Blog–>
    <div id=”blog”>
    <!– Blog-Content–>
    <div data-fx=”1″>
    <?php

    $hervin_paged = ( get_query_var( ‘paged’ ) ) ? absint( get_query_var( ‘paged’ ) ) : 1;

    $hervin_args = array(
    ‘post_type’ => ‘post’,
    ‘paged’ => $hervin_paged
    );
    $hervin_posts_query = new WP_Query( $hervin_args );

    // the loop
    while( $hervin_posts_query->have_posts() ){

    $hervin_posts_query->the_post();

    get_template_part( ‘sections/blog_post_section’ );

    }

    ?>
    </div>
    <!– /Blog-Content –>

    <?php

    hervin_pagination( $hervin_posts_query );

    wp_reset_postdata();
    ?>
    </div>
    <!– /Blog–>
    </div>
    <!–/Main Content–>

    <?php

    }

    get_footer();

    ?>

    Thread Starter floorball72

    (@floorball72)

    where do i find the php file ?

Viewing 2 replies - 1 through 2 (of 2 total)