Several Conditional Questions
-
Hey all,
I am developing my theme site around wordpress and am looking to display 4 of the latest posts in the top section, and i have two split columns below that displaying 2 posts from 2 different categories.
Please see the screenshot here: https://i46.tinypic.com/33c5949.png
Problems & Questions:
I only wish to display the bottom / split categories on the front page only.. now when using the pagination such as going to page 2,3,4 etc the other categories / posts show up… is there anyway around this ? My front page / loop is being pulled loop-page.php I just can’t seem to get anything working with the <?php if( is_home() ) : ?> or <?php if( is_front_page() ) : ?> conditional tags.
Assuming that the above can be fixed / work as stated above would it then be possible to increase the number of latest posts for pages 2+ onwards as the front page is only displaying 4.
A HUGE THANKS in advance to anyone who can help me out with this.
Regards, Darren
- The topic ‘Several Conditional Questions’ is closed to new replies.