gxx
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Pls Help – Parse error: unexpected T_ENDWHILEOk, it seems like u’ve messed up a bit. Let’s see if I can help you:
lines 105-107 replace with:
$query = new WP_Query('cat=12&showposts=5'); while($query -> have_posts()) : the_post();You could include all this while->endwhile within if->endif but lets assume query will return any posts for now.
then at line 118 insert missing endif (from thumbnail check)
<?php endif; ?>File should be fixed after that. As for next previous links. By default wordpress does it like this:
<?php previous_post_link( '%link', __( '<span class="meta-nav">←</span> Previous', 'twentyeleven' ) ); ?> <?php next_post_link( '%link', __( 'Next <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>Didnt dig too deep into that links but u can check WP documentation for details:
documentationForum: Fixing WordPress
In reply to: Pls Help – Parse error: unexpected T_ENDWHILETo fix your problem try removing <?php endwhile; ?> at line 129. Seems like your while loop has ended at line 92 already. Hope that helps. I am not quite sure how to do your next/previous page.
Forum: Fixing WordPress
In reply to: Visual edit mode does not render tablesI am having the same issue(wp 3.2.1, tinyMCE 3.4.2.1 – tried previous verions as well). No table outline and no borders for columns in edit mode as it used to be.
Also one more thing I am having problem with is: If there isn’t anything preceding the table there is no way I can remove it from editor window(can’t select and delete it etc. – only through HTML editor or Ctrl + A –> del)