Guides
Shortcode options
Shortcode options
[lafu_rivi id="12"] shows table 12. Every option below is free. One big table can be shown on many pages, each narrowed down its own way.
| Option | Example | What it does |
|---|---|---|
per_page | per_page="20" | Rows per page |
limit | limit="100" | Most rows shown |
skip | skip="10" | Rows dropped from the start |
columns | columns="name,price" | Only these columns, in this order |
filter | filter="Nintendo" | Only matching rows |
filter_column | filter_column="price" | Apply filter to one column |
get_filter | get_filter="brand" | Take the filter from the page address, e.g. ?brand=Kivi |
filter_selects | filter_selects="Brand=Kivi" | Preselect a column filter |
sort | sort="-price" or sort="brand,-price" | Starting order; - means descending |
sorting | sorting="0" | Turn sorting off |
search | search="no" | Hide the search box; any other text starts with that search |
style | style="grid" | Style: clean, minimal, grid, bold or soft |
hide_header | hide_header="1" | Hide the header row |
logged_in_only | logged_in_only="1" | Show only to logged-in visitors |
info | info="Page {CP} of {TP}" | Your own result line |
Filter words
- Several words: all must match.
ORbetween words: any may match. -wordleaves rows with that word out. "Quoted phrases" match as a whole.- With
filter_column:{gt}10,{lt}10,~10:20(a range) and dates such as~{date-7}:{date}.
Single values
[lafu_rivi_info id="12" field="total_rows"]shows a detail of the table.[lafu_rivi_cell id="12" row_id="5" column="price"]shows one cell anywhere on the site.
The block and the Elementor widget have the same settings.
Improve this page
Spot something confusing or outdated? Send the docs team a private note.