Support » Theme: Brasserie » Display content of frontpage when using custom Home Page

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Template Express

    (@danstriker)

    Hello,

    if you want to add regular content that can be edited when editing your homepage you will have to add this to the custom_home.php template file:

    <?php while ( have_posts() ) : the_post(); ?>
    
              <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
                  <?php the_content(); ?>
        <?php endwhile; // end of the loop. ?>

    just put it at the end of the custom_home.php?

    I am not sure where to put it, sorry for ask newbie questions

    I did a child template folder, put a page-templates folder inside and inside that folder a copy of the custom_home.php —> this file will be loaded…

    but where to put your code?
    i tried after

    </div><!– .client –>
    </div><!– .section_clients –>
    but nothing changed…

    then i created <div class=”col span_1_of_4″> after the last <div class=”col span_1_of_4″> and put your code inside there, but also nothing has changed…

    • This reply was modified 1 year, 8 months ago by  daveyx.

    ok, i got it, just put your code between:
    <?php endif; ?>
    <?php get_footer(); ?>

    THANK YOU VERY MUCH !!!

    Theme Author Template Express

    (@danstriker)

    OK great – good to hear you got it sorted

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display content of frontpage when using custom Home Page’ is closed to new replies.