<?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: show Title on prettyphoto portfolio</title>
		<link>http://www.themolitor.com/forums/topic/show-title-on-prettyphoto-portfolio</link>
		<description>THE MOLITOR FORUMS &#187; Topic: show Title on prettyphoto portfolio</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 13:07:11 +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/show-title-on-prettyphoto-portfolio" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "show Title on prettyphoto portfolio"</title>
			<link>http://www.themolitor.com/forums/topic/show-title-on-prettyphoto-portfolio#post-27272</link>
			<pubDate>Wed, 19 Feb 2014 11:20:35 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27272@http://www.themolitor.com/forums/</guid>
			<description><p>Thanks for following up and sharing your findings :-)</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>alaink on "show Title on prettyphoto portfolio"</title>
			<link>http://www.themolitor.com/forums/topic/show-title-on-prettyphoto-portfolio#post-27264</link>
			<pubDate>Wed, 19 Feb 2014 09:32:47 +0000</pubDate>
			<dc:creator>alaink</dc:creator>
			<guid isPermaLink="false">27264@http://www.themolitor.com/forums/</guid>
			<description><p>Hi again...</p>
<p>I found how to manage this for other people trying to have image title on the prettyphoto , go on single.php and change this code :</p>
<pre><code>&#60;?php foreach ( $attachments as $attachment ) {
				$image_attributes = wp_get_attachment_image_src($attachment-&#62;ID,&#039;medium&#039;);?&#62; 

      			&#60;a&#62;ID , false ); ?&#62;&#34;&#62;&#60;img width=&#34;&#60;?php echo $image_attributes[1] ?&#62;&#34; height=&#34;&#60;?php echo $image_attributes[2] ?&#62;&#34; src=&#34;&#60;?php echo wp_get_attachment_url( $attachment-&#62;ID , false ); ?&#62;&#34; alt=&#34;&#60;?php the_title(); ?&#62;&#34; width=&#34;280&#34; border=&#34;0&#34; /&#62;&#60;/a&#62;
			&#60;?php } ?&#62;</code></pre>
<p>for this :<br />
<pre><code>&#60;?php foreach ( $attachments as $attachment ) {
				$alt = get_post_meta($attachment-&#62;ID, &#039;_wp_attachment_image_alt&#039;, true);
				$image_attributes = wp_get_attachment_image_src($attachment-&#62;ID,&#039;medium&#039;);?&#62; 

      			&#60;a&#62;ID , false ); ?&#62;&#34;&#62;&#60;img width=&#34;&#60;?php echo $image_attributes[1] ?&#62;&#34; height=&#34;&#60;?php echo $image_attributes[2] ?&#62;&#34; src=&#34;&#60;?php echo wp_get_attachment_url( $attachment-&#62;ID , false ); ?&#62;&#34; alt=&#34;&#60;?php echo $alt; ?&#62;&#34; width=&#34;280&#34; border=&#34;0&#34; /&#62;&#60;/a&#62;
			&#60;?php } ?&#62;</code></pre>
<p>And don't forget to change show_title: false, to show_title: true, in footer.php ;)</p>
<p>Alain
</p></description>
		</item>
		<item>
			<title>alaink on "show Title on prettyphoto portfolio"</title>
			<link>http://www.themolitor.com/forums/topic/show-title-on-prettyphoto-portfolio#post-27263</link>
			<pubDate>Wed, 19 Feb 2014 08:53:30 +0000</pubDate>
			<dc:creator>alaink</dc:creator>
			<guid isPermaLink="false">27263@http://www.themolitor.com/forums/</guid>
			<description><p>Hi Molitor</p>
<p>I 'm trying to show the image title from every image associated to a single post.</p>
<p>In footer.php I change the Prettyphoto code from show_title: false, to show_title: true,</p>
<p>but then all the images from a single post have show the same title and this title is the title post.</p>
<p>I see on interne that prettyphoto take the title from the ALT="TITLE" and I checked the code source of the post and all the images had the same ALT="TITLE POST"</p>
<p>I had previsously given a different ALT to all my images so i don't  understand what happen then...</p>
<p>Is this a problem from the theme?
</p></description>
		</item>

	</channel>
</rss>
