WordPress.org

Ready to get started?Download WordPress

Forums

Totally Booked
[resolved] Display order (5 posts)

  1. dianaascher
    Member
    Posted 12 months ago #

    Any way to change the order in which the books are displayed? I tried setting the order number in the quickedit panel, but the changes aren't reflected in the book list.

    http://wordpress.org/extend/plugins/totally-booked/

  2. Ben Casey
    Member
    Plugin Author

    Posted 12 months ago #

    dianaascher

    The plugin has built in support for the simple page ordering plugin
    http://wordpress.org/plugins/simple-page-ordering/

    let me know if you need any more help.

    Cheers
    Ben

  3. rosebean
    Member
    Posted 6 months ago #

    I installed the Simple Page Ordering Plugin but when I reorder the books the changes aren't reflected on my books page.

  4. rosebean
    Member
    Posted 6 months ago #

    I found out the problem. Because I wanted all of my genres to show on one page, I placed the short code for each genre on one standard page. The Page Ordering only seems to work when the genre is displayed automatically on an actual genre page.

    Any idea how I can get it to work how I need it to? I see the code for it in the totally-booked.php file and see it only refers to is_post_type_archive . I need it to refer to gallery as well.

    Thanks!

  5. rosebean
    Member
    Posted 6 months ago #

    Figured it out... I just replaced the Page Ordering code in the totally-booked.php file with this:

    if( class_exists( 'Simple_Page_Ordering' ) ){
                if( is_page( 'books-4' )  ){
                    $query->set( 'orderby' , 'menu_order' );
                    $query->set( 'order'   , 'ASC' );
                }
            }

    The 'books-4' is the slug for the page.

Reply

You must log in to post.

About this Plugin

About this Topic