Hi Tom,
Lovin WP Show Posts Pro.
I am applying the same hook (see code below) to all sub-pages of this page.
The wp posts list is applied for post_tags (tags have been set up with Tag base suburbs).
I am also using a shortcode [page_title] to dynamically display the page title at several place in the hook.
https://marellagm.com.au/staging/local-areas/toorak/
https://marellagm.com.au/staging/local-areas/balwyn/
How can I use this shortcode within the [wp_show_posts] shortcode as illustrated below (or use php to get page title)?
<!-- wp:paragraph -->
<p>Some recent projects that we completed in [page_title]</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Using the shortcode <code>{{wp_show_posts id="5181" settings="tax_term=Balwyn"}}</code></p>
<!-- /wp:paragraph -->
<!-- wp:shortcode -->
[wp_show_posts id="5181" settings="tax_term=Balwyn"]
<!-- /wp:shortcode -->
<!-- wp:paragraph -->
<p>Using the shortcode <code>{{wp_show_posts id="5181" settings="tax_term={{page_title}}"}}</code></p>
<!-- /wp:paragraph -->