I am trying to filter output of a view using views shortcode parameters - but I want those parameters set by shortcodes that do date calculations. I'm trying to nest shortcodes.
Specifically, I want to show CPTs that have a date field that falls between the Monday of the post that uses the view and the previous Tuesday. This is for a newsletter-type WP post that goes up every Monday and includes a section showing articles read from (from other sources) since the previous Monday post.
Here is a trouble-shooting page I'm trying to get to work: hidden link
Here is the page code I'm trying to work. The parsing of the shortcode brackets doesn't work.
<h3>Parameters set manually</h3>
[wpv-view name='filter-articles-weekly' startdate='1496666015' enddate='1497270815']
<hr />
<h3>Parameters set using shortcodes</h3>
Shortcode output: startdate = [prev_tue_pub_date] enddate = [mon_pub_date]
[wpv-view name='filter-articles-weekly' startdate='[prev_tue_pub_date]' enddate='[mon_pub_date]']
Or is there a better way? I've tried a number of things.