bobbingwide / oik

OIK Information Kit
https://www.oik-plugins.com/oik-plugins/oik
GNU General Public License v2.0
2 stars 0 forks source link

bw_table - a nested bw_table shortcode changes the table columns #181

Open bobbingwide opened 3 years ago

bobbingwide commented 3 years ago

While testing the Dynamic content block using the [bw_table] rendering to tabulate page, the first page listed didn't have an excerpt and contained multiple [bw_table] shortcodes with the parameter fields=title,status,post_date This caused the table on the calling page to use the wrong table fields - it should have been fields=title,excerpt.

The calling page was Blog, post ID 1433 ( https://s.b/cwiccer/wp-admin/post.php?post=1433&action=edit )

The first page was entitled Future page, post ID 1743 ( https://s.b/cwiccer/wp-admin/post.php?post=1743&action=edit )

image

The table header is correct but the columns are incorrect.

Writing a hand written excerpt for the Future page resolved the problem image

Analysis