WordPress.org

Support

Support » Plugins and Hacks » My Post Order » Plugin shows all posts instead of just the section content

Plugin shows all posts instead of just the section content

  • Hello,

    I use the plugin in my wordpress but not in a widget.
    I’ve created a section “nosservices” wich contains all posts of the category “Nos services” (identity : nosservices).
    The widget works but not my code :

    <?php $recent = new WP_Query('section_name=nosservices'); while($recent->have_posts()) : $recent->the_post();?>
    <li>
     <a href="javascript:;">
     <h2><?php the_title(); ?></h2>
     </a>
    </li>
    <?php endwhile; ?>

    Can I have some help please?
    Thanks by advance

    http://wordpress.org/extend/plugins/my-posts-order/

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Plugin shows all posts instead of just the section content’ is closed to new replies.
Skip to toolbar