{"id":1918643,"date":"2021-01-26T13:13:39","date_gmt":"2021-01-26T13:13:39","guid":{"rendered":"https:\/\/toolset.com\/?post_type=course-lesson&#038;p=1918643"},"modified":"2021-04-14T10:38:32","modified_gmt":"2021-04-14T10:38:32","slug":"display-dynamic-sources-inside-all-text-blocks","status":"publish","type":"course-lesson","link":"https:\/\/toolset.com\/de\/course-lesson\/display-dynamic-sources-inside-all-text-blocks\/","title":{"rendered":"Display Dynamic Sources Inside all Text Blocks"},"content":{"rendered":"\n<p>You can find the Toolset&#8217;s <strong>Inline Fields <\/strong>button inside WordPress core blocks, Toolset blocks, and popular block plugins.<\/p>\n\n\n\n<p>To display any <a href=\"https:\/\/toolset.com\/de\/glossary\/dynamic-fields\/\">Dynamic Source<\/a> inline, insert or select a block with a text input and look for the <strong>Inline Fields <\/strong>button. Dropdown menus will appear, allowing you to select a Dynamic Source.<\/p>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"d3a4c2b7501d3c3931e6ccf3792b5f44\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>Toolset Inline Field button in the Paragraph block&#8217;s dialog<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"685c3d84721e59fd4b5918ccaec44fa4\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-button.png\"><img decoding=\"async\" width=\"612\" height=\"599\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-button.png\" alt=\"Toolset Inline Field button in the dialog of the core Paragraph block\" class=\"wp-image-1914163\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-button.png 612w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-button-300x294.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-button-150x147.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-button-531x520.png 531w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/a><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<p><strong>Toolset Inline Field button in the Genesis Testimonial block&#8217;s dialog<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image tb-image tb-image-media\" data-toolset-blocks-image=\"7e3ed65c1f81f3bf0654d1106c2bae67\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-genesis-testimonial-block.png\"><img decoding=\"async\" width=\"489\" height=\"743\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-genesis-testimonial-block.png\" alt=\"\" class=\"wp-image-1919011\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-genesis-testimonial-block.png 489w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-genesis-testimonial-block-197x300.png 197w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-genesis-testimonial-block-99x150.png 99w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-genesis-testimonial-block-342x520.png 342w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-field-genesis-testimonial-block-300x456.png 300w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>You can change the format of certain types of custom fields (dates, taxonomies and excerpts), by clicking on them.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"bc2d4230246c032c362ce8f8fe63d022\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-fields-format.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/01\/toolset-inline-fields-format-500x492.png\" alt=\"\" class=\"wp-image-1919089\"\/><\/a><div class=\"tb-image-caption\"><figcaption>Selecting a format for a date-based field<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<p>If at any time, you want to select another field for the inserted inline field, simply click on it and use the dropdowns.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Displaying fields that contain links<\/h2>\n\n\n\n<p>You can display the <strong>Post title with a link <\/strong>and <strong>Author Posts Link <\/strong>fields inline using the following blocks:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Core Paragraph<\/li><li>Core Heading<\/li><li>Toolset Heading<\/li><\/ul>\n\n\n\n<p>Fields containing HTML tags are not available in most blocks. This is because outputting links and other HTML inside blocks can break their output.<\/p>\n\n\n\n<p>Because of this, the preview of links has HTML removed in the backend editor. The field&#8217;s text remains, of course.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Limitations on displaying Inline Fields<\/h2>\n\n\n\n<p>Currently, there are two limitations on where and how the Inline Fields feature works.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Inline Fields work in blocks using RichText inputs<\/h3>\n\n\n\n<p>Toolset Inline Fields automatically work in all blocks that use <a href=\"https:\/\/developer.wordpress.org\/block-editor\/developers\/richtext\/\" target=\"_blank\" rel=\"noreferrer noopener\">RichText<\/a><strong> <\/strong>input. <\/p>\n\n\n\n<p>However, if a block uses the simple text input, the <strong>Inline Fields<\/strong> button is not available.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Inline Fields values don&#8217;t update live in the backend editor<\/h3>\n\n\n\n<p>Inline Fields display Dynamic Sources like custom fields and standard WordPress fields. As these fields are dynamic, their values can change at any time.<\/p>\n\n\n\n<p>If a value of any field that you display using the Inline Fields feature changes, this will be automatically updated and reflected in the backend editor only for the Toolset Button and Toolset Heading blocks. Currently, all other blocks do not automatically refresh the values of fields displayed inline.<\/p>\n\n\n\n<p>Of course, on the front-end, dynamic sources will always display the current (i.e. updated) version of the value, as it&#8217;s stored in the database.<\/p>\n","protected":false},"author":4341,"featured_media":1919045,"template":"","related-lesson":[8409,8427,8411],"class_list":["post-1918643","course-lesson","type-course-lesson","status-publish","has-post-thumbnail","hentry","related-lesson-archive-pages","related-lesson-post-templates","related-lesson-view"],"_links":{"self":[{"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/course-lesson\/1918643","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/course-lesson"}],"about":[{"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/types\/course-lesson"}],"author":[{"embeddable":true,"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/users\/4341"}],"version-history":[{"count":8,"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/course-lesson\/1918643\/revisions"}],"predecessor-version":[{"id":2020599,"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/course-lesson\/1918643\/revisions\/2020599"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/media\/1919045"}],"wp:attachment":[{"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/media?parent=1918643"}],"wp:term":[{"taxonomy":"related-lesson","embeddable":true,"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/related-lesson?post=1918643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}