[Plugin: My Post Order] Sorting for sidebar
Hi Kapil Chugh,
first of all thank you for this awesome plugin!
It works great.
I insered <?php query_posts(‘section_name=SECTION_NAME’) ?> in my template and everything is fine.
I have a question about using this ordering for the related links in my sidebar. My sidebar is also integrated in the Theme. So I don’t use the widgets and need how to sort them there too.
Can I put there a code into too to order these related links of the same categorie?
Thank you very much
My Sidebar-Code is:
<h2 class=”widgettitle”>Recent Articles</h2>
- “><?php the_title(); ?>
$args = array( ‘numberposts’ => 10, ‘offset’=> 1, ‘category’ => 8 );
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
<?php endforeach; ?>
- The topic ‘[Plugin: My Post Order] Sorting for sidebar’ is closed to new replies.