Ondersteuning » Plugin vragen » Easy Fancybox (inline) werkt niet met zoekresultaten

  • Opgelost FrankG2013

    (@frankg2013)


    Beste forumleden,

    Ik heb een probleem met mijn search pagina i.c.m. easy fancybox.
    met de onderstaande loop werkt fancybox inline wel bij mijn categorie pagina’s, maar niet wanneer ik via zoeken de posts naar voren haal. iemand een idee hoe dit kan?

    <?php  if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <a href="#post-<?php the_ID(); ?>" title="<?php the_title(); ?>" class="fancybox-inline" id="inline"><?php if ( has_post_thumbnail()) { the_post_thumbnail('shops_post_thumbnail', array('class' => 'shops')); } ?></a>
    </li>
    
    <div class="fancybox-hidden">
    <div id="post-<?php the_ID(); ?>" style="height:auto; width:600px;">
     <?php the_content(); ?>
    </div>
    </div>

  • Het onderwerp ‘Easy Fancybox (inline) werkt niet met zoekresultaten’ is gesloten voor nieuwe reacties.