This is a strange question. When we create a view, the first decision is to select a content type (post type, taxonomy, or users). I'm typically selecting a post type.
In my case, I have multiple views displaying posts in an identical way but with different post types. Here's my question: is there a way to pass the post type as an argument to a [wpv-view] shortcode or PHP function render_view() via, say, a shortcode parameter or URL parameter?
I know, it's strange, but I'm trying to create more abstract / "reusable" views.
This is ridiculously cool! And it will save me a lot of work.
Is it the case that when defining the view in the dashboard, I can just choose *any* post type and it will be replaced via the "myposttype" attribute passed to the shortcode (due to the custom PHP code)?