Šī 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.

Custom Posts Order

Apraksts

Custom Posts Order plugin will order posts with simple Drag and Drop Sortable capability. Place a shortcode in page, post, text widget or template files to display in front-end. It’s that simple.

  1. Quick and easy drag and drop for rearranging of posts.
  2. Set the number of posts to display in front-end.
  3. User can add different list of sections of particular posts.

izmantot

Place this shortcode in page, post or text widget where you’d like to display posts.

[posts_order posts=2 section=porder_name]

Parameters

Custom Posts Order plugin supports the “posts” parameter where you can pass the number of posts you want to display in frontend and “section” parameter where you can pass the name of the section to be displayed in frontend. For example if you want to display 3 posts from Section1 at a time then place the following code:

[posts_order posts=3 section=Section1]

By default it displays 5 posts.

Veidnes

Place this shortcode in any template parts of your theme.

<?php echo do_shortcode('[posts_order posts=3 section="Section1"]'); ?>

Ekrānuzņēmumi

  • After activating the plugin it will be hooked in Settings Menu.
  • Section Listing. Here you can Add/Edit and Delete the sections.
  • Posts Listing. Here you can change the post order by simple drag and drop functionality.
  • Frontend display.

Uzstādīšana

Installation

  1. Upload “custom_posts_order” to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.

How to Use

  1. Place shortcode [posts_order posts=3 section=porder_name] in wordpress page, post or text widget, where in the “posts” parameter you can pass the number of posts and name of the section in “section” parameter you want to display in frontend. 5 posts will be displayed by default .
  2. Place the code <?php echo do_shortcode('[posts_order posts=3 section=porder_name]'); ?> in template files, where in the “posts” parameter you pass the number of posts and name of the section in “section” parameter you want to display in frontend. 5 posts will be displayed by default .

BUJ

Having problems, questions, bugs & suggestions

Contact us at http://www.satvikinfotech.com/

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

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

Līdzdalībnieki

Tulkot “Custom Posts Order&#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

v1.0

  • Initial release version.

v4.0

  • Tested up to latest version.

v4.1

  • fixed some bugs.

v4.2

  • fixed some bugs.

v4.3

  • fixed some bugs.