• Resolved Felipe Santos

    (@felipemillhouse)


    Hello!

    The SLB works with MultiSites?

    In my main site Its works, but in my child site it doesnt works ??

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

    (@felipemillhouse)

    My code

    <div class="panel panel-default ">
        <div class="panel-heading">
          <h2 class="panel-title">Fotos</h2>
        </div>
        <div class="panel-body">
          <div class="row">
            <?php $fotos_images = get_field( 'fotos' ); ?>
            <?php if ( $fotos_images ) { ?>
            <?php foreach ( $fotos_images as $fotos_image ): ?>
            <div class="col-md-2 text-center">
              <a href="<?php echo $fotos_image['url']; ?>">
                <img class="alignnone size-full" src="<?php echo $fotos_image['sizes']['thumbnail']; ?>" alt="<?php echo $fotos_image['alt']; ?>"  />
              </a>
              <p><?php echo $fotos_image['caption']; ?></p>
            </div>
            <?php endforeach; ?>
            <?php }else{echo "<p class='text-center'>Nenhuma Foto Cadastrada</p>";} ?>
          </div>
        </div>
      </div>
    Plugin Author Archetyped

    (@archetyped)

    Users have reported that SLB works fine in multisite installations. However, while SLB automatically activates links in post/page/widget content, etc., links in other content areas (such as those generated by your code above) need to be manually activated using slb_activate().

    See here for more details on using slb_activate().

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite’ is closed to new replies.