Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter bestbooks

    (@bestbooks)

    I don’t have that in my editing page.php file.

    This is the code inside of it:

    <?php get_header(); ?>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class=”post” id=”post-<?php the_ID(); ?>”>

    <?php the_content(‘<p>Read the rest of this page »</p>’); ?>

    <?php link_pages(‘<p>Pages: ‘, ‘</p>’, ‘number’); ?>

    </div>

    <?php endwhile; endif; ?>

    <?php edit_post_link(‘Edit this entry.’, ‘<p>’, ‘</p>’); ?>

    <?php get_footer(); ?>

    Being that I am completely new to WordPress, I don’t know what to edit.

    I hate when people don’t read carefully. It says:
    wp-admin/edit-pages.php: line 22

    which means NOT your theme folder, but the wp-admin folder and the file called edit-pages.php

    Assuming you are using Version 2.2.1

    Edit your wp-admin/edit-pages.php file

    Change line 22 from:
    wp('post_type=page&orderby=menu_order&what_to_show=posts&posts_per_page=-1&posts_per_archive_page=-1&order=asc');
    to
    wp('post_type=page&orderby=title&what_to_show=posts&posts_per_page=-1&posts_per_archive_page=-1&order=asc');

    Remember you may have to make this change in the future when you upgrade WordPress and it may not be the same line or same file.

    Thread Starter bestbooks

    (@bestbooks)

    Okay, thank you moderators. That worked beautifully!

    My goodness Moshu, sorry to get you so riled up.

    Thank you Michael for being kinder to such a new person on WordPress. :o)

    Being new would require even more to read carefully. MichaelH just repeated what was already in the thread that you linked to. Being able to follow clear instructions has nothing to do with being new or or old user.
    Glad you sorted out finally.

    Thread Starter bestbooks

    (@bestbooks)

    Sorry, just need to get more familiar with the terminology I guess.

    Thanks again Moshu! :o)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Managing Pages in Admin’ is closed to new replies.