Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

Sequential posts numbering

Descriere

This plugin published on GitHub.

This plugin will serialize your posts. Since this plugin simply outputs numbers only, it’s up to you to incorporate it into html or styling with CSS. 🙂
It demonstrates its power with archives and single pages in the loop. 😛
Now added ÔorderÕ, ÔrawÕ options. See Parameters.

Contact

Twitter: @marushu
email: shuhei.nishimura[at]gmail.com

Instalare

  • A plug-in installation screen is displayed on the WordPress admin panel.
  • It installs it in wp-content/plugins.
  • The plug-in is made effective.
  • Place <?php if ( function_exists( 'sequential_posts_numbering' ) ) { echo sequential_posts_numbering(); } ?> in your templates(archive, single, etc…)

Parameters

  • post_type: WordPress post type. Default is post.
  • posts_per_page: Number of posts to include on one page. Default is -1.
  • post_status: Post status. Default is publish.( private, pending, draft, auto-draft…. )
  • order : ‘ASCÕ, ÔDESCÕ. Default is ÔDESCÕ.
  • raw : Default return +1 value. If set to true, it returns the start value from 0. This is useful when changing only the first post only when infinite scrolling, such as different design, only when changing the order only for a specific post.

Recenzii

Nu există nicio verificare pentru acest modul.

Contributori și dezvoltatori

„Sequential posts numbering” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Istoric modificări

1.0.0

  • Add order option.
  • Add raw option.

0.1.2

  • Add plugin uri
  • Add Github link

0.1.1

  • fix files

0.1.0

  • First release 🙂