<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Filter to extend Metaboxes doesn&#039;t work ??</title>
		<link>http://www.kriesi.at/support/topic/filter-to-extend-metaboxes-doesnt-work</link>
		<description>Support Forum - Topic: Filter to extend Metaboxes doesn&#039;t work ??</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 21:25:33 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/filter-to-extend-metaboxes-doesnt-work" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Filter to extend Metaboxes doesn&#039;t work ??"</title>
			<link>http://www.kriesi.at/support/topic/filter-to-extend-metaboxes-doesnt-work#post-97878</link>
			<pubDate>Thu, 21 Feb 2013 17:05:27 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">97878@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! &#60;/p&#62;
&#60;p&#62; slackbladder thanks for helping us out :) &#60;/p&#62;
&#60;p&#62; Best regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>naranili on "Filter to extend Metaboxes doesn&#039;t work ??"</title>
			<link>http://www.kriesi.at/support/topic/filter-to-extend-metaboxes-doesnt-work#post-97870</link>
			<pubDate>Thu, 21 Feb 2013 16:38:00 +0000</pubDate>
			<dc:creator>naranili</dc:creator>
			<guid isPermaLink="false">97870@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Many thanks. This works.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>slackbladder on "Filter to extend Metaboxes doesn&#039;t work ??"</title>
			<link>http://www.kriesi.at/support/topic/filter-to-extend-metaboxes-doesnt-work#post-97813</link>
			<pubDate>Thu, 21 Feb 2013 13:17:32 +0000</pubDate>
			<dc:creator>slackbladder</dc:creator>
			<guid isPermaLink="false">97813@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Try removing the class variable?&#60;/p&#62;
&#60;p&#62;'class' =&#38;gt; &#34;av_2columns av_col_2&#34;,&#60;/p&#62;
&#60;p&#62;to&#60;/p&#62;
&#60;p&#62;'class' =&#38;gt; &#34;&#34;,
&#60;/p&#62;</description>
		</item>
		<item>
			<title>naranili on "Filter to extend Metaboxes doesn&#039;t work ??"</title>
			<link>http://www.kriesi.at/support/topic/filter-to-extend-metaboxes-doesnt-work#post-97811</link>
			<pubDate>Thu, 21 Feb 2013 12:58:38 +0000</pubDate>
			<dc:creator>naranili</dc:creator>
			<guid isPermaLink="false">97811@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi !&#60;/p&#62;
&#60;p&#62;I extended the Metabox Section of the Angular Portfolio on using the given filters:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter ( &#38;#39;avia_metabox_filter&#38;#39;, &#38;#39;my_avia_metabox_filter&#38;#39;);
	add_filter ( &#38;#39;avia_metabox_element_filter&#38;#39;, &#38;#39;my_avia_metabox_element_filter&#38;#39;);

	function my_avia_metabox_filter($boxes)
	{

		$boxes[] = array(
				&#38;#39;title&#38;#39; =&#38;gt;  &#38;quot;Buttons&#38;quot;,
				&#38;#39;id&#38;#39; =&#38;gt; &#38;quot;buttons&#38;quot; ,
				&#38;#39;page&#38;#39; =&#38;gt; array(&#38;#39;portfolio&#38;#39;),
				&#38;#39;context&#38;#39; =&#38;gt; &#38;quot;side&#38;quot;,
				&#38;#39;priority&#38;#39; =&#38;gt; &#38;quot;low&#38;quot;
				);

		return ($boxes);

	}

	function my_avia_metabox_element_filter($elements)
	{

		$elements[] = array(
						&#38;#39;slug&#38;#39;	=&#38;gt; &#38;quot;buttons&#38;quot;,
						&#38;#39;name&#38;#39; 	=&#38;gt; &#38;quot;SOLD Button Color&#38;quot;,
						&#38;#39;desc&#38;#39; 	=&#38;gt; &#38;quot;&#38;quot;,
						&#38;#39;id&#38;#39; 	=&#38;gt; &#38;quot;sold_button&#38;quot;,
						&#38;#39;type&#38;#39; 	=&#38;gt; &#38;quot;colorpicker&#38;quot;,
						&#38;#39;class&#38;#39; =&#38;gt; &#38;quot;av_2columns av_col_2&#38;quot;,
						&#38;#39;std&#38;#39; 	=&#38;gt; &#38;quot;#ffffff&#38;quot;,
						);

		$elements[] = array(
						&#38;#39;slug&#38;#39;	=&#38;gt; &#38;quot;buttons&#38;quot;,
						&#38;#39;name&#38;#39; 	=&#38;gt; &#38;quot;UNDER OFFER Button Color&#38;quot;,
						&#38;#39;desc&#38;#39; 	=&#38;gt; &#38;quot;&#38;quot;,
						&#38;#39;id&#38;#39; 	=&#38;gt; &#38;quot;underoffer_button&#38;quot;,
						&#38;#39;type&#38;#39; 	=&#38;gt; &#38;quot;colorpicker&#38;quot;,
						&#38;#39;class&#38;#39; =&#38;gt; &#38;quot;av_2columns av_col_2&#38;quot;,
						&#38;#39;std&#38;#39; 	=&#38;gt; &#38;quot;#ffffff&#38;quot;,
						);

		return ($elements);

	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But at the Backend this doesn't looks nice. Looks like that the Elements are not assigned to the box. I have a screenshot if you neet.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
