Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Exactly! You have to put it inside your template files.

    for example inside:

    <?php while (have_posts()) : the_post(); ?>
      <article <?php post_class(); ?>>
        <h1 class="entry-title"><?php the_title(); ?></h1>
        <div class="entry-content">
          <?php the_content(); ?>
        </div>
      </article>
    <?php endwhile; ?>

    use this code from FAQ :

    <?php while (have_posts()) : the_post(); ?>
      <article <?php post_class(); ?>>
        <h1 class="entry-title"><?php the_title(); ?></h1>
        <div class="entry-content">
          <?php
          if ( function_exists( 'lazyload_images_add_placeholders' ) )
            $content = lazyload_images_add_placeholders( get_the_content() );
            echo $content;
          ?>
        </div>
      </article>
    <?php endwhile; ?>

    now it works for me 🙂

    great!

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