Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Aw I would really like to do that on my blog, but I have no idea how to do it…
    Could you help me with the code you used/where did you put it, please?

    Thread Starter aixa

    (@aixa)

    Oh I see, well I’ll look for it until I find it!

    Thank you again! 🙂

    Thread Starter aixa

    (@aixa)

    Thank you so much for your quick response, yes that’s exactly what I was looking for!

    But I’ve been trying and seems like I can’t manage to place the code correctly..
    I thought it should be in home.php (since index.php is empty) somewhere between <!-- News Articles --> and <!-- #index-news -->

    <!-- News Articles -->
    <div id="index-news">
    <div class="home-title"><?php echo arras_get_option('news_title') ?></div>
    
    <?php
    $news_query_args = array(
    	'cat' => arras_get_option('news_cat'),
    	'paged' => $paged,
    	'showposts' => ( (arras_get_option('index_count') == 0 ? get_option('posts_per_page') : arras_get_option('index_count')) )
    );
    
    query_posts($news_query_args);
    arras_render_posts(null, arras_get_option('news_display'), 'news');
     ?>
    
    <?php if(function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>
    	<div class="navigation clearfix">
    		<div class="floatleft"><?php next_posts_link( __('Older Entries', 'arras') ) ?></div>
    		<div class="floatright"><?php previous_posts_link( __('Newer Entries', 'arras') ) ?></div>
    	</div>
    <?php } ?>
    </div><!-- #index-news -->

    But either if I put it above or below the first script, the link doesn’t appear inside the post but above or below all the posts, all the links together.. I can’t find the way to put it inside the posts..

    <small>I just noticed I forgot to link to my page by the way</small>

Viewing 3 replies - 1 through 3 (of 3 total)