• Hi,

    i’m looking for a way to manage posts in WP backend, like sorting posts by metadata or filter the view by category…

    i can’t believe there’s no way to do it, maybe you know a plugin (i didn’t find one)

    -skarck

Viewing 8 replies - 1 through 8 (of 8 total)
  • You can Filter the view by category.

    Administration > Posts > Edit

    Thread Starter skarck

    (@skarck)

    Ah, i see filtering is possible.
    but what about sorting?

    i use an event plugin that gives posts a timestamp (event date) as a custom field. now i’d like to sort all posts in backend by this metadata.

    any ideas?

    thanks,
    -skarck

    Not sure you can get there without modifying core files. The function wp_edit_posts_query in wp-admin/includes/post.php handles that and it looks like there is no filter on the orderby.

    Thread Starter skarck

    (@skarck)

    Hi Michael, could u give me a hint how to access the posts metadata within this function?
    i just don’t get the right value for
    $orderby
    i found
    get_post_meta( $post->ID, 'metakey', true );
    but it doesn’t work ??

    Thread Starter skarck

    (@skarck)

    Hi again,

    would be great to get some help
    i’m trying
    wp("post_type=post&$post_status_q&posts_per_page=$posts_per_page&order=$order&orderby=meta_value&meta_key=MyValue");
    like in function reference in post.php but it doesn’t work.
    seems not to access metadata.
    orderby=post_title works.

    thanks in advance,

    skarck

    I am also wanting to have posts appear in order by date, and they appear in alphabetical order by month ??
    Anyone know how I can fix that?

    It’s the Kurt’s Corner posts on this page, I need to reorder by date, not by the month spelling. Any help is much appreciated! Thanks ??

    https://americanpoweryoga.com/kurtsCorner/

    Thread Starter skarck

    (@skarck)

    i’m sorry shmrck1, but this tread is about ordering posts IN BACKEND (edit post list) not in frontend…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Post Management, sort posts in backend’ is closed to new replies.