• Resolved nobith

    (@nobith)


    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Installation’ is closed to new replies.