<?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: comments in the portfolio - part 2</title>
		<link>http://www.kriesi.at/support/topic/comments-in-the-portfolio-part-2</link>
		<description>Support Forum - Topic: comments in the portfolio - part 2</description>
		<language>en-US</language>
		<pubDate>Sat, 18 May 2013 21:46:38 +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/comments-in-the-portfolio-part-2" rel="self" type="application/rss+xml" />

		<item>
			<title>Ismael on "comments in the portfolio - part 2"</title>
			<link>http://www.kriesi.at/support/topic/comments-in-the-portfolio-part-2#post-75950</link>
			<pubDate>Fri, 14 Sep 2012 16:45:23 +0000</pubDate>
			<dc:creator>Ismael</dc:creator>
			<guid isPermaLink="false">75950@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;@SPEAKnSPAN: Thanks for helping out.&#60;/p&#62;
&#60;p&#62;Instead of this code&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//wordpress function that loads the comments template &#38;quot;comments.php&#38;quot;
comments_template( &#38;#39;/includes/comments.php&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;try using the comment_form code&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* Last but not least the comment_form() wordpress function
	 * renders the comment form as defined by wordpress itself
	 * if you want to modify the submission form check the documentation here:
	 * &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/comment_form&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/comment_form&#60;/a&#62;
	 */
	 if(comments_open()){
		 echo &#38;quot;&#38;lt;div class=&#38;#39;comment_meta_container alpha three units&#38;#39;&#38;gt;&#38;quot;;
		 echo &#38;quot;&#38;lt;h3 class=&#38;#39;miniheading&#38;#39;&#38;gt;&#38;quot;.__(&#38;#39;Leave a Reply&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;quot;&#38;lt;/h3&#38;gt;&#38;quot;;
		 echo &#38;quot;&#38;lt;span class=&#38;#39;minitext&#38;#39;&#38;gt;&#38;quot;.__(&#38;#39;Want to join the discussion? &#38;lt;br/&#38;gt;Feel free to contribute!&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;quot;&#38;lt;/span&#38;gt;&#38;quot;;
		 echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
		 echo &#38;quot;&#38;lt;div class=&#38;#39;comment_container six units&#38;#39;&#38;gt;&#38;quot;;
		 comment_form();
		 echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
	 }
	 else if(get_comments_number())
	 {
		 /* If there are no comments and comments are closed,
		 * let&#38;#39;s leave a little note, shall we?
		 */

	 	echo &#38;quot;&#38;lt;h3 class=&#38;#39;offset-by-three&#38;#39;&#38;gt;&#38;quot;.__( &#38;#39;Comments are closed.&#38;#39;, &#38;#39;avia_framework&#38;#39; ).&#38;quot;&#38;lt;/h3&#38;gt;&#38;quot;;
	 }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Ismael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SPEAKnSPAN on "comments in the portfolio - part 2"</title>
			<link>http://www.kriesi.at/support/topic/comments-in-the-portfolio-part-2#post-75899</link>
			<pubDate>Fri, 14 Sep 2012 10:45:30 +0000</pubDate>
			<dc:creator>SPEAKnSPAN</dc:creator>
			<guid isPermaLink="false">75899@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;You are missing perhaps  &#34;?&#38;gt;&#34;&#60;/p&#62;
&#60;p&#62;like :&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
//show related posts based on categories if there are any&#60;br /&#62;
get_template_part( 'includes/related-portfolio-posts');&#60;/p&#62;
&#60;p&#62;//wordpress function that loads the comments template &#34;comments.php&#34;&#60;br /&#62;
comments_template( '/includes/comments.php');?&#38;gt;&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>carriercarrier on "comments in the portfolio - part 2"</title>
			<link>http://www.kriesi.at/support/topic/comments-in-the-portfolio-part-2#post-38199</link>
			<pubDate>Fri, 20 Jan 2012 07:51:40 +0000</pubDate>
			<dc:creator>carriercarrier</dc:creator>
			<guid isPermaLink="false">38199@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I tried adding the code to both includes/loop-portfolio-single.php and includes/loop-index.php:, but nothing happened.&#60;/p&#62;
&#60;p&#62;this is what I have done so far..(http://www.kriesi.at/support/topic/comments-in-the-portfolio)&#60;/p&#62;
&#60;p&#62;1/ in single-portfolio.php replace following code&#60;br /&#62;
:&#60;br /&#62;
//show related posts based on categories if there are any&#60;br /&#62;
				get_template_part( 'includes/related-portfolio-posts');&#60;/p&#62;
&#60;p&#62;with&#60;/p&#62;
&#60;p&#62;//show related posts based on categories if there are any&#60;br /&#62;
				get_template_part( 'includes/related-portfolio-posts');&#60;/p&#62;
&#60;p&#62;					//wordpress function that loads the comments template &#34;comments.php&#34;&#60;br /&#62;
					comments_template( '/includes/comments.php');&#60;/p&#62;
&#60;p&#62;what am I missing?&#60;/p&#62;
&#60;p&#62;/ thanks&#60;br /&#62;
john
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "comments in the portfolio - part 2"</title>
			<link>http://www.kriesi.at/support/topic/comments-in-the-portfolio-part-2#post-37807</link>
			<pubDate>Mon, 16 Jan 2012 13:57:49 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">37807@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I'm not sure which post type: belongs to. Depending on the post type you need to add following code to includes/loop-portfolio-single.php or includes/loop-index.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
						if(comments_open() &#124;&#124; get_comments_number())
						{
							echo &#38;quot;&#38;lt;span class=&#38;#39;comment-container minor-meta&#38;#39;&#38;gt;&#38;quot;;
							comments_popup_link(__(&#38;#39;this entry has&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;quot; &#38;lt;span&#38;gt;0 &#38;quot;.__(&#38;#39;Comments&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;quot;&#38;lt;/span&#38;gt;&#38;quot;,
												__(&#38;#39;this entry has&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;quot; &#38;lt;span&#38;gt;1 &#38;quot;.__(&#38;#39;Comment&#38;#39; ,&#38;#39;avia_framework&#38;#39;).&#38;quot;&#38;lt;/span&#38;gt;&#38;quot;,
												__(&#38;#39;this entry has&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;quot; &#38;lt;span&#38;gt;% &#38;quot;.__(&#38;#39;Comments&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;quot;&#38;lt;/span&#38;gt;&#38;quot;,&#38;#39;comments-link&#38;#39;,
												__(&#38;#39;Comments Off&#38;#39;  ,&#38;#39;avia_framework&#38;#39;));
							echo &#38;quot;&#38;lt;/span&#38;gt;&#38;lt;span class=&#38;#39;text-sep&#38;#39;&#38;gt;/&#38;lt;/span&#38;gt;&#38;quot;;
						}

						?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>carriercarrier on "comments in the portfolio - part 2"</title>
			<link>http://www.kriesi.at/support/topic/comments-in-the-portfolio-part-2#post-37772</link>
			<pubDate>Mon, 16 Jan 2012 06:49:48 +0000</pubDate>
			<dc:creator>carriercarrier</dc:creator>
			<guid isPermaLink="false">37772@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi&#60;br /&#62;
Yes we are missunderstanding each other :)&#60;/p&#62;
&#60;p&#62;On this page&#60;br /&#62;
&#60;a href=&#34;http://www.carriercarrier.se/wordpress/portfolio_entries/kinesiologi&#34; rel=&#34;nofollow&#34;&#62;http://www.carriercarrier.se/wordpress/portfolio_entries/kinesiologi&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;there is a text on the leftside (under the yellow flagg) of the heading telling how many comments and in what category the articel can be found&#60;/p&#62;
&#60;p&#62;(this entry has 0 Kommentarer&#60;br /&#62;
iKinesiologi, Kost och Näring, Kosttillskott&#60;br /&#62;
avadmin )&#60;/p&#62;
&#60;p&#62;So I wonder if its possiable to have the same...&#60;/p&#62;
&#60;p&#62;(this entry has 0 Kommentarer&#60;br /&#62;
iKinesiologi, Kost och Näring, Kosttillskott&#60;br /&#62;
avadmin )&#60;/p&#62;
&#60;p&#62;on this page&#60;br /&#62;
&#60;a href=&#34;http://www.carriercarrier.se/wordpress/bibliotek/detox-for-dig&#34; rel=&#34;nofollow&#34;&#62;http://www.carriercarrier.se/wordpress/bibliotek/detox-for-dig&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;/ John
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Beard on "comments in the portfolio - part 2"</title>
			<link>http://www.kriesi.at/support/topic/comments-in-the-portfolio-part-2#post-37682</link>
			<pubDate>Sun, 15 Jan 2012 03:48:12 +0000</pubDate>
			<dc:creator>Chris Beard</dc:creator>
			<guid isPermaLink="false">37682@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm not sure what you're saying, it's normal that on &#60;a href=&#34;http://www.carriercarrier.se/wordpress/portfolio_entries/kinesiologi&#34;&#62;this&#60;/a&#62; page no comment boxes are shown, as it is a list where you can read a specific article - and then comment. Am I missing something?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>carriercarrier on "comments in the portfolio - part 2"</title>
			<link>http://www.kriesi.at/support/topic/comments-in-the-portfolio-part-2#post-37560</link>
			<pubDate>Fri, 13 Jan 2012 10:26:12 +0000</pubDate>
			<dc:creator>carriercarrier</dc:creator>
			<guid isPermaLink="false">37560@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;Im still missing apart, &#60;/p&#62;
&#60;p&#62;HAVE DONE SO FAR..&#60;/p&#62;
&#60;p&#62;in single-portfolio.php replace following code:&#60;/p&#62;
&#60;p&#62;&#34;//show related posts based on categories if there are any&#60;br /&#62;
				get_template_part( 'includes/related-portfolio-posts');&#34;&#60;/p&#62;
&#60;p&#62;with:&#60;/p&#62;
&#60;p&#62;&#34;//show related posts based on categories if there are any&#60;br /&#62;
				get_template_part( 'includes/related-portfolio-posts');&#60;/p&#62;
&#60;p&#62;					//wordpress function that loads the comments template &#34;comments.php&#34;&#60;br /&#62;
					comments_template( '/includes/comments.php');&#34;&#60;/p&#62;
&#60;p&#62;STILL MISSING:&#60;/p&#62;
&#60;p&#62;The &#34;comment box&#34; at the begining of the blog entry is not shown on the single portfolio entry but it shows up in the cportfolio catigory entry.. how can i get it to show everywere?&#60;/p&#62;
&#60;p&#62;singel entry&#60;br /&#62;
&#60;a href=&#34;http://www.carriercarrier.se/wordpress/bibliotek/nya-inspirerande-klienter&#34; rel=&#34;nofollow&#34;&#62;http://www.carriercarrier.se/wordpress/bibliotek/nya-inspirerande-klienter&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;category&#60;br /&#62;
&#60;a href=&#34;http://www.carriercarrier.se/wordpress/portfolio_entries/kinesiologi&#34; rel=&#34;nofollow&#34;&#62;http://www.carriercarrier.se/wordpress/portfolio_entries/kinesiologi&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;/ john
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
