This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Anywhere List Shortcode

Description

List the article πŸ™‚

This plugin published on GitHub.

Fetures

  • WordPress post retrieve and list.
  • Purpose to be output by the number specified latest posts mainly is suitable.
  • 【NEW 0.2】Added filter( anywhter_before_list_tag, anywhter_list_content, anywhter_after_list_tag ).

You can simply put a “[list]” short code, to list the title of the latest article (link with) and the front page of your blog, sidebar, footer. Set category and custom post type, taxonomy also other it is also possible.

Parameters

Main parameters, refer to the get_posts of Codex.

  • post_type: WordPress post type. Default is post.
  • cat_name: Category slug.
  • num: Number: The number of posts you want to output.
  • class: Unorderd list’s class name. maybe easy controllable πŸ™‚
  • orderby: Post’s order.
  • order: Ascending Descending.
  • length: If you want to adjust the length of post title
  • end_of_title: Specify a string to be appended to the end of the article. This must be required for ‘length’.
  • taxonomy: If you want to output by specifying a custom taxonomy.
  • term: Required for ‘taxonomy’.
  • more: read more link text.
  • post_format: post format
  • no_filter(boolean): If you are creating a filter hook , you are able to set not affected. πŸ™‚

Example

  • [list] most simple.
  • [list post_type=post cat_name=news num=5 class=newslist] at visual editor.
  • <?php echo do_shortcode( '[list]' ); ?> at template.

Other

It can also be used in widget πŸ™‚

Contact

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

Installation

  • 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.

Contributors & Developers

“Anywhere List Shortcode” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.2

  • add filter
  • no_filter option

0.1

  • First release πŸ™‚