WordPress.org

Ready to get started?Download WordPress

Forums

GREAT! Can it affect menus? (1 post)

  1. kalico
    Member
    Posted 6 years ago #

    (Sorry, I posted from the plugin page, and didn't know it would create a whole new forum posting. This is regarding the apoststickyorder plugin)

    Is there a way to get this plugin to affect the menu of posts created with the following code:

    <ul>
    <?php
    $my_query = new WP_Query('category_name=special-cat&showposts=-1'); while ($my_query->have_posts()) : $my_query->the_post();
    ?>
    <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
    <?php endwhile; ?>
    </ul>

Topic Closed

This topic has been closed to new replies.

About this Topic