Bruz
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Not working in WP 3.7It works! Thank you! 🙂
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Not working in WP 3.7I hope the author will fix this soon…
Add “separator”=>”” in your array like this :
-
<span><?php echo(types_render_field(“facilities”, array(“arg1″=>”val1″,”arg2″=>”val2”, “separator”=>””))); ?></span>
Forum: Themes and Templates
In reply to: Adding a clearing div to every third post in the loopIf this isn’t working for someone, just add “$count++;” after the_post();. This work for me.
So:
if ( have_posts() ) : while( have_posts() ) : the_post(); $count++; //Loop code goes here. Blah Blah. //Your code from above goes next if ( 0 == $count%3 ) { echo 'div class="clear"></div>'; } endwhile; //ending the loop if ( 0 != $count%3 ) { echo 'div class="clear"></div>'; }It works! thanks! 🙂
Viewing 5 replies - 1 through 5 (of 5 total)