<?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: External portfolio links</title>
		<link>http://www.kriesi.at/support/topic/external-portfolio-links</link>
		<description>Support Forum - Topic: External portfolio links</description>
		<language>en-US</language>
		<pubDate>Thu, 20 Jun 2013 13:31:58 +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/external-portfolio-links" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "External portfolio links"</title>
			<link>http://www.kriesi.at/support/topic/external-portfolio-links#post-22889</link>
			<pubDate>Sat, 16 Jul 2011 05:22:38 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">22889@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad that I could help you :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MatthiasSK on "External portfolio links"</title>
			<link>http://www.kriesi.at/support/topic/external-portfolio-links#post-22871</link>
			<pubDate>Fri, 15 Jul 2011 17:33:34 +0000</pubDate>
			<dc:creator>MatthiasSK</dc:creator>
			<guid isPermaLink="false">22871@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thank you very much! It works! &#60;/p&#62;
&#60;p&#62;regards&#60;br /&#62;
Matthias
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "External portfolio links"</title>
			<link>http://www.kriesi.at/support/topic/external-portfolio-links#post-22369</link>
			<pubDate>Sat, 09 Jul 2011 11:09:24 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">22369@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
I'd use post meta instead of the external link field because of various reasons (the most imporrtant is that you can't control the link output if you attach more than one image. You'd need to reorder the images when you want to change the link). To use post meta change following code in loop-portfolio.php (and the widget files if you like):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;a class=&#38;quot;more-link&#38;quot; href=&#38;quot;&#38;lt;?php echo get_permalink(); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php _e(&#38;#39;Read more&#38;#39;,&#38;#39;avia_framework&#38;#39;); ?&#38;gt;&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php if ( get_post_meta($post-&#38;gt;ID, &#38;#39;external_url&#38;#39;, true) ) { ?&#38;gt;
          &#38;lt;a class=&#38;quot;more-link&#38;quot; href=&#38;quot;&#38;lt;?php echo get_post_meta($post-&#38;gt;ID, &#38;#39;external_url&#38;#39;, true); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php _e(&#38;#39;Read more&#38;#39;,&#38;#39;avia_framework&#38;#39;); ?&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;?php }else{ ?&#38;gt;
          &#38;lt;a class=&#38;quot;more-link&#38;quot; href=&#38;quot;&#38;lt;?php echo get_permalink(); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php _e(&#38;#39;Read more&#38;#39;,&#38;#39;avia_framework&#38;#39;); ?&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;?php } ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and set a custom field with the name &#34;'external_url&#34; for all items you want to link to a external url. For portfolio items you need to activate custom fields. Open up register-portfolio.php and replace:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;#39;supports&#38;#39; =&#38;gt; array(&#38;#39;title&#38;#39;,&#38;#39;thumbnail&#38;#39;,&#38;#39;excerpt&#38;#39;,&#38;#39;editor&#38;#39;,&#38;#39;comments&#38;#39;)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;#39;supports&#38;#39; =&#38;gt; array(&#38;#39;title&#38;#39;,&#38;#39;thumbnail&#38;#39;,&#38;#39;excerpt&#38;#39;,&#38;#39;editor&#38;#39;,&#38;#39;comments&#38;#39;,&#38;#39;custom-fields&#38;#39;)&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>MatthiasSK on "External portfolio links"</title>
			<link>http://www.kriesi.at/support/topic/external-portfolio-links#post-22366</link>
			<pubDate>Sat, 09 Jul 2011 08:23:00 +0000</pubDate>
			<dc:creator>MatthiasSK</dc:creator>
			<guid isPermaLink="false">22366@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;How can I use external links for portfolio items? I would like to implement a portfolio page and the portfolio widget &#34;Latest Portfolio&#34; in the footer. &#60;/p&#62;
&#60;p&#62;Portfolio page:&#60;br /&#62;
The item image could be linked to external content by using &#34;Link manually&#34; in &#34;Portfolio Entry - Featured Image&#34;, but I don´t get a solution for the title of the item. How can I edit this link or refer to the link of featured image? &#60;/p&#62;
&#60;p&#62;Latest Portfolio widget:&#60;br /&#62;
Out of the box image and text are refered to &#34;...mysite.../portfolio/item&#34;, but I want to refer either to an external content or to the portfolio page. As far as I know the link for the item is set in class-framework-widgets.php:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;echo &#38;quot;&#38;lt;a class=&#38;#39;news-link&#38;#39; title=&#38;#39;&#38;quot;.get_the_title().&#38;quot;&#38;#39; href=&#38;#39;&#38;quot;.get_permalink().&#38;quot;&#38;#39;&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Is it possible to use the &#34;external link of featured image&#34; instead of permalink? &#60;/p&#62;
&#60;p&#62;Matthias
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
