<?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: wordpress default gallery on portfolio item</title>
		<link>http://www.kriesi.at/support/topic/wordpress-default-gallery-on-portfolio-item</link>
		<description>Support Forum - Topic: wordpress default gallery on portfolio item</description>
		<language>en-US</language>
		<pubDate>Sun, 26 May 2013 03:36:55 +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/wordpress-default-gallery-on-portfolio-item" rel="self" type="application/rss+xml" />

		<item>
			<title>Devin on "wordpress default gallery on portfolio item"</title>
			<link>http://www.kriesi.at/support/topic/wordpress-default-gallery-on-portfolio-item#post-85402</link>
			<pubDate>Mon, 26 Nov 2012 17:33:02 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">85402@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi sydneycraig,&#60;/p&#62;
&#60;p&#62;In your theme files open includes&#38;gt;loop-page.php . Look for this line:&#60;br /&#62;
&#60;code&#62;//display the actual post content&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Just above it, paste:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//embeded list gallery
					if(strpos($avia_config[&#38;#39;layout&#38;#39;],&#38;#39;gallery_shortcode&#38;#39;) !== false )
					{
						global $gallery_active;
						if(!$gallery_active) echo do_shortcode(&#38;#39;[gallery force=&#38;quot;avia&#38;quot;]&#38;#39;);
					}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Now go down further on the page until you see the code you just pasted and remove it so that the gallery style isn't included twice on pages.&#60;/p&#62;
&#60;p&#62;Save the file back on your server and that should do it.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sydneycraig on "wordpress default gallery on portfolio item"</title>
			<link>http://www.kriesi.at/support/topic/wordpress-default-gallery-on-portfolio-item#post-85264</link>
			<pubDate>Sun, 25 Nov 2012 03:46:05 +0000</pubDate>
			<dc:creator>sydneycraig</dc:creator>
			<guid isPermaLink="false">85264@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;no, the actual wordpress gallery (the thumbnails....) they get inserted at the bottom of the post content but i would like these thumbs at the top..&#60;/p&#62;
&#60;p&#62;thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ismael on "wordpress default gallery on portfolio item"</title>
			<link>http://www.kriesi.at/support/topic/wordpress-default-gallery-on-portfolio-item#post-75734</link>
			<pubDate>Thu, 13 Sep 2012 13:49:37 +0000</pubDate>
			<dc:creator>Ismael</dc:creator>
			<guid isPermaLink="false">75734@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I believe you are talking about the slider above and the wp defauly gallery below. You might want to open includes &#38;gt; loop-index.php and find this code&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php

				if(!post_password_required())
				{
					//embeded thumb gallery
					if(is_single() &#38;amp;&#38;amp; strpos($avia_config[&#38;#39;layout&#38;#39;],&#38;#39;thumb&#38;#39;) !== false )
					{
							echo &#38;quot;&#38;lt;div class=&#38;#39;hr_invisible &#38;#39;&#38;gt;&#38;lt;/div&#38;gt;&#38;quot;;
							new avia_embed_images();
					}
					else if(! is_single())
					{
						$class = &#38;quot;preview_image &#38;quot;;
						$size  = &#38;quot;portfolio&#38;quot;;
						$layout = avia_get_option(&#38;#39;blog_image_layout&#38;#39;);

						if($layout == &#38;quot;full&#38;quot;)
						{
							$class = &#38;quot;preview_image_full&#38;quot;;
							$size  = &#38;quot;blog&#38;quot;;
						}

						$image = get_the_post_thumbnail( get_the_ID(), $size );
			 	 		if($image)
			 	 		{
			 	 			$image = &#38;quot;&#38;lt;a class=&#38;#39;external-link $class&#38;#39; href=&#38;#39;&#38;quot;.get_permalink().&#38;quot;&#38;#39; rel=&#38;#39;bookmark&#38;#39; title=&#38;#39;&#38;quot;.__(&#38;#39;Permanent Link:&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;quot; &#38;quot;.get_the_title().&#38;quot;&#38;#39;&#38;gt;&#38;quot;.$image.&#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
			 	 			echo $image;
			 	 		}
					}
				}
				?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can place it below &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(has_tag() &#38;amp;&#38;amp; is_single())
					{
						echo &#38;#39;&#38;lt;span class=&#38;quot;blog-tags&#38;quot;&#38;gt;&#38;#39;;
						echo the_tags(&#38;#39;&#38;lt;strong&#38;gt;&#38;#39;.__(&#38;#39;Tags: &#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;#39;&#38;lt;/strong&#38;gt;&#38;lt;span&#38;gt;&#38;#39;);
						echo &#38;#39;&#38;lt;/span&#38;gt;&#38;lt;/span&#38;gt;&#38;#39;;
					}
				?&#38;gt;	

			&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Ismael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sydneycraig on "wordpress default gallery on portfolio item"</title>
			<link>http://www.kriesi.at/support/topic/wordpress-default-gallery-on-portfolio-item#post-75523</link>
			<pubDate>Wed, 12 Sep 2012 06:06:43 +0000</pubDate>
			<dc:creator>sydneycraig</dc:creator>
			<guid isPermaLink="false">75523@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;when i use this it puts the gallery at the bottom of the post - is it possible to insertit at the very top of the post??&#60;/p&#62;
&#60;p&#62;thanks&#60;/p&#62;
&#60;p&#62;craig
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
