I want to make a table using MB Views pulling custom fields (rows) from a custom post type (columns). Then the shortcode will be used in Gutenberg.
I want to be able to restrict which posts it pulls though every time the shortcode is used. Can I pass arguments to the shortcode, say the post ids to use, so it only shows these products on that page rather then all?
How could I filter/restrict post ids otherwise without creating new Views every single time?
Thanks for the reply. Perhaps I wasn’t clear.
I want to have a table like this - link but allow the the user to manually select which posts to compare. I was thinking of this working through a modified shortcode but maybe I can set a clonable dropdown field to select the table columns which MB Views then cycles through and pulls. What do you think?