WordPress.org

Ready to get started?Download WordPress

Forums

Errors in the alphabetic list (1 post)

  1. Paweł Patyk
    Member
    Posted 3 years ago #

    Hi,
    I have a problem with the alphabetical arrangement of posts.
    My loop looks like this:

    <ul>
    	<?php query_posts( 'post_type=autorzy&orderby=title&order=ASC&nopaging=true' );
    	if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    		<li><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
    	<?php endwhile; else: endif; wp_reset_query(); ?>
    </ul>

    A WordPress displays a list like this:

    # Author
    # Dług
    # Konik
    # Prosta Katarzyna
    # Wiele
    # Kiszka
    # Korwin-Mikke
    # Parowóz
    # Patyk

    What could be wrong?
    Please help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.