I have around 30 pages in WordPress, each of which contains one iframe block. Each unique iframe has the same src url except for the numeric part of the htm file at the end. Here's a couple of examples:
These are links to specific pages of online publications on the Yudu platform and for each issue, this 'constant' part changes:
I obviously don't want to manually edit 30 pages every month so what mechanism would be best for doing a search and replace, either on the pages in the WordPress/MySQL database or on the DOM after it loads?
Some kind of base url mechanism in HMTL
WordPress Plugin? (some kind of shortcode creator for example)
And based on the best approach, what code can perform the above?