Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

[suggestion] pass parameters to shortcode

$
0
0

Replies: 0

Instead of having different lists for different posts, maybe we could pass a parameter to the shortcode, which will be used for filtering purposes. Possible examples:

[postlist id=”1″ categories=”news,gossip”]

or even

[postlist id=”1″ foo=”bar”] (and use ‘bar’ when the filter/template sees ‘foo’)


Viewing all articles
Browse latest Browse all 59525

Trending Articles