Heya! I’m following this documentation you’ve made, plus an older post I made, that generally explains the URL passback + looper arrangement well.
I’m trying to have a button inject a post slug, as in ?course=post_slug
, however I’m unclear as to how to pull that into a provider. I thought that the post_name WordPress variable would work…
(e.g. post_name={{dc:query:query_var key="course"}}
as a Looper Provider | Query String )
…however I’m finding that it doesn’t work as expected. Or rather, at all. What’s my error here?
.
.
.
.
Note that I had the same results when I tried to test using a {{dc:post:id}} paired with post_id={{dc:query:query_var key="course="}}
in the looper provider (and variations such as id=, post=, etc)
While I’m at it… is the only way to pull a slug in really just a meta>wp_old_slug setting? I would have sworn that at one point in the past there was an actual ‘slug’ setting for dynamic content. If there’s a better way, please enlighten me!