Support » Plugin: Simple Page Ordering » order posts don’t work

  • Hello,
    Yes, I read the faq and add
    add_post_type_support( 'post', 'page-attributes' );
    in function.php
    But, no reorder on posts …
    Any idea ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Siddharth Thevaril

    (@nomnom99)

    Hi @jeanpoldupont

    After adding add_post_type_support( 'post', 'page-attributes' );, when you visit the /wp-admin/edit.php?post_type=post screen, you should see a Sort by Order link just above the Post list table. Once you click it, you should be able to reorder the posts.

    Let us know if it works for you.

    Hi @nomnom99 I tried it and didn’t work whatsoever, here is a video showing it:

    Maybe I’m missing something? Can you help me?

    • This reply was modified 9 months, 2 weeks ago by Jairo Niño.
    Plugin Support Siddharth Thevaril

    (@nomnom99)

    Hi @jnfdev,

    As per the WordPress docs here, the function add_post_type_support must be called on the init hook.

    Can you try the following:

    
    add_action( 'init', function() {
    	add_post_type_support( 'post', 'page-attributes' );
    } );
    

    If this works for you then ignore the rest of the comment.

    I confirmed this to be working on my WordPress setup with the Twenty Twenty-One theme.

    Can you try the same so that we can be sure the issue is not with the current theme in the video?

    If it fails even with the Twenty Twenty-One theme, then would it be possible to share the list of plugins active on your WordPress installation? It will help us to further debug the issue.

    Please let us know.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘order posts don’t work’ is closed to new replies.