<?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: create custom column sizes</title>
		<link>http://www.kriesi.at/support/topic/create-custom-column-sizes</link>
		<description>Support Forum - Topic: create custom column sizes</description>
		<language>en-US</language>
		<pubDate>Wed, 22 May 2013 16:52:17 +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/create-custom-column-sizes" rel="self" type="application/rss+xml" />

		<item>
			<title>Devin on "create custom column sizes"</title>
			<link>http://www.kriesi.at/support/topic/create-custom-column-sizes#post-92319</link>
			<pubDate>Fri, 18 Jan 2013 19:55:21 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">92319@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad we could help :)&#60;/p&#62;
&#60;p&#62;Let us know if you have any other questions or issues.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>chembro303 on "create custom column sizes"</title>
			<link>http://www.kriesi.at/support/topic/create-custom-column-sizes#post-92192</link>
			<pubDate>Fri, 18 Jan 2013 04:47:06 +0000</pubDate>
			<dc:creator>chembro303</dc:creator>
			<guid isPermaLink="false">92192@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Aha! Thanks! I *almost* had it... my ignorance of how to code that PHP 'switch' was my downfall. I also edited functions.php to add my new image size.&#60;/p&#62;
&#60;p&#62;Thank you so much for the clear instructions! :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "create custom column sizes"</title>
			<link>http://www.kriesi.at/support/topic/create-custom-column-sizes#post-91958</link>
			<pubDate>Thu, 17 Jan 2013 01:06:48 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">91958@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey chembro303,&#60;/p&#62;
&#60;p&#62;The grid is a 12 column grid so six would be possible in this instance.&#60;/p&#62;
&#60;p&#62;Open includes&#38;gt;admin&#38;gt;register-admin-options.php and look for:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;array(
								&#38;quot;slug&#38;quot;	=&#38;gt; &#38;quot;portfolio&#38;quot;,
								&#38;quot;name&#38;quot; 	=&#38;gt; &#38;quot;Portfolio Columns&#38;quot;,
								&#38;quot;desc&#38;quot; 	=&#38;gt; &#38;quot;How many columns should be displayed?&#38;quot;,
								&#38;quot;id&#38;quot; 	=&#38;gt; &#38;quot;portfolio_columns&#38;quot;,
								&#38;quot;type&#38;quot; 	=&#38;gt; &#38;quot;select&#38;quot;,
								&#38;quot;std&#38;quot; 	=&#38;gt; &#38;quot;4&#38;quot;,
								&#38;quot;subtype&#38;quot; =&#38;gt; array(&#38;#39;1&#38;#39;=&#38;gt;&#38;#39;1&#38;#39;,&#38;#39;2&#38;#39;=&#38;gt;&#38;#39;2&#38;#39;,&#38;#39;3&#38;#39;=&#38;gt;&#38;#39;3&#38;#39;,&#38;#39;4&#38;#39;=&#38;gt;&#38;#39;4&#38;#39;)),&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;add a 6 option to that with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;array(
								&#38;quot;slug&#38;quot;	=&#38;gt; &#38;quot;portfolio&#38;quot;,
								&#38;quot;name&#38;quot; 	=&#38;gt; &#38;quot;Portfolio Columns&#38;quot;,
								&#38;quot;desc&#38;quot; 	=&#38;gt; &#38;quot;How many columns should be displayed?&#38;quot;,
								&#38;quot;id&#38;quot; 	=&#38;gt; &#38;quot;portfolio_columns&#38;quot;,
								&#38;quot;type&#38;quot; 	=&#38;gt; &#38;quot;select&#38;quot;,
								&#38;quot;std&#38;quot; 	=&#38;gt; &#38;quot;4&#38;quot;,
								&#38;quot;subtype&#38;quot; =&#38;gt; array(&#38;#39;1&#38;#39;=&#38;gt;&#38;#39;1&#38;#39;,&#38;#39;2&#38;#39;=&#38;gt;&#38;#39;2&#38;#39;,&#38;#39;3&#38;#39;=&#38;gt;&#38;#39;3&#38;#39;,&#38;#39;4&#38;#39;=&#38;gt;&#38;#39;4&#38;#39;,&#38;#39;6&#38;#39;=&#38;gt;&#38;#39;6&#38;#39;)),&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then in includes&#38;gt;loop-portfolio.php look for:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;switch($avia_config[&#38;#39;portfolio_columns&#38;#39;])
	{
		case 1: $grid = &#38;#39;grid12&#38;#39;; $image_size = &#38;#39;featured&#38;#39;; break;
		case 2: $grid = &#38;#39;grid6&#38;#39;;  $image_size = &#38;#39;portfolio2&#38;#39;; break;
		case 3: $grid = &#38;#39;grid4&#38;#39;;  $image_size = &#38;#39;portfolio3&#38;#39;; break;
		case 4: $grid = &#38;#39;grid3&#38;#39;;  $image_size = &#38;#39;portfolio&#38;#39;; $showcaption = false; break;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;add an option for the 6 option:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;switch($avia_config[&#38;#39;portfolio_columns&#38;#39;])
	{
		case 1: $grid = &#38;#39;grid12&#38;#39;; $image_size = &#38;#39;featured&#38;#39;; break;
		case 2: $grid = &#38;#39;grid6&#38;#39;;  $image_size = &#38;#39;portfolio2&#38;#39;; break;
		case 3: $grid = &#38;#39;grid4&#38;#39;;  $image_size = &#38;#39;portfolio3&#38;#39;; break;
		case 4: $grid = &#38;#39;grid3&#38;#39;;  $image_size = &#38;#39;portfolio&#38;#39;; $showcaption = false; break;
		case 6: $grid = &#38;#39;grid2&#38;#39;;  $image_size = &#38;#39;portfolio&#38;#39;; $showcaption = false; break;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>chembro303 on "create custom column sizes"</title>
			<link>http://www.kriesi.at/support/topic/create-custom-column-sizes#post-91837</link>
			<pubDate>Wed, 16 Jan 2013 11:02:58 +0000</pubDate>
			<dc:creator>chembro303</dc:creator>
			<guid isPermaLink="false">91837@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I love this theme (Velvet) - thanks. One thing I want to do is have a portfolio page with rows of 6 columns (head shots of people) in addition to the normal options (1,2,3,4). I tried to modify a few of the underpinnings of the theme but I just couldn't get it to work.&#60;/p&#62;
&#60;p&#62;While full instructions would be much appreciated :) at a minimum can you point me to the files I would need to modify and the basic gist of what I need to do in order to add a &#34;6&#34; option in the portfolio columns configuration selector that will display 6 portfolio items across using a new custom image size (approx. 130x170 in this case...)? I was able to add the &#34;6&#34; item as a new option in the select box but it didn't seem to 'do' anything when I select it. I must be missing something.&#60;/p&#62;
&#60;p&#62;Thank you!!!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
