{"id":31722,"date":"2012-01-28T18:45:02","date_gmt":"2012-01-28T16:45:02","guid":{"rendered":"https:\/\/nl.wordpress.org\/support\/topic\/custom-widget-area-werkt-niet-goed\/"},"modified":"2016-08-04T23:29:05","modified_gmt":"2016-08-04T23:29:05","slug":"custom-widget-area-werkt-niet-goed","status":"closed","type":"topic","link":"https:\/\/nl.wordpress.org\/support\/topic\/custom-widget-area-werkt-niet-goed\/","title":{"rendered":"Custom Widget Area werkt niet goed"},"content":{"rendered":"<p>Voor mijn website www.licence2chill.be\/blog wilde ik 3 widget area&#8217;s naast elkaar plaatsen. ( bg = blauw, geel &amp; roze )<\/p>\n<p>Groen is de standaard post area voor de nieuwsitems&#8230;<\/p>\n<p>Nu heb ik voor de 3e widget area ( #tertiary ) onderstaande plugin gedownload: https:\/\/wordpress.org\/extend\/plugins\/custom-widget-area\/<\/p>\n<p>Als ik geen widget in deze widget area invoeg, laat hij het gele vakje zien. Voeg ik er een widget aan toe ( bijv. content block ) verdwijnt het gele vakje en staat de tekst onder alle vakjes, links onder&#8230;<\/p>\n<p>Hieronder de beschrijving die bij de plugin zat.<br \/>\nDaaronder heb ik ook de code uit sidebar.php bijgevoegd, hoe ik hem heb neergezet&#8230;<\/p>\n<p>Weet er iemand wat ik anders moet instellen om het werkend te krijgen?<\/p>\n<p>Alvast heel erg bedankt voor de moeite!!!!<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>A simple plugin to create custom widget area. Simply copy and paste these lines where you want to show custom widget content.<\/p>\n<p>After installing and activating this plugin, it will create Header Widget Area. Assign any widget in This Header Widget Area Plugin.<\/p>\n<p>Simply copy and paste these lines within php tag, where you want to show custom widget content.<\/p>\n<p>if (!function_exists(&#8216;dynamic_sidebar&#8217;) || !dynamic_sidebar(&#8216;Header Widget Area&#8217;)) :<\/p>\n<p>endif;<\/p>\n<p>You will need to write some css for it. That&#8217;s it.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>&lt;?php<br \/>\n\t\/\/ A third sidebar for widgets, just because.<br \/>\n\tif (!function_exists(&#8216;dynamic_sidebar&#8217;) || !dynamic_sidebar(&#8216;Header Widget Area&#8217;)) : ?&gt;<\/p>\n<p>\t\t&lt;div id=&#8221;tertiary&#8221; class=&#8221;widget-area&#8221; role=&#8221;complementary&#8221;&gt;<br \/>\n\t\t\t&lt;ul class=&#8221;xoxo&#8221;&gt;<br \/>\n\t\t\t\t&lt;?php dynamic_sidebar( &#8216;Header Widget Area&#8217; ); ?&gt;<\/p>\n<p>\t\t&lt;\/div&gt;&lt;!&#8211; #tertiary .widget-area &#8211;&gt;<\/p>\n<p>&lt;?php endif; ?&gt;<\/p>\n","protected":false},"template":"","class_list":["post-31722","topic","type-topic","status-closed","hentry","topic-tag-area","topic-tag-custom","topic-tag-widget"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/31722","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/31722\/revisions"}],"wp:attachment":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=31722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}