<?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>Different second page for blog. Can&#039;t show the next page &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/feed/</link>
		<description></description>
		<lastBuildDate>Sun, 23 Nov 2025 22:29:38 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-201397</guid>
					<title><![CDATA[Different second page for blog. Can&#039;t show the next page]]></title>
					<link>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-201397</link>
					<pubDate>Sun, 08 Feb 2015 04:33:22 +0000</pubDate>
					<dc:creator>TravelingIsAVerb</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks to you all my web site is beginning to look like I want it to.</p>
<p>I created a child Ethos theme and with your help added a button to reorder posts.</p>
<p>My first blog page does show a button and a map. Is it possible for the next page to simply show the posts without the button and map (and without a side bar)</p>
<p>The other problem is that while the button works but I can&#8217;t get to the next page.</p>
<pre><code>&lt;?php
$post_order = &#039;ASC&#039;;
if ( isset($_POST[&#039;last_order&#039;]) &amp;&amp; $_POST[&#039;last_order&#039;] == &#039;ASC&#039; ) {
	$post_order = &#039;DESC&#039;;
} ?&gt;
&lt;?php

echo do_shortcode( &#039;[wpgmza id=&quot;1&quot;]&#039; );
 

// =============================================================================
// VIEWS/GLOBAL/_INDEX.PHP
// -----------------------------------------------------------------------------
// Includes the index output.
// =============================================================================

$stack = x_get_stack();

if ( is_home() ) :
  $style     = x_get_option( &#039;x_blog_style&#039;, &#039;standard&#039; );
  $cols      = x_get_option( &#039;x_blog_masonry_columns&#039;, &#039;2&#039; );
  $condition = is_home() &amp;&amp; $style == &#039;masonry&#039;;
elseif ( is_archive() ) :
  $style     = x_get_option( &#039;x_archive_style&#039;, &#039;standard&#039; );
  $cols      = x_get_option( &#039;x_archive_masonry_columns&#039;, &#039;2&#039; );
  $condition = is_archive() &amp;&amp; $style == &#039;masonry&#039;;
elseif ( is_search() ) :
  $condition = false;
endif;

?&gt;

&lt;form method=&quot;post&quot; action=&quot;&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;last_order&quot; value=&quot;&lt;?php echo $post_order; ?&gt;&quot;&gt;
&lt;input type=&quot;submit&quot; value=&quot;Reverse Post Order&quot;&gt;
&lt;/form&gt;

&lt;?php if ( $condition ) : ?&gt;

  &lt;?php x_get_view( &#039;global&#039;, &#039;_script&#039;, &#039;isotope-index&#039; ); ?&gt;

  &lt;div id=&quot;x-iso-container&quot; class=&quot;x-iso-container x-iso-container-posts cols-&lt;?php echo $cols; ?&gt;&quot;&gt;

 &lt;?php 

query_posts($query_string . &quot;&amp;order={$post_order}&quot;);

 if ( have_posts() ) : ?&gt;
      &lt;?php while ( have_posts() ) : the_post(); ?&gt;
        &lt;?php if ( $stack != &#039;ethos&#039; ) : ?&gt;
          &lt;?php x_get_view( $stack, &#039;content&#039;, get_post_format() ); ?&gt;
        &lt;?php else : ?&gt;
          &lt;?php x_ethos_entry_cover( &#039;main-content&#039; ); ?&gt;
        &lt;?php endif; ?&gt;
      &lt;?php endwhile; ?&gt;
    &lt;?php else : ?&gt;
      &lt;?php x_get_view( &#039;global&#039;, &#039;_content-none&#039; ); ?&gt;
    &lt;?php endif; ?&gt;

  &lt;/div&gt;

&lt;?php else : ?&gt;

  &lt;?php
query_posts($query_string . &quot;&amp;order={$post_order}&quot;);

 if ( have_posts() ) : ?&gt; 
    &lt;?php while ( have_posts() ) : the_post(); ?&gt;
      &lt;?php x_get_view( $stack, &#039;content&#039;, get_post_format() ); ?&gt;
    &lt;?php endwhile; ?&gt;
  &lt;?php else : ?&gt;
    &lt;?php x_get_view( &#039;global&#039;, &#039;_content-none&#039; ); ?&gt;
  &lt;?php endif; ?&gt;

&lt;?php endif; ?&gt;

&lt;?php pagenavi(); ?&gt;</code></pre>
<p>Thanks for all your help</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-201623</guid>
					<title><![CDATA[Reply To: Different second page for blog. Can&#039;t show the next page]]></title>
					<link>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-201623</link>
					<pubDate>Sun, 08 Feb 2015 14:52:24 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for writing in! To assist you with this issue, we&#8217;ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-201662</guid>
					<title><![CDATA[Reply To: Different second page for blog. Can&#039;t show the next page]]></title>
					<link>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-201662</link>
					<pubDate>Sun, 08 Feb 2015 16:11:40 +0000</pubDate>
					<dc:creator>TravelingIsAVerb</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-201911</guid>
					<title><![CDATA[Reply To: Different second page for blog. Can&#039;t show the next page]]></title>
					<link>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-201911</link>
					<pubDate>Mon, 09 Feb 2015 02:58:31 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>You can wrap your button and map within this condition.</p>
<pre><code>&lt;?php if ( is_home() ) : ?&gt;
&lt;!-- your button and map replacing this line --&gt;
&lt;?php endif; ?&gt;</code></pre>
<p>And about the paging, I say it becomes more complicated. And you may need to contact a developer.</p>
<p>Paging is composed from query_var named <strong>page</strong> or <strong>paged</strong> passed by URL. So it&#8217;s basically re-writing the url to $_GET variable internally and get converted to query_vars</p>
<p><a href="http://codex.wordpress.org/WordPress_Query_Vars" rel="nofollow">http://codex.wordpress.org/WordPress_Query_Vars</a></p>
<p>Your $_POST will not work as it only maintained on current page and On-Submit and not to the other page. So it will need reworked to include custom permalinks and custom query_var.</p>
<p>Eg. <a href="http://domain.com/blog/last_order/page/2/" rel="nofollow">http://domain.com/blog/last_order/page/2/</a></p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-203470</guid>
					<title><![CDATA[Reply To: Different second page for blog. Can&#039;t show the next page]]></title>
					<link>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-203470</link>
					<pubDate>Tue, 10 Feb 2015 20:55:54 +0000</pubDate>
					<dc:creator>TravelingIsAVerb</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks, that was what I was afraid of, and is obvious once I thought about it.</p>
<p>I have 20+ years of assembler, C, C++, Objective-C experience but no real PHP, so one question. I assume php is stateless, but is there anyway to create a &#8220;global&#8221; variable accessible from all pages?</p>
<p>Any recommendation on a good way to learn php in the wordpress context?</p>
<p>Thanks for all your help</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-203516</guid>
					<title><![CDATA[Reply To: Different second page for blog. Can&#039;t show the next page]]></title>
					<link>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-203516</link>
					<pubDate>Tue, 10 Feb 2015 21:52:22 +0000</pubDate>
					<dc:creator>TravelingIsAVerb</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-203882</guid>
					<title><![CDATA[Reply To: Different second page for blog. Can&#039;t show the next page]]></title>
					<link>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-203882</link>
					<pubDate>Wed, 11 Feb 2015 10:18:00 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>You need to enclose your code in php tags.</p>
<p>You can try this</p>
<pre><code>
&lt;?php if ( is_home() ) : 
      echo do_shortcode( &#039;[wpgmza id=&quot;1&quot;]&#039; );
endif; ?&gt;
</code></pre>
<p>Hope that helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-212017</guid>
					<title><![CDATA[Reply To: Different second page for blog. Can&#039;t show the next page]]></title>
					<link>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-212017</link>
					<pubDate>Sun, 22 Feb 2015 05:27:31 +0000</pubDate>
					<dc:creator>TravelingIsAVerb</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-212309</guid>
					<title><![CDATA[Reply To: Different second page for blog. Can&#039;t show the next page]]></title>
					<link>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-212309</link>
					<pubDate>Sun, 22 Feb 2015 17:00:27 +0000</pubDate>
					<dc:creator>Nico</dc:creator>

					<description>
						<![CDATA[
						<p>Hi There,</p>
<p>Try adding this in your Customizer&#8217;s Custom CSS:</p>
<pre><code>.blog .x-main .hentry:last-of-type{
border-bottom:none !important;
}</code></pre>
<p>Hope it helps!</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-223677</guid>
					<title><![CDATA[Reply To: Different second page for blog. Can&#039;t show the next page]]></title>
					<link>https://theme.co/archive/forums/topic/different-second-page-for-blog-cant-show-the-next-page/#post-223677</link>
					<pubDate>Mon, 09 Mar 2015 19:50:08 +0000</pubDate>
					<dc:creator>TravelingIsAVerb</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

