• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

next page button does nothing – stuck in loop

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › next page button does nothing – stuck in loop

This topic is: not resolved
  • This topic has 8 replies, 3 voices, and was last updated 12 years, 1 month ago by dmcleod87.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • October 20, 2013 at 8:35 pm #67922
    dmcleod87
    Member

    hi,

    my next page button at the bottom of the posts appears to do nothing when clicked-

    http://influencer.dylanmcleod.net.au/

    in saying that it goes to - http://influencer.dylanmcleod.net.au/page/2/

    however it's still the same posts. click it again and it reloads the page. any ideas on how to fix this? i had some work done on the site via tweaky.com however i didn't notice the issue until after the work was completed so i can no longer contact the developer.

    thanks in advance!

    http://influencer.dylanmcleod.net.au/
    October 20, 2013 at 8:38 pm #67924
    dmcleod87
    Member

    should also mention i've based the site on the genesis sample child theme.

    October 21, 2013 at 8:39 pm #68125
    dmcleod87
    Member

    anyone know how i can fix this?

    October 21, 2013 at 9:37 pm #68128
    Summer
    Member

    Is your front page using a custom template, or widgets?

    Just guessing here, but it sounds like your loop might be missing the paged argument.


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

    October 21, 2013 at 9:39 pm #68129
    dmcleod87
    Member

    hi summer,

    page is a custom template. the 3 featured posts at the top are widgets. here is the code from the page template-

    
    <?php
    /* 
    Template Name: Widget Template
    
    Created for three featured widget section, by Iniyan-tweaky
    */
    //Displaying posts on this page
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'iniyan_loop' );
    /**
     * Remove default loop. Execute Custom Loop Instead.
     *
     * @author Greg Rickaby
     * @since 1.0.0
     */
    function iniyan_loop() {
    global $paged;
    
    	 $args = (array(
    		'order' => 'dsc',
    		'order_by'=> 'title',
    	 	'paged' => $paged,
    		'cat'=>'-14,-15,-16',
    	 	'posts_per_page' => 5
    	));
    
    genesis_custom_loop( $args );
    
    }
    
    //Featured Widgets
    add_action('genesis_before_content', 'iniyan_template');
    function iniyan_template() {
    
    echo'<div id="tweaky-widgets">';
    
    genesis_widget_area( 'featured-one', array(
           'before' => '<div class="featured-one">',
           'after' => '</div>',
       ) );
       
    
    genesis_widget_area( 'featured-two', array(
           'before' => '<div class="featured-two">',
           'after' => '</div>',
       ) );
       
    
    genesis_widget_area( 'featured-three', array(
           'before' => '<div class="featured-three">',
           'after' => '</div>',
       ) );
    
    echo '</div>';
    
    }
    
    genesis(); // <- everything important: make sure to include this. 
    October 22, 2013 at 9:46 am #68204
    eamonmoriarty
    Participant

    Also, what I think is worse is that your 'Home' button throws a 404 error. It seems to point to http://theinfluenceronline.com/

    You would need to check your menu items and perhaps your permalinks.


    Eamon Moriarty
    EM Dzine

    October 22, 2013 at 9:55 am #68209
    Summer
    Member

    I think your "order" parameter is wrong... it should be 'DESC' instead of 'dsc', but everything else in that loop should be fine.

    Is this code in a home.php template, or are you using this in a static front page template?


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

    October 22, 2013 at 3:28 pm #68286
    dmcleod87
    Member

    thanks summer. updated the code but still doesn't work. i'm getting in touch with the developer via tweaky.com so hopefully he can fix it.

    eamonmoriarty - i've got it pointing to http://theinfluenceronline.com/ as that is the live domain the site will eventually end up on.

    November 8, 2013 at 11:33 pm #71827
    dmcleod87
    Member

    anyone have any idea what i'm doing wrong here?

    i tried contacting the developer i hired to implement this but he said because i signed off on the changes it's not his problem anymore. i only noticed the issue after i accepted the changes...

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble