1473 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
OriginalEXE says

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

9 posts
  • Has been part of the Envato Community for over 3 years
  • Located in Australia
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
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
  • Has been part of the Envato Community for over 3 years
  • Located in Australia
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
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