1. Smart Content Box

SCREENSHOTSmartContentBox

THE CODE

[scb title="" layout="" parent_column_size="" count="" condition="" order="" cats="" tags="" ids="" items_per_page="" show_datetime="" show_author="" show_excerpt="" show_comment_count="" show_view_count="" show_like="" show_rating="" show_duration="" custom_button="" custom_button_url="" custom_button_target="" border_bottom="" videoplayer_lightbox="" screenshots_preview="" offset="" posttype=""]

OR

[scb title="" layout="" parent_column_size="" count="" condition="" order="" cats="" tags="" ids="" items_per_page="" show_datetime="" show_author="" show_excerpt=”” show_comment_count="" show_view_count="" show_like="" show_rating="" show_duration="" custom_button="" custom_button_url="" custom_button_target="" border_bottom="" videoplayer_lightbox="" screenshots_preview="" offset="" posttype=""]
[scb_filters title="" layout=""]
[scb_filter_all title=""]
[scb_filter_latest title=""]
[scb_filter_top_rated title=""]
[scb_filter_top_viewed title=""]
[scb_filter_categories order=""]
[/scb_filters]
[/scb]

PARAMS

  • title – string – enter heading text of the box
  • layout – select – choose one of 15 predefined layouts. Please check here to view all Smart Content Box Layouts
  • parent_column_size – select – specify size of the parent column so that the SCB can choose the most appropriate thumbnail size for items
    • 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
  • count – number – Number of items. If leave it blank, default value is 20.
  • offset – int – number of first items to ignore when querying. Note: offset only works correctly if there isn’t pagination
  • items_per_page– number – Number of items per page, default is count‘s value. If items_per_page is smaller than count value, the pagination buttons/arrows will appear
  • condition – select – condition to query items
    • latest – order by published date
    • view – order by most viewed posts
    • like – order by most liked posts
    • comment – order by most commented posts
    • title – order by title alphabetically
    • input – order by input ID (only available when using ids parameter)
  • order– select
    • asc – Ascending
    • desc – Descending
  • cats – mix – list of categories (ID/slug) to query items from, separated by a comma. For example: 1, 2, 3
  • tags – mix – list of tags to query items from, separated by a comma. For example: tag-1, tag-2, tag-3
  • ids – mix – list of post IDs to query, separated by a comma. If this value is not empty, cats, tags and featured are omitted
  • posttype – select – select Post Type is
    • Post
    • Actor
    • Channel
    • Playlist
  • show_datetime – 1/0 – Show post published datetime
  • show_author – 1/0 – Show post author name
  • show_comment_count – 1/0 – Show post comment count number
  • show_view_count – 1/0 – Show post view count number
  • show_like – 1/0 – Show post Like button, require WTI Like Post plugin installed
  • show_rating – 1/0 – Show post rating value, require Cactus-Rating plugin installed
  • show_duration – 1/0 – Show video duration, if it is Video Post
  • show_excerpt – 1/0 – Show post excerpt or not
  • custom_button – string – Text for a custom button. If empty, button is hidden
  • custom_button_url – URL – URL of the button
  • custom_button_target – select – URL target of the button
    • (empty) – open URL in current tab
    • _blank – open URL in new tab
  • border_bottom – 1/0 – Show a border at bottom of the box. Default 1
  • videoplayer_lightbox – 1/0 – Enable lightbox for video player if item is video post
  • videoplayer_inline – 1/0  – Enable Video Player for video items. Applied for layout 7, 8, 9, 10, 11
  • screenshots_preview – 1/0 – Enable Video Screenshots preview when hovering on items

Articles