Title: Installation
Last modified: September 1, 2016

---

# Installation

 *  Resolved [nobith](https://wordpress.org/support/users/nobith/)
 * (@nobith)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/installation-219/)
 * I use template LEFTSIDE and placed rencontre code into index.php of theme at 
   the bottom. See below:
    Is this correct?
 * /*
    * The template for homepage. */ ?>
 * <?php get_header(); ?>
    <div id=”content”> <?php if ( have_posts() ) : ?>
 *  <?php while ( have_posts() ) : the_post(); ?>
    <?php get_template_part( ‘content-
   list’ ); ?> <?php endwhile; ?>
 *  <div class=”post-nav”>
    <?php next_posts_link(); ?> <?php previous_posts_link();?
   > </div>
 *  <?php else: ?>
    <?php get_template_part( ‘content-none’ ); ?>
 *  <?php endif; ?>
    </div> <?php if(is_user_logged_in()) { $renc=new RencontreWidget;
 * $renc->widget(0,0);} ?>
    <?php get_footer(); ?>
 * ——————
    and I place code in header.php of my theme see below at the bottom: ——————————–
   <?php if ( is_front_page() ) {?> <?php if ( get_header_image() ) {?> <div id=”
   header-image”> <img src=”<?php echo get_header_image(); ?>” class=”header-img”
   alt=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” /> </div> 
   <?php } ?> <?php } ?>
 * <?php Rencontre::f_login(); ?>
 * ———————
    A “login” shows at the top of my home page. Is this right?
 * But I see nothing else on home page. It is empty. Is this normal?
 * [https://wordpress.org/plugins/rencontre/](https://wordpress.org/plugins/rencontre/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jacques Malgrange](https://wordpress.org/support/users/sojahu/)
 * (@sojahu)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/installation-219/#post-7585312)
 * Hi,
    your code looks good. Regards

Viewing 1 replies (of 1 total)

The topic ‘Installation’ is closed to new replies.

 * ![](https://ps.w.org/rencontre/assets/icon-128x128.png?rev=990206)
 * [Rencontre - Dating Site](https://wordpress.org/plugins/rencontre/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rencontre/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rencontre/)
 * [Active Topics](https://wordpress.org/support/plugin/rencontre/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rencontre/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rencontre/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jacques Malgrange](https://wordpress.org/support/users/sojahu/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/installation-219/#post-7585312)
 * Status: resolved