BACK TO DIRECTORY

Show Post In lightbox

by OpenSource Technologies Inc.

5.0
(2 ratings)

Show Post In lightbox lists posts from a category on any page, post or sidebar. Visitors click a title and the post opens in a lightbox, without leaving the page.

  • [ostlist] shortcode for posts and pages. Use it as many times as you like.
  • “Show Posts By Category” widget for sidebars.
  • Optional post date and featured image thumbnail.
  • Accessible lightbox: keyboard friendly, closes with Esc, returns focus to the link.
  • Only published, public, non-password-protected posts are ever shown.
  • Without JavaScript the links open the normal post page.

Shortcode

[ostlist catid="3" limit="5" orderby="title" order="ASC" showdate="Y" showthumbnail="thumbnail"]
  • catid – category ID, or several IDs separated by commas. Default: all categories.
  • limit – number of posts, 1 to 100. Default: 10.
  • orderby – date, title, author, rand, modified, ID or menu_order. Default: date.
  • order – ASC or DESC. Default: DESC.
  • catnotin – category IDs to exclude, separated by commas.
  • postnotin – post IDs to exclude, separated by commas.
  • showdate – Y to show the post date. Default: N.
  • showthumbnail – an image size (thumbnail, medium, large, full) or a width and height such as 50,50. Leave empty for no image.

Plugin Details

Active Installs
40
Total Downloads
5,052
Version
2.0.0
Requires WP
6.0
Requires PHP
7.4
Tested Up To
7.1.3
Added
2014-03-31
Last Updated
2026-09-16 6:13am GMT

Ratings

5
2
4
0
3
0
2
0
1
0