<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Linking to tabbed content &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/linking-to-tabbed-content/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/linking-to-tabbed-content/feed/</link>
		<description></description>
		<lastBuildDate>Thu, 25 Dec 2025 02:16:23 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-39769</guid>
					<title><![CDATA[Linking to tabbed content]]></title>
					<link>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-39769</link>
					<pubDate>Fri, 02 May 2014 14:36:27 +0000</pubDate>
					<dc:creator>Mark M</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,<br />
First off, this is a great theme &#8211; nice job!</p>
<p>I&#8217;m using the Integrity stack and I have some pages which use tabs. Is it possible to link to the inactive tabs from other pages? </p>
<p>I&#8217;ve tried <a href="http://myURL/testpage#tab-5" rel="nofollow">http://myURL/testpage#tab-5</a> and <a href="http://myURL/testpage#tabtitle" rel="nofollow">http://myURL/testpage#tabtitle</a> but without success.</p>
<p>Any pointers?</p>
<p>Thanks!<br />
Mark</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-39957</guid>
					<title><![CDATA[Reply To: Linking to tabbed content]]></title>
					<link>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-39957</link>
					<pubDate>Fri, 02 May 2014 23:18:52 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Mark,</p>
<p>Thank you for writing in!</p>
<p>This is not possible on current setup.</p>
<p>But, this is one good feature so I written a code for you.</p>
<p>You could add this at your child theme&#8217;s functions.php</p>
<pre><code>add_action(&#039;wp_footer&#039;, &#039;x_add_tab_scroll&#039;);

function x_add_tab_scroll() {
echo &#039;&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
          jQuery(window).load(function() {
            
            var tab_nav = jQuery(\&#039;.x-nav-tabs .x-nav-tabs-item a[href=&quot;#\&#039; + location.href.split(&quot;#&quot;).slice(-1)[0] + \&#039;&quot;]\&#039;);
            
            jQuery(tab_nav).click();

            jQuery(\&#039;html,body\&#039;).animate({
			      scrollTop: jQuery(tab_nav).offset().top - jQuery(\&#039;header.masthead\&#039;).height()
			    },700 ,\&#039;swing\&#039;);

          });
        &lt;/script&gt;&#039;;
}</code></pre>
<p>Cheers!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-40705</guid>
					<title><![CDATA[Reply To: Linking to tabbed content]]></title>
					<link>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-40705</link>
					<pubDate>Mon, 05 May 2014 13:37:29 +0000</pubDate>
					<dc:creator>Mark M</dc:creator>

					<description>
						<![CDATA[
						<p>That&#8217;s great &#8211; thanks for the fast response!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-40783</guid>
					<title><![CDATA[Reply To: Linking to tabbed content]]></title>
					<link>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-40783</link>
					<pubDate>Mon, 05 May 2014 16:48:35 +0000</pubDate>
					<dc:creator>Alexander</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re most welcome! Take care!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-42621</guid>
					<title><![CDATA[Reply To: Linking to tabbed content]]></title>
					<link>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-42621</link>
					<pubDate>Fri, 09 May 2014 16:17:07 +0000</pubDate>
					<dc:creator>Mark M</dc:creator>

					<description>
						<![CDATA[
						<p>Unfortunately, this code snippet resulted in some odd behaviour on my portfolio pages, so I&#8217;ve removed it for now (see <a href="http://theme.co/x/member/forums/topic/porfolio-display/" title="portfolio loading issue" target="_blank" rel="nofollow">this</a> post).</p>
<p>I&#8217;d really like to add it back in if the issue can be corrected, but i really do need the portfolio pages to work as designed. </p>
<p>Any ideas for a code tweak to resolve the conflict?</p>
<p>Cheers,<br />
Mark</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-43002</guid>
					<title><![CDATA[Reply To: Linking to tabbed content]]></title>
					<link>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-43002</link>
					<pubDate>Sat, 10 May 2014 23:03:31 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Mark,</p>
<p>Could you add again that code and do some screenshot, I would like to see it.</p>
<p>For the mean time, could you try this one?</p>
<pre><code>add_action(&#039;wp_footer&#039;, &#039;x_add_tab_scroll&#039;, 9999999);

function x_add_tab_scroll() {
echo &#039;&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
          jQuery(window).load(function() {
            
            var tab_nav = jQuery(\&#039;.x-nav-tabs .x-nav-tabs-item a[href=&quot;#\&#039; + location.href.split(&quot;#&quot;).slice(-1)[0] + \&#039;&quot;]\&#039;);
            
            jQuery(tab_nav).click();

            jQuery(\&#039;html,body\&#039;).animate({
			      scrollTop: jQuery(tab_nav).offset().top - jQuery(\&#039;header.masthead\&#039;).height()
			    },700 ,\&#039;swing\&#039;);

          });
        &lt;/script&gt;&#039;;
}</code></pre>
<p>It is just the same, But I set the priority to the very end of the page. </p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-43488</guid>
					<title><![CDATA[Reply To: Linking to tabbed content]]></title>
					<link>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-43488</link>
					<pubDate>Mon, 12 May 2014 14:18:19 +0000</pubDate>
					<dc:creator>Mark M</dc:creator>

					<description>
						<![CDATA[
						<p>Hi!</p>
<p>Thanks for the revised code, but unfortunately it produces the same result:</p>
<p>I can&#8217;t link to an image and I don&#8217;t see an upload, but the effect is that the page stops on the portfolio loading screen &#8211; the &#8216;loading dots&#8217; flash, but nothing is added. I can click &#8216;Sort&#8217; to display additional categories, and clicking those buttons twice will make it work as expected. </p>
<p>You can use the login info on the other post if you want to take a look (the code is currently commented out in functions.php)</p>
<p>Thanks again,<br />
Mark</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-43903</guid>
					<title><![CDATA[Reply To: Linking to tabbed content]]></title>
					<link>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-43903</link>
					<pubDate>Tue, 13 May 2014 13:58:39 +0000</pubDate>
					<dc:creator>Alexander</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Mark,</p>
<p>I logged in and added the code under <strong>Customizer &gt; Custom &gt; Javascript</strong>. It&#8217;s working ok right now. However, there are some images that are timing out on your server. I&#8217;m not sure what would cause this, and it&#8217;s probably related to the server configuration.</p>
<p>The script needs to wait until the page fully loads before it can toggle that tab, and scroll there. This is because we need to make sure the accordion scripts are already loaded. Because we&#8217;re waiting for the page to load, there can be a delay in the toggling of the tab. It can be very long because the page isn&#8217;t considered complete until the last of your images arrive, or the request times out altogether.</p>
<p>I&#8217;d advise looking into why your images aren&#8217;t loading correctly. You may need to contact your host about it.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-43913</guid>
					<title><![CDATA[Reply To: Linking to tabbed content]]></title>
					<link>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-43913</link>
					<pubDate>Tue, 13 May 2014 14:30:39 +0000</pubDate>
					<dc:creator>Mark M</dc:creator>

					<description>
						<![CDATA[
						<p>Hi &#8211; thanks for checking it out. I have to disagree though &#8211; the edit you made is causing the problem again to all my portfolio pages. Without the code, the images all load fast, so i don&#8217;t think this is an image loading problem. This is on my own server which is a pretty standard set up, so there&#8217;s should be no image restrictions.</p>
<p>I do appreciate you looking at this &#8211; I know is above and beyond the scope of support!</p>
<p>Thanks again,<br />
Mark </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-44318</guid>
					<title><![CDATA[Reply To: Linking to tabbed content]]></title>
					<link>https://theme.co/archive/forums/topic/linking-to-tabbed-content/#post-44318</link>
					<pubDate>Wed, 14 May 2014 14:46:32 +0000</pubDate>
					<dc:creator>Alexander</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Mark,</p>
<p>As the code is now in (<strong>Customizer &gt; Custom &gt; Javascript</strong>) You may just need to remove the version from functions.php</p>
<p>I&#8217;ve tried out the javascript on a test site, and it doesn&#8217;t affect performance at all. The only thing it does is check if the current URL has a #tab set. If it does, it simulates clicking that tab, and scrolling to that position. Nothing intensive going on here.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

