<?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: Open in new tab - Alert box and Sponsors</title>
		<link>http://www.themolitor.com/forums/topic/open-in-new-tab-alert-box-and-sponsors</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Open in new tab - Alert box and Sponsors</description>
		<language>en-US</language>
		<pubDate>Mon, 04 May 2026 17:15:47 +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/open-in-new-tab-alert-box-and-sponsors" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Open in new tab - Alert box and Sponsors"</title>
			<link>http://www.themolitor.com/forums/topic/open-in-new-tab-alert-box-and-sponsors#post-28402</link>
			<pubDate>Mon, 07 Apr 2014 09:41:09 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">28402@http://www.themolitor.com/forums/</guid>
			<description><p>You bet! :-)</p>
<p>If you're enjoying the theme, PLEASE don't forget to rate it on your downloads page on ThemeForest. Positive ratings REALLY help me out.</p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>jep17 on "Open in new tab - Alert box and Sponsors"</title>
			<link>http://www.themolitor.com/forums/topic/open-in-new-tab-alert-box-and-sponsors#post-28373</link>
			<pubDate>Sat, 05 Apr 2014 12:39:51 +0000</pubDate>
			<dc:creator>jep17</dc:creator>
			<guid isPermaLink="false">28373@http://www.themolitor.com/forums/</guid>
			<description><p>Thanks Chris, it works.</p>
<p>Once I added the     target="_blank" to the footer file, and added the Custom Link information, everything worked.</p>
<p>Cheers.
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Open in new tab - Alert box and Sponsors"</title>
			<link>http://www.themolitor.com/forums/topic/open-in-new-tab-alert-box-and-sponsors#post-28356</link>
			<pubDate>Fri, 04 Apr 2014 13:13:02 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">28356@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>To open the sponsor links in a new window, you need to follow my instructions from yesterday.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>jep17 on "Open in new tab - Alert box and Sponsors"</title>
			<link>http://www.themolitor.com/forums/topic/open-in-new-tab-alert-box-and-sponsors#post-28347</link>
			<pubDate>Fri, 04 Apr 2014 10:52:03 +0000</pubDate>
			<dc:creator>jep17</dc:creator>
			<guid isPermaLink="false">28347@http://www.themolitor.com/forums/</guid>
			<description><p>I'm getting old and senile.  I thought I tried that.</p>
<p>Yes, I can put a URL in the Custom Link field, and that will take the user to the sponsor's web site.</p>
<p>Now I just want it to open a new tab.  Something like the following in the Custom Link field should work, but it's not there yet.</p>
<p>                <a></a>
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Open in new tab - Alert box and Sponsors"</title>
			<link>http://www.themolitor.com/forums/topic/open-in-new-tab-alert-box-and-sponsors#post-28338</link>
			<pubDate>Fri, 04 Apr 2014 09:58:51 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">28338@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Be sure to use the "Custom Link" field on the post edit screen to customize the link for sponsor posts.</p>
<p>Let me know if that helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>jep17 on "Open in new tab - Alert box and Sponsors"</title>
			<link>http://www.themolitor.com/forums/topic/open-in-new-tab-alert-box-and-sponsors#post-28318</link>
			<pubDate>Thu, 03 Apr 2014 14:27:36 +0000</pubDate>
			<dc:creator>jep17</dc:creator>
			<guid isPermaLink="false">28318@http://www.themolitor.com/forums/</guid>
			<description><p>Chris,</p>
<p>Thanks, we're making progress.  Adding the target="_blank" to the front of the line of code did make it open a new tab, but it's to the Post.<br />
I'm hoping to open a new tab for the sponsor's web site if somebody clicks on the footer image.</p>
<p>When adding a Post, I have selected the Sponsor Category and added a Feature Image so it shows up in the footer.  In addition I have included my sponsor image inside the Post.  Once the image is in the post, I edit it and add a Link URL to the sponsor's web site, and under the Advance Settings, used the Open Link in new window option..  All of that works.</p>
<p>I was looking for a Link URL and Open Link in new window feature for the Featured Image that shows up in the footer,</p>
<p>Does all of this make sense?
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Open in new tab - Alert box and Sponsors"</title>
			<link>http://www.themolitor.com/forums/topic/open-in-new-tab-alert-box-and-sponsors#post-28298</link>
			<pubDate>Thu, 03 Apr 2014 12:02:18 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">28298@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Thanks for your support!</p>
<p>For sponsors, open up footer.php and change the following on line 20 from this...</p>
<pre><code>&#60;a href=&#34;&#60;?php  if ($data[ &#039;custom_link&#039; ]) { echo $data[ &#039;custom_link&#039; ];} else { the_permalink(); } ?&#62;&#34;&#62;</code></pre>
<p>...to this...</p>
<pre><code>&#60;a target=&#34;_blank&#34; href=&#34;&#60;?php  if ($data[ &#039;custom_link&#039; ]) { echo $data[ &#039;custom_link&#039; ];} else { the_permalink(); } ?&#62;&#34;&#62;</code></pre>
<p>For the alert box, just be sure your a tag has <code>target=&#34;_blank&#34;</code> in it like this...</p>
<pre><code>&#60;a target=&#34;_blank&#34; href=&#34;URL-TO-SITE&#34;&#62;Link text here&#60;/a&#62;</code></pre>
<p>Let me know if that helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>jep17 on "Open in new tab - Alert box and Sponsors"</title>
			<link>http://www.themolitor.com/forums/topic/open-in-new-tab-alert-box-and-sponsors#post-28274</link>
			<pubDate>Thu, 03 Apr 2014 07:05:38 +0000</pubDate>
			<dc:creator>jep17</dc:creator>
			<guid isPermaLink="false">28274@http://www.themolitor.com/forums/</guid>
			<description><p>When user click on the Sponsor image on the front page, I would like to open the sponsor's web site in a new tab.  I would also like to open a new tab when people click on the alert box.  How can I do this?</p>
<p>Love your themes.  I'm helping a friend raise donations to rebuild a classic 75 foot wooden catamaran through the aid theme <a href="http://www.ppalu.com" rel="nofollow">http://www.ppalu.com</a></p>
<p>Tracking my own upcoming voyage from Kingston, Ontario to Daytona Beach Florida on <a href="http://www.whalewind.com" rel="nofollow">http://www.whalewind.com</a></p>
<p>Thanks for you work.
</p></description>
		</item>

	</channel>
</rss>
