<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<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>Wordpress and Webdesign Forum go41 &#187; Topic: threaded comments in theme arthemia, how to</title>
		<link>http://forum.go41.de/topic/threaded-comments-in-theme-arthemia-how-to</link>
		<description>How To, tips, php and css code for your WordPress site</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 22:28:09 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://forum.go41.de/rss/topic/threaded-comments-in-theme-arthemia-how-to" rel="self" type="application/rss+xml" />

		<item>
			<title>member on "threaded comments in theme arthemia, how to"</title>
			<link>http://forum.go41.de/topic/threaded-comments-in-theme-arthemia-how-to#post-111</link>
			<pubDate>Tue, 29 Dec 2009 21:57:49 +0000</pubDate>
			<dc:creator>member</dc:creator>
			<guid isPermaLink="false">111@http://forum.go41.de/</guid>
			<description><![CDATA[<p>okay it works now when I disabled the plugin.</p>
<p>arabic doesn't work.</p>
<p>do you know how to fix it?
</p>]]></description>
					</item>
		<item>
			<title>Joern on "threaded comments in theme arthemia, how to"</title>
			<link>http://forum.go41.de/topic/threaded-comments-in-theme-arthemia-how-to#post-110</link>
			<pubDate>Tue, 29 Dec 2009 17:20:44 +0000</pubDate>
			<dc:creator>Joern</dc:creator>
			<guid isPermaLink="false">110@http://forum.go41.de/</guid>
			<description><![CDATA[<p>is your site online? for me it works as can be seen here:<br />
<a href="http://www.rcnetz.com/31/t-rex-450-xl-mit-fusuno-retract-kit/" title="T-Rex 450 XL mit Fusuno retract kit">T-Rex 450 XL mit Fusuno retract kit</a>
</p>]]></description>
					</item>
		<item>
			<title>member on "threaded comments in theme arthemia, how to"</title>
			<link>http://forum.go41.de/topic/threaded-comments-in-theme-arthemia-how-to#post-109</link>
			<pubDate>Tue, 29 Dec 2009 16:58:38 +0000</pubDate>
			<dc:creator>member</dc:creator>
			<guid isPermaLink="false">109@http://forum.go41.de/</guid>
			<description><![CDATA[<p>Yes I did. And it doesn't come out 'nested'. If I reply, the reply comes right at the end instead of next to the person's comment.
</p>]]></description>
					</item>
		<item>
			<title>Joern on "threaded comments in theme arthemia, how to"</title>
			<link>http://forum.go41.de/topic/threaded-comments-in-theme-arthemia-how-to#post-108</link>
			<pubDate>Tue, 29 Dec 2009 10:40:31 +0000</pubDate>
			<dc:creator>Joern</dc:creator>
			<guid isPermaLink="false">108@http://forum.go41.de/</guid>
			<description><![CDATA[<p>did you enable threaded (nested) comments under Settings - Discussions?<br />
Set it to minimum 2 levels deep to work
</p>]]></description>
					</item>
		<item>
			<title>member on "threaded comments in theme arthemia, how to"</title>
			<link>http://forum.go41.de/topic/threaded-comments-in-theme-arthemia-how-to#post-107</link>
			<pubDate>Tue, 29 Dec 2009 00:42:16 +0000</pubDate>
			<dc:creator>member</dc:creator>
			<guid isPermaLink="false">107@http://forum.go41.de/</guid>
			<description><![CDATA[<p>Hello,</p>
<p>It doesn't seem to work for me.</p>
<p>I have a plugin installed for threaded comments but this theme breaks it by putting the break in between.</p>
<p>However I ignored the plugin and edited the code and when I replied it didn't become thread, instead it went right to the bottom.</p>
<p>Why is that?
</p>]]></description>
					</item>
		<item>
			<title>Joern on "threaded comments in theme arthemia, how to"</title>
			<link>http://forum.go41.de/topic/threaded-comments-in-theme-arthemia-how-to#post-106</link>
			<pubDate>Mon, 28 Dec 2009 23:45:07 +0000</pubDate>
			<dc:creator>Joern</dc:creator>
			<guid isPermaLink="false">106@http://forum.go41.de/</guid>
			<description><![CDATA[<p>that's right, replace actually the whole file with this new content.</p>
<p>Finally the bigger problem is the style.css, you have to add new code and delete old stuff as it will not display correctly with all left in.
</p>]]></description>
					</item>
		<item>
			<title>member on "threaded comments in theme arthemia, how to"</title>
			<link>http://forum.go41.de/topic/threaded-comments-in-theme-arthemia-how-to#post-105</link>
			<pubDate>Mon, 28 Dec 2009 20:36:42 +0000</pubDate>
			<dc:creator>member</dc:creator>
			<guid isPermaLink="false">105@http://forum.go41.de/</guid>
			<description><![CDATA[<p>Hello,</p>
<p>Thank you for the reply.</p>
<p>So basically I open comments.php, select it all, delete it and out in:</p>
<p><code>&#60;?php<br />
// Do not delete these lines<br />
if (!empty($_SERVER['SCRIPT_FILENAME']) &#38;&#38; 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))<br />
die ('Please do not load this page directly. Thanks!');</p>
<p>if ( post_password_required() ) { ?&#62;<br />
&#60;p class="nocomments"&#62;This post is password protected. Enter the password to view comments.&#60;/p&#62;<br />
&#60;?php<br />
return;<br />
}<br />
?&#62;</p>
<p>&#60;!-- You can start editing here. --&#62;</p>
<p>&#60;?php if ( have_comments() ) : ?&#62;<br />
&#60;h3 id="comments"&#62;&#60;?php comments_number('No Responses', 'One Response', '% Responses' );?&#62; to â€œ&#60;?php the_title(); ?&#62;â€&#60;/h3&#62;</p>
<p>&#60;div class="navigation"&#62;<br />
&#60;div class="alignleft"&#62;&#60;?php previous_comments_link() ?&#62;&#60;/div&#62;<br />
&#60;div class="alignright"&#62;&#60;?php next_comments_link() ?&#62;&#60;/div&#62;<br />
&#60;/div&#62;</p>
<p>&#60;ol class="commentlist"&#62;<br />
&#60;?php wp_list_comments(); ?&#62;</p>
<p>&#60;div class="navigation"&#62;<br />
&#60;div class="alignleft"&#62;&#60;?php previous_comments_link() ?&#62;&#60;/div&#62;<br />
&#60;div class="alignright"&#62;&#60;?php next_comments_link() ?&#62;&#60;/div&#62;<br />
&#60;/div&#62;<br />
&#60;?php else : // this is displayed if there are no comments so far ?&#62;</p>
<p>&#60;?php if ( comments_open() ) : ?&#62;<br />
&#60;!-- If comments are open, but there are no comments. --&#62;</p>
<p>&#60;?php else : // comments are closed ?&#62;<br />
&#60;!-- If comments are closed. --&#62;<br />
&#60;p class="nocomments"&#62;Comments are closed.&#60;/p&#62;</p>
<p>&#60;?php endif; ?&#62;<br />
&#60;?php endif; ?&#62;</p>
<p>&#60;?php if ( comments_open() ) : ?&#62;</p>
<p>&#60;div id="respond"&#62;</p>
<p>&#60;h3&#62;&#60;?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?&#62;&#60;/h3&#62;</p>
<p>&#60;div class="cancel-comment-reply"&#62;<br />
&#60;small&#62;&#60;?php cancel_comment_reply_link(); ?&#62;&#60;/small&#62;<br />
&#60;/div&#62;</p>
<p>&#60;?php if ( get_option('comment_registration') &#38;&#38; !is_user_logged_in() ) : ?&#62;<br />
&#60;p&#62;You must be "&#62;logged in to post a comment.&#60;/p&#62;<br />
&#60;?php else : ?&#62;</p>
<p>&#60;form action="&#60;?php echo get_option('siteurl'); ?&#62;/wp-comments-post.php" method="post" id="commentform"&#62;</p>
<p>&#60;?php if ( is_user_logged_in() ) : ?&#62;</p>
<p>&#60;p&#62;Logged in as /wp-admin/profile.php"&#62;&#60;?php echo $user_identity; ?&#62;. " title="Log out of this account"&#62;Log out Â»&#60;/p&#62;</p>
<p>&#60;?php else : ?&#62;</p>
<p>&#60;p&#62;&#60;input type="text" name="author" id="author" value="&#60;?php echo esc_attr($comment_author); ?&#62;" size="22" tabindex="1" &#60;?php if ($req) echo "aria-required='true'"; ?&#62; /&#62;<br />
&#60;label for="author"&#62;&#60;small&#62;Name &#60;?php if ($req) echo "(required)"; ?&#62;&#60;/small&#62;&#60;/label&#62;&#60;/p&#62;</p>
<p>&#60;p&#62;&#60;input type="text" name="email" id="email" value="&#60;?php echo esc_attr($comment_author_email); ?&#62;" size="22" tabindex="2" &#60;?php if ($req) echo "aria-required='true'"; ?&#62; /&#62;<br />
&#60;label for="email"&#62;&#60;small&#62;Mail (will not be published) &#60;?php if ($req) echo "(required)"; ?&#62;&#60;/small&#62;&#60;/label&#62;&#60;/p&#62;</p>
<p>&#60;p&#62;&#60;input type="text" name="url" id="url" value="&#60;?php echo esc_attr($comment_author_url); ?&#62;" size="22" tabindex="3" /&#62;<br />
&#60;label for="url"&#62;&#60;small&#62;Website&#60;/small&#62;&#60;/label&#62;&#60;/p&#62;</p>
<p>&#60;?php endif; ?&#62;</p>
<p>&#60;!--&#60;p&#62;&#60;small&#62;XHTML: You can use these tags: &#60;?php echo allowed_tags(); ?&#62;&#60;/small&#62;&#60;/p&#62;--&#62;</p>
<p>&#60;p&#62;&#60;textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"&#62;&#60;/textarea&#62;&#60;/p&#62;</p>
<p>&#60;p&#62;&#60;input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /&#62;<br />
&#60;?php comment_id_fields(); ?&#62;<br />
&#60;/p&#62;<br />
&#60;?php do_action('comment_form', $post-&#62;ID); ?&#62;</p>
<p>&#60;/form&#62;</p>
<p>&#60;?php endif; // If registration required and not logged in ?&#62;<br />
&#60;/div&#62;</p>
<p>&#60;?php endif; // if you delete this the sky will fall on your head ?&#62;</code></p>
<p>The above taken from your post at the beginning.</p>
<p>Then follow the rest of the instructions?
</p>]]></description>
					</item>
		<item>
			<title>masteradmin on "threaded comments in theme arthemia, how to"</title>
			<link>http://forum.go41.de/topic/threaded-comments-in-theme-arthemia-how-to#post-37</link>
			<pubDate>Sun, 19 Jul 2009 22:45:27 +0000</pubDate>
			<dc:creator>masteradmin</dc:creator>
			<guid isPermaLink="false">37@http://forum.go41.de/</guid>
			<description><![CDATA[<p>In arthemia you could take the code below as modified comments.php</p>
<pre><code>&#60;?php
// Do not delete these lines
	if (!empty($_SERVER[&#39;SCRIPT_FILENAME&#39;]) &#38;&#38; &#39;comments.php&#39; == basename($_SERVER[&#39;SCRIPT_FILENAME&#39;]))
		die (&#39;Please do not load this page directly. Thanks!&#39;);

	if ( post_password_required() ) { ?&#62;
		&#60;p class=&#34;nocomments&#34;&#62;This post is password protected. Enter the password to view comments.&#60;/p&#62;
	&#60;?php
		return;
	}
?&#62;

&#60;!-- You can start editing here. --&#62;

&#60;?php if ( have_comments() ) : ?&#62;
	&#60;h3 id=&#34;comments&#34;&#62;&#60;?php comments_number(&#39;No Responses&#39;, &#39;One Response&#39;, &#39;% Responses&#39; );?&#62; to &#8220;&#60;?php the_title(); ?&#62;&#8221;&#60;/h3&#62;

	&#60;div class=&#34;navigation&#34;&#62;
		&#60;div class=&#34;alignleft&#34;&#62;&#60;?php previous_comments_link() ?&#62;&#60;/div&#62;
		&#60;div class=&#34;alignright&#34;&#62;&#60;?php next_comments_link() ?&#62;&#60;/div&#62;
	&#60;/div&#62;

	&#60;ol class=&#34;commentlist&#34;&#62;
	&#60;?php wp_list_comments(); ?&#62;
	&#60;/ol&#62;

	&#60;div class=&#34;navigation&#34;&#62;
		&#60;div class=&#34;alignleft&#34;&#62;&#60;?php previous_comments_link() ?&#62;&#60;/div&#62;
		&#60;div class=&#34;alignright&#34;&#62;&#60;?php next_comments_link() ?&#62;&#60;/div&#62;
	&#60;/div&#62;
 &#60;?php else : // this is displayed if there are no comments so far ?&#62;

	&#60;?php if ( comments_open() ) : ?&#62;
		&#60;!-- If comments are open, but there are no comments. --&#62;

	 &#60;?php else : // comments are closed ?&#62;
		&#60;!-- If comments are closed. --&#62;
		&#60;p class=&#34;nocomments&#34;&#62;Comments are closed.&#60;/p&#62;

	&#60;?php endif; ?&#62;
&#60;?php endif; ?&#62;

&#60;?php if ( comments_open() ) : ?&#62;

&#60;div id=&#34;respond&#34;&#62;

&#60;h3&#62;&#60;?php comment_form_title( &#39;Leave a Reply&#39;, &#39;Leave a Reply to %s&#39; ); ?&#62;&#60;/h3&#62;

&#60;div class=&#34;cancel-comment-reply&#34;&#62;
	&#60;small&#62;&#60;?php cancel_comment_reply_link(); ?&#62;&#60;/small&#62;
&#60;/div&#62;

&#60;?php if ( get_option(&#39;comment_registration&#39;) &#38;&#38; !is_user_logged_in() ) : ?&#62;
&#60;p&#62;You must be &#60;a href=&#34;&#60;?php echo wp_login_url( get_permalink() ); ?&#62;&#34;&#62;logged in&#60;/a&#62; to post a comment.&#60;/p&#62;
&#60;?php else : ?&#62;

&#60;form action=&#34;&#60;?php echo get_option(&#39;siteurl&#39;); ?&#62;/wp-comments-post.php&#34; method=&#34;post&#34; id=&#34;commentform&#34;&#62;

&#60;?php if ( is_user_logged_in() ) : ?&#62;

&#60;p&#62;Logged in as &#60;a href=&#34;&#60;?php echo get_option(&#39;siteurl&#39;); ?&#62;/wp-admin/profile.php&#34;&#62;&#60;?php echo $user_identity; ?&#62;&#60;/a&#62;. &#60;a href=&#34;&#60;?php echo wp_logout_url(get_permalink()); ?&#62;&#34; title=&#34;Log out of this account&#34;&#62;Log out &#38;raquo;&#60;/a&#62;&#60;/p&#62;

&#60;?php else : ?&#62;

&#60;p&#62;&#60;input type=&#34;text&#34; name=&#34;author&#34; id=&#34;author&#34; value=&#34;&#60;?php echo esc_attr($comment_author); ?&#62;&#34; size=&#34;22&#34; tabindex=&#34;1&#34; &#60;?php if ($req) echo &#34;aria-required=&#39;true&#39;&#34;; ?&#62; /&#62;
&#60;label for=&#34;author&#34;&#62;&#60;small&#62;Name &#60;?php if ($req) echo &#34;(required)&#34;; ?&#62;&#60;/small&#62;&#60;/label&#62;&#60;/p&#62;

&#60;p&#62;&#60;input type=&#34;text&#34; name=&#34;email&#34; id=&#34;email&#34; value=&#34;&#60;?php echo esc_attr($comment_author_email); ?&#62;&#34; size=&#34;22&#34; tabindex=&#34;2&#34; &#60;?php if ($req) echo &#34;aria-required=&#39;true&#39;&#34;; ?&#62; /&#62;
&#60;label for=&#34;email&#34;&#62;&#60;small&#62;Mail (will not be published) &#60;?php if ($req) echo &#34;(required)&#34;; ?&#62;&#60;/small&#62;&#60;/label&#62;&#60;/p&#62;

&#60;p&#62;&#60;input type=&#34;text&#34; name=&#34;url&#34; id=&#34;url&#34; value=&#34;&#60;?php echo esc_attr($comment_author_url); ?&#62;&#34; size=&#34;22&#34; tabindex=&#34;3&#34; /&#62;
&#60;label for=&#34;url&#34;&#62;&#60;small&#62;Website&#60;/small&#62;&#60;/label&#62;&#60;/p&#62;

&#60;?php endif; ?&#62;

&#60;!--&#60;p&#62;&#60;small&#62;&#60;strong&#62;XHTML:&#60;/strong&#62; You can use these tags: &#60;code&#62;&#60;?php echo allowed_tags(); ?&#62;&#60;/code&#62;&#60;/small&#62;&#60;/p&#62;--&#62;

&#60;p&#62;&#60;textarea name=&#34;comment&#34; id=&#34;comment&#34; cols=&#34;100%&#34; rows=&#34;10&#34; tabindex=&#34;4&#34;&#62;&#60;/textarea&#62;&#60;/p&#62;

&#60;p&#62;&#60;input name=&#34;submit&#34; type=&#34;submit&#34; id=&#34;submit&#34; tabindex=&#34;5&#34; value=&#34;Submit Comment&#34; /&#62;
&#60;?php comment_id_fields(); ?&#62;
&#60;/p&#62;
&#60;?php do_action(&#39;comment_form&#39;, $post-&#62;ID); ?&#62;

&#60;/form&#62;

&#60;?php endif; // If registration required and not logged in ?&#62;
&#60;/div&#62;

&#60;?php endif; // if you delete this the sky will fall on your head ?&#62;</code></pre>
<p>here is the reply loop for threaded comments included, so just replace the content above with the content of your arthemia theme's comments.php</p>
<p>to get the correct styling you have to edit style.css too. Add the following entries:<br />
<pre><code>/* threaded comments style, edited to use default themes comments.php with arthemia */
/* Begin Comments*/
.alt {margin: 0;padding: 10px;}
.even, .alt {border-left:1px solid #DDDDDD;}
.children { padding: 0; }
.commentlist {padding: 0;text-align: justify;}
.commentlist li{background:#F2F2F2 none repeat scroll 0 0; border-bottom:1px solid #DCDBD7; color:#4D4D4D; font-weight:bold; line-height:1.25em; list-style-image:none; list-style-position:outside; list-style-type:none; margin:15px 0 10px; padding:5px 5px 10px 10px;}
.commentlist li ul li { margin-right: -5px;margin-left: 10px;font-size:1em;background: #F8F8F8;}
.commentlist li .avatar { float: right;width:45px;height:45px;border: 1px solid #eee;padding: 2px;background: #fff;}
.commentlist p {margin: 10px 5px 10px 0;font-weight:normal;line-height:1.5em;text-transform:none;}
.commentlist blockquote{background:#ededed}
.commentlist small{background:#e9e9e9}
.commentlist cite, .commentlist cite a {font-weight: bold;font-style: normal;font-size: 1.1em;}
.commentlist li.comment-author-admin {background: #E2E4FF;}
.commentmetadata {margin: 0;display: block;font-weight:normal;}
#commentform {margin: 5px 10px 0 0;}
#commentform p {margin: 5px 0;}
#commentform input {width: 170px;padding: 2px;margin: 5px 5px 1px 0;}
#commentform small{background:#FFF; font-weight:bold; padding:0}
#commentform textarea {width: 100%;padding: 2px;}
#commentform #submit {margin: 0 0 5px auto;float: right;}
#respond:after {content: &#34;.&#34;; display: block; height: 0; clear: both; visibility: hidden;}
.nocomments {text-align: center;margin: 0;padding: 0;}
/* End Comments */</code></pre>
<p>and delete all entries formatting the former comments.php as shown below:</p>
<pre><code>#commentform input {
	width: 140px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 99%;
	margin-top:5px;
	}

/* Comments*/

.commentlist cite {
	font-style:normal;
	margin-bottom:4px;
	display:block;
	}	

.commentlist blockquote {
	background:#ededed;
	}

.commentlist li {
	padding: 10px 0px 10px 0px;
	list-style:none;
	margin-bottom:3px;
	}

.commentlist li li {
	background:none;
	border:none;
	list-style:square;
	margin:3px 0 3px 20px;
	padding:3px 0;
	}

.commenttext {
	padding: 10px 10px 0px 10px;
	background:#f2f2f2;
	border-top:1px solid #ddd;
	border-bottom: 1px solid #ddd;
	width:495px;
	float:right
	}

.commentlist cite strong {
	font-size:1.1em;
	}

li.my_comment {
	background: #FFF;
	border:none;
	}

li.my_comment cite strong {
	font-size: 1.3em;
	color:#313228;
	}

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}

.commentmetadata {
	color:#4d4d4d;
	display: block;
	margin-top:3px;
	text-align:right;
	font-size:0.9em;
	}

.commentmetadata a, .commentmetadata a:visited {
	color:#959382;
	}

.commentlist small {
	background:#e9e9e9;
	}

.avatar {
	border:1px solid #bbb;
	margin:0px 10px 0px 0px;
	float:left;
	padding:2px;
	width:55px;
	height:55px;
	}	

#comment {
	width:590px;
	background:#fff;
	}</code></pre>
<p>now enable threaded comments in your dashboard if not done already and enjoy!</p>
<p>btw: see a demo of threaded comments here:<br />
<a href="http://www.rcnetz.com/31/t-rex-450-xl-mit-fusuno-retract-kit/" title="T-Rex 450 XL mit Fusuno retract kit">T-Rex 450 XL mit Fusuno retract kit</a>
</p>]]></description>
					</item>
		<item>
			<title>ernesto on "threaded comments in theme arthemia, how to"</title>
			<link>http://forum.go41.de/topic/threaded-comments-in-theme-arthemia-how-to#post-36</link>
			<pubDate>Wed, 01 Jul 2009 15:05:18 +0000</pubDate>
			<dc:creator>ernesto</dc:creator>
			<guid isPermaLink="false">36@http://forum.go41.de/</guid>
			<description><![CDATA[<p>Many people love the WordPress feature of threaded comments. As this option is available in wordpress now, I would like to use it.<br />
Many older themes do not support this feature, it's not built in and just doesn't work.</p>
<p>Anyone an idea how to get threaded comments working in older themes? I use arthemia free on <a href="http://gadgets.ezxplain.com/" rel="nofollow">http://gadgets.ezxplain.com/</a> and want to enable users to reply on existing comments, so the discussion will be displayed threaded or nested.
</p>]]></description>
					</item>

	</channel>
</rss>

