{"id":6277364,"date":"2015-06-28T23:05:19","date_gmt":"2015-06-28T23:05:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/adding-a-smart-block\/"},"modified":"2016-08-30T14:56:21","modified_gmt":"2016-08-30T14:56:21","slug":"adding-a-smart-block","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/adding-a-smart-block\/","title":{"rendered":"adding a smart block"},"content":{"rendered":"<p>I want to add a smart block (WP plugin) to display a logo &amp; contact information. I&#8217;m using boots &amp; see where the site title is generated in the raindrops functions.php but since updating to the current version I cannot get the smart block to show.<\/p>\n<p>Can you direct me to what I&#8217;m doing wrong? I just subverted your code in functions.php &amp; changed the returned html in the raindrops_site_title function to this.<\/p>\n<p>thanks<\/p>\n<p><code>code<\/code><br \/>\n$html = &#8216;&lt;div style=&#8221;position: relative; top:10; left: 10; z-index:1; text-align:left;&#8221;&gt;&lt;span style=&#8221;vertical-align:left;&#8221;&gt;&#8217; .<br \/>\n\t\t\t\techo do_shortcode( &#8220;[smartblock id=106]&#8221; ) .<br \/>\n\t\t\t\techo &#8216;&lt;\/span&gt;&lt;\/div&gt;&#8217;;<br \/>\n\t\treturn apply_filters( &#8220;raindrops_site_title&#8221;, $html );<br \/>\n<code>code<\/code><\/p>\n","protected":false},"template":"","class_list":["post-6277364","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6277364","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\/6277364\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6277364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}