<?xml version="1.0" encoding="UTF-8"?><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" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: Custom WordPress &#8220;Comment Error&#8221; Page</title> <atom:link href="http://www.velvetblues.com/web-development-blog/custom-wordpress-comment-error-page/feed/" rel="self" type="application/rss+xml" /><link>http://www.velvetblues.com/web-development-blog/custom-wordpress-comment-error-page/</link> <description>Websites are now a must-have for every business. Our web development blog delivers the latest in tips and tricks to help you create a compelling website, generate traffic, and outperform your competitors. Looking for professional help? Velvet Blues offers a wide variety of website-related services such as: complete web development, eCommerce website creation, design, XHTML/CSS slicing, search engine optimization, and content management with custom or open source software such as WordPress, Joomla, and Drupal.</description> <lastBuildDate>Fri, 01 Mar 2013 16:07:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.5.1</generator> <item><title>By: Ben Leeds</title><link>http://www.velvetblues.com/web-development-blog/custom-wordpress-comment-error-page/#comment-17097</link> <dc:creator>Ben Leeds</dc:creator> <pubDate>Wed, 19 Dec 2012 08:25:28 +0000</pubDate> <guid isPermaLink="false">http://www.velvetblues.com/?p=7344#comment-17097</guid> <description><![CDATA[Thanks for this, been trying to replace these standard error pages for a while. Big help.]]></description> <content:encoded><![CDATA[<p>Thanks for this, been trying to replace these standard error pages for a while. Big help.</p> ]]></content:encoded> </item> <item><title>By: igor laszlo</title><link>http://www.velvetblues.com/web-development-blog/custom-wordpress-comment-error-page/#comment-17058</link> <dc:creator>igor laszlo</dc:creator> <pubDate>Fri, 14 Dec 2012 17:45:47 +0000</pubDate> <guid isPermaLink="false">http://www.velvetblues.com/?p=7344#comment-17058</guid> <description><![CDATA[Thanks a lot, it works perfectly ! I will translate it in French and make a backlink to your original post...Just one question, how can we redirect the visitor to the original page where he/she wanted to write the comment ?]]></description> <content:encoded><![CDATA[<p>Thanks a lot, it works perfectly ! I will translate it in French and make a backlink to your original post&#8230;</p><p>Just one question, how can we redirect the visitor to the original page where he/she wanted to write the comment ?</p> ]]></content:encoded> </item> <item><title>By: Home care ny</title><link>http://www.velvetblues.com/web-development-blog/custom-wordpress-comment-error-page/#comment-16901</link> <dc:creator>Home care ny</dc:creator> <pubDate>Tue, 04 Dec 2012 11:22:40 +0000</pubDate> <guid isPermaLink="false">http://www.velvetblues.com/?p=7344#comment-16901</guid> <description><![CDATA[thanks for sharing such information. I have been able to customize the Word Press &#039;Comment Error&#039; Page.]]></description> <content:encoded><![CDATA[<p>thanks for sharing such information. I have been able to customize the Word Press &#8216;Comment Error&#8217; Page.</p> ]]></content:encoded> </item> <item><title>By: Ilina</title><link>http://www.velvetblues.com/web-development-blog/custom-wordpress-comment-error-page/#comment-16160</link> <dc:creator>Ilina</dc:creator> <pubDate>Fri, 24 Aug 2012 08:52:25 +0000</pubDate> <guid isPermaLink="false">http://www.velvetblues.com/?p=7344#comment-16160</guid> <description><![CDATA[Thank you!!!]]></description> <content:encoded><![CDATA[<p>Thank you!!!</p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://www.velvetblues.com/web-development-blog/custom-wordpress-comment-error-page/#comment-15958</link> <dc:creator>Chris</dc:creator> <pubDate>Wed, 25 Apr 2012 10:34:23 +0000</pubDate> <guid isPermaLink="false">http://www.velvetblues.com/?p=7344#comment-15958</guid> <description><![CDATA[I looked everywhere for a solution to this. Thanks for posting it.Just one little thing, I use a child theme and your code kept on defaulting back to the original function. I had to chnage this:$errorTemplate = get_theme_root().&#039;/&#039;.get_template().&#039;to this:$errorTemplate = STYLESHEETPATH.&#039;/error_comments.php&#039;;It now references my child theme path correctly.Just thought I would contribute that.Thanks againChris]]></description> <content:encoded><![CDATA[<p>I looked everywhere for a solution to this. Thanks for posting it.</p><p>Just one little thing, I use a child theme and your code kept on defaulting back to the original function. I had to chnage this:</p><p>$errorTemplate = get_theme_root().&#8217;/&#8217;.get_template().&#8217;</p><p>to this:</p><p>$errorTemplate = STYLESHEETPATH.&#8217;/error_comments.php&#8217;;</p><p>It now references my child theme path correctly.</p><p>Just thought I would contribute that.</p><p>Thanks again</p><p>Chris</p> ]]></content:encoded> </item> <item><title>By: Razz</title><link>http://www.velvetblues.com/web-development-blog/custom-wordpress-comment-error-page/#comment-15802</link> <dc:creator>Razz</dc:creator> <pubDate>Mon, 30 Jan 2012 23:55:30 +0000</pubDate> <guid isPermaLink="false">http://www.velvetblues.com/?p=7344#comment-15802</guid> <description><![CDATA[Thanks for the post, but I am trying this on WP 3.3.1 with a child theme based on Twenty Eleven and it does not work. It simply loads the normal error template, or if I comment out the last line &quot;// _default_wp_die_handler($message, $title, $args);&quot; it redirects back to the page and allows the post. Any idea why?Thanks, Razz]]></description> <content:encoded><![CDATA[<p>Thanks for the post, but I am trying this on <acronym title="WordPress">WP</acronym> 3.3.1 with a child theme based on Twenty Eleven and it does not work. It simply loads the normal error template, or if I comment out the last line &#8220;// _default_wp_die_handler($message, $title, $args);&#8221; it redirects back to the page and allows the post. Any idea why?</p><p>Thanks, Razz</p> ]]></content:encoded> </item> </channel> </rss>