{"id":19018619,"date":"2026-09-13T01:37:23","date_gmt":"2026-09-13T01:37:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/dynamic-inline-html-inserts\/"},"modified":"2026-09-13T01:37:23","modified_gmt":"2026-09-13T01:37:23","slug":"dynamic-inline-html-inserts","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/dynamic-inline-html-inserts\/","title":{"rendered":"Dynamic Inline HTML Inserts"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">My WordPress site is the front end of a forum. We have have numerous inline html snippets used throughout the website. The inline html is updated every hour. The challenge is the translations is not catching the updates. <br \/><br \/>I use the following block to insert the dynamic text:  [inline_html file=&#8221;my-filename.php&#8221;]<br \/>Sample page: <a href=\"https:\/\/lotuselan.net\/lotus-elan-series-2\/\">https:\/\/lotuselan.net\/lotus-elan-series-2\/<\/a> Look at the Current Discussions in the right sidebar. When you switch between English and French: the French version was cached when the AI translation occurred. The English version is showing in real time.<br \/><br \/>Is there a way to flag a dynamic insert not to be cached?<br \/>Is there a way to flag a different inline html file based on desired language? i.e. if lang=ja file=myfile_ja <br \/>Is there a way to flag a dynamic insert to be retranslated on a shorter cache duration than 14 days?<br \/><br \/>Thank you<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"template":"","class_list":["post-19018619","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19018619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19018619\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19018619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}