<?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>THE MOLITOR FORUMS &#187; Topic: Disable PrettyPhoto and Link to ?attachment_id=xx?</title>
		<link>http://www.themolitor.com/forums/topic/disable-prettyphoto-and-link-to-attachment_idxx</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Disable PrettyPhoto and Link to ?attachment_id=xx?</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 21:02:28 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/disable-prettyphoto-and-link-to-attachment_idxx" rel="self" type="application/rss+xml" />

		<item>
			<title>ckelley on "Disable PrettyPhoto and Link to ?attachment_id=xx?"</title>
			<link>http://www.themolitor.com/forums/topic/disable-prettyphoto-and-link-to-attachment_idxx#post-13708</link>
			<pubDate>Thu, 09 Aug 2012 05:43:40 +0000</pubDate>
			<dc:creator>ckelley</dc:creator>
			<guid isPermaLink="false">13708@http://www.themolitor.com/forums/</guid>
			<description><p>@Gromi </p>
<p>thanks for posting the rest, sorry the forum strips some code</p>
<p>let us know if you have any other issues</p>
<p>-Chris K
</p></description>
		</item>
		<item>
			<title>Gromi on "Disable PrettyPhoto and Link to ?attachment_id=xx?"</title>
			<link>http://www.themolitor.com/forums/topic/disable-prettyphoto-and-link-to-attachment_idxx#post-13678</link>
			<pubDate>Wed, 08 Aug 2012 10:34:11 +0000</pubDate>
			<dc:creator>Gromi</dc:creator>
			<guid isPermaLink="false">13678@http://www.themolitor.com/forums/</guid>
			<description><p>Sorry, code didn't work. Here's an image:<br />
<a href="http://de.ushareimg.com/view.php?filename=484code.jpg" rel="nofollow">http://de.ushareimg.com/view.php?filename=484code.jpg</a>
</p></description>
		</item>
		<item>
			<title>Gromi on "Disable PrettyPhoto and Link to ?attachment_id=xx?"</title>
			<link>http://www.themolitor.com/forums/topic/disable-prettyphoto-and-link-to-attachment_idxx#post-13677</link>
			<pubDate>Wed, 08 Aug 2012 10:28:41 +0000</pubDate>
			<dc:creator>Gromi</dc:creator>
			<guid isPermaLink="false">13677@http://www.themolitor.com/forums/</guid>
			<description><p>Thanks Chris! I found it minutes after you pointed me again to single.php.<br />
For anyone who wants to disable PrettyPhotos and Link to the singleimagepage of WP:</p>
<p>open footer.php and comment lines 72-87 as Chris pointed out.<br />
open single.php and replace lines 52-53 with this code:</p>
<p>                   &#60;?php echo '<a>ID ) . '" title="' . esc_attr( sprintf( __( 'View' ), $att_title ) ) . '" rel="permalink"&#62;'; ?&#62; &#60;img width="&#60;?php echo $image_attributes[1] ?&#62;" height="&#60;?php echo $image_attributes[2] ?&#62;" src="&#60;?php echo wp_get_attachment_url( $attachment-&#62;ID , false ); ?&#62;" alt="&#60;?php the_title(); ?&#62;" width="280" border="0" /&#62;</a>
</p></description>
		</item>
		<item>
			<title>ckelley on "Disable PrettyPhoto and Link to ?attachment_id=xx?"</title>
			<link>http://www.themolitor.com/forums/topic/disable-prettyphoto-and-link-to-attachment_idxx#post-13676</link>
			<pubDate>Wed, 08 Aug 2012 09:25:47 +0000</pubDate>
			<dc:creator>ckelley</dc:creator>
			<guid isPermaLink="false">13676@http://www.themolitor.com/forums/</guid>
			<description><p>Sorry I had this thread open yesterday I though I replied, apologizes </p>
<p>you'll want to open up the footer.php and remove or comment out lines 72-87 (make a backup first)</p>
<p>then modify the links you'll want to edit all the templates you want to have a link to the attachment(single, page) or even the index/archive </p>
<p>-Chris K
</p></description>
		</item>
		<item>
			<title>Gromi on "Disable PrettyPhoto and Link to ?attachment_id=xx?"</title>
			<link>http://www.themolitor.com/forums/topic/disable-prettyphoto-and-link-to-attachment_idxx#post-13673</link>
			<pubDate>Wed, 08 Aug 2012 08:53:16 +0000</pubDate>
			<dc:creator>Gromi</dc:creator>
			<guid isPermaLink="false">13673@http://www.themolitor.com/forums/</guid>
			<description><p>Could you provide a file name I should start with for this modification? Is it all in single.php or should I also look somewhere else?</p>
<p>Thanks! Best,<br />
Gromi
</p></description>
		</item>
		<item>
			<title>Gromi on "Disable PrettyPhoto and Link to ?attachment_id=xx?"</title>
			<link>http://www.themolitor.com/forums/topic/disable-prettyphoto-and-link-to-attachment_idxx#post-13535</link>
			<pubDate>Sun, 05 Aug 2012 11:12:24 +0000</pubDate>
			<dc:creator>Gromi</dc:creator>
			<guid isPermaLink="false">13535@http://www.themolitor.com/forums/</guid>
			<description><p>I would like to disable PrettyPhoto in general and link to the Media-Display-Page which opens when I view photos from the Media Library (links to ?attachment_id=xx with a page with comments for each image, title andf description). I tried to edit single.php lines 50/51 but didn't get far - is there an easy fix for this?</p>
<p>Thank you!
</p></description>
		</item>

	</channel>
</rss>
