• 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

Excluding a Certain Page from Archives – Minimum Pro

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 › Excluding a Certain Page from Archives – Minimum Pro

This topic is: not resolved

Tagged: archives

  • This topic has 5 replies, 4 voices, and was last updated 11 years, 11 months ago by Ari Herzog.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • September 2, 2013 at 1:15 pm #60283
    computerkitten
    Member

    I want to exclude a Page from being listed on the Archives page and this is with the Minimum Pro theme. Is there a plugin that can accomplish this?

    Thanks!
    CK

    September 2, 2013 at 10:43 pm #60353
    Sridhar Katakam
    Participant

    Here: http://sridharkatakam.com/how-to-exclude-a-page-when-using-genesis-archive-page-template/


    Genesis Tutorials | Follow me on Twitter

    September 3, 2013 at 9:37 pm #60562
    computerkitten
    Member

    Thank you it looks like that Edit will work! I appreciate your time!

    CK

    February 27, 2014 at 10:07 pm #92770
    Ari Herzog
    Member

    Related question: I used to have a custom archive layout using Focus and am now using Minimum Pro, too. But when I copy the file over, and refresh the archive page in the editor, nothing happens? Is there a tweak I need to make from one child to the other? Can you look at the below code? Thanks!

    <?php
    /**
     * Template Name: Archive
     * This file handles archives pages.
     *
     * This file is copied from Genesis and edited for Focus.
     * @license  http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
     * @link     http://www.studiopress.com/themes/genesis
     */
    
    /** Remove standard post content output **/
    remove_action( 'genesis_post_content', 'genesis_do_post_content' );
    
    add_action( 'genesis_post_content', 'genesis_page_archive_content' );
    
    function genesis_page_archive_content() { ?>
    
    	<div class="archive-page">
    
    		<h4><?php _e( 'Categories:', 'genesis' ); ?></h4>
    		<ul>
    			<?php wp_list_categories( 'sort_column=name&title_li=' ); ?>
    		</ul>
    
    		<h4><?php _e( 'Recent Posts:', 'genesis' ); ?></h4>
    		<ul>
    			<?php wp_get_archives( 'type=postbypost&limit=50' ); ?>
    		</ul>
    
    	</div><!-- end .archive-page-->
    
    	<div class="archive-page">
    
    		<h4><?php _e( 'Monthly:', 'genesis' ); ?></h4>
    		<ul>
    			<?php wp_get_archives( 'type=monthly' ); ?>
    		</ul>
    
    	</div><!-- end .archive-page-->
    
    <?php
    }
    
    genesis();

    I am a storyteller. I moved my blog from Thesis to Genesis in April 2013. I’m still learning.

    February 28, 2014 at 3:36 am #92789
    Brad Dalton
    Participant

    No need to copy over parent theme framework files to your child theme to customize the output of any query when you can use pre_get_posts.

    However, if you still want to use the template, try changing the hooks http://my.studiopress.com/docs/genesis-loop-hooks-comparison/

    To limit posts per page, you can simply use a custom function like this: http://wpsites.net/web-design/customize-archive-pages-conditionally-using-pre-get-posts/


    Tutorials for StudioPress Themes.

    February 28, 2014 at 9:29 am #92824
    Ari Herzog
    Member

    This is helpful, Brad. I hadn't realized the coding changed in Genesis 2. Thanks!


    I am a storyteller. I moved my blog from Thesis to Genesis in April 2013. I’m still learning.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

© 2026 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