So I’m after getting this featured posts widget to only show up on the homepage, as at the moment it causes all kind of bother after page 2 of recent posts. I’ve tried fixing it myself but it breaks the entire homepage.
Below is the current function, if you could please tell me how I should edit this to do what I want it to.
<?php if ( $paged < 4 && option::get(‘feat_show’) == ‘on’ ) get_template_part(‘wpzoom’, ‘featured’); ?>
Any help would be greatly, greatly appreciated as I’m on a time limit. Thanks guys!
- The topic ‘Getting to only show on homepage’ is closed to new replies.