WordPress.org

Ready to get started?Download WordPress

Forums

Simple Page Ordering
Custom Post Type sorting not working (2 posts)

  1. sphet
    Member
    Posted 2 years ago #

    Hello,

    I really love the way this plugin works in the admin side, but I cannot get it to respect the sort on the front end. Here's what I am using to pull out my posts:

    <?php query_posts( array( 'post_type' => 'product' ) );  ?>
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
    <p><?php the_content(); ?>
    <?php endwhile; else: endif; ?>

    Can you advise me on what I need to do to get the back-end sorting to be reflected in the front-end?

    Best,

    S

    http://wordpress.org/extend/plugins/simple-page-ordering/

  2. mukesh panchal
    Member
    Posted 2 years ago #

    in array u can pass order by ass or dis
    what u want

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic