Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Sortable Sticky Posts

Apraksts

Adds a new admin settings section to the Settings > Reading table. Drag and drop Sticky Posts in the order you want them considered by WordPress. (Note: You still have to set posts as sticky on the post edit screen for sticky posts to show up)

Ekrānuzņēmumi

BUJ

How do I order sticky posts?

Just drag and drop the posts in the order you want them considered.

I changed the order, but the order isn’t changed on my site. What’s wrong?

This is a case of the loop not using orderby => post__in. You have to manually modify your query to do this. Future versions will handle that for you.

$sticky_loop = new WP_Query( array( 'post__in' => get_option('sticky_posts'), 'orderby' ==> 'post__in' ) );
Do you like beer? Can I buy you one?

Derp. I’m a beer snob. Of course you can.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Sortable Sticky Posts” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Sortable Sticky Posts&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.0

  • Initial launch.