1565 posts
  • Affiliate Level 2
  • Author Level 5
  • Collector Level 2
  • Featured Author
+2 more
OriginalEXE
says

What do you use to output posts on your home page?

9 posts
  • 6 Years of Membership
  • Australia
  • Collector Level 4
  • Exclusive Author
smartsites1
says
I am just using some other standard WordPress queries that are all working and appearing. Here is an example of one of mine:
  <?php

// The Query

query_posts( 'cat=4&posts_per_page=3' );

// The Loop

while ( have_posts() ) : the_post();

?>

I can create a page template to test this code on and just changed the is_home and is_front_page call to is_user_logged_in.

9 posts
  • 6 Years of Membership
  • Australia
  • Collector Level 4
  • Exclusive Author
smartsites1
says
In my error_log I am getting this message (I have replaced sensitive data with *):
[04-May-2013 14:16:09 UTC] PHP Notice:  Undefined variable: category_box_one in /home/***/public_html/wp-content/themes/***/index.php on line 20
[04-May-2013 14:16:09 UTC] PHP Notice:  Undefined variable: category_box_one in /home/***/public_html/wp-content/themes/***/index.php on line 20
by
by
by
by
by
by