1 reputation
2
bio website
location
age
visits member for 2 years, 3 months
seen Oct 5 '12 at 0:10

Oct
4
comment Integrating jSquares and Jquery with Wordpress loop
I was trying to make it more dynamic. Maybe its something I should avoid.
Oct
4
comment Integrating jSquares and Jquery with Wordpress loop
Can I ask you another question regarding this same code? I have been working for a week with no success. The wordpress loop fills boxes for the output and the jquery then arranges the boxes. I am trying to get the jquery to shift the position of the boxes or the content of the boxes every 15 seconds. I tried to reload the wordpress loop but that does not work. Next, I thought I could put that boxes in an iframe and refresh the iframe every 15 seconds however it is not refreshing the random loop order. A demo of the jquery script can be seen here: boedesign.com/demos/jsquares
Sep
21
awarded  Scholar
Sep
21
accepted Integrating jSquares and Jquery with Wordpress loop
Sep
21
comment Integrating jSquares and Jquery with Wordpress loop
so is it correct to say that I was looping the loops and instead by using the counter you stop it from relooping and move it to the next one in the boxes array? Thank you so much!! It worked perfectly.
Sep
21
awarded  Editor
Sep
21
revised Integrating jSquares and Jquery with Wordpress loop
added 627 characters in body
Sep
21
comment Integrating jSquares and Jquery with Wordpress loop
Thanks for the advice! Here's where I am: ` <?php $query = new WP_Query(array('showposts' => 15, 'post_type' => 'page', 'posts_per_page=15', 'orderby' => 'rand', 'post__not_in' => array(33,145,31,148,109,111,113,29,209))); foreach($query->$boxes as $box ); while ($query->have_posts()) : $query->the_post() ; ?>` I appreciate your help. I am trying to teach a lot of this to myself and post it for everyone else to use. I am still getting stuck - Invalid argument supplied for foreach()
Sep
21
asked Integrating jSquares and Jquery with Wordpress loop