• 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

RickStewart

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 1, 2019 at 10:32 am in reply to: How to allow client access to theme setup documentation #492052
    RickStewart
    Participant

    No offence taken, lol...

    If that is in fact the case I will be careful to present the facts in a more accurate way to my clients. I've never sold a theme as a line item, only as part of a package price, but I may have inferred the package price included it.

    Thanks for pointing that out. It is still a great "closing the deal" feature that clients see as a nice cost saving, Studiopress support or not.


    Warm regards,

    Rick Stewart
    web: https://windyhilldevelopers.com
    email: [email protected]

    July 1, 2019 at 8:59 am in reply to: How to allow client access to theme setup documentation #492044
    RickStewart
    Participant

    Well I guess we will agree to disagree on this. I do not see theme documentation as a "support" function.


    Warm regards,

    Rick Stewart
    web: https://windyhilldevelopers.com
    email: [email protected]

    July 1, 2019 at 3:43 am in reply to: How to allow client access to theme setup documentation #492027
    RickStewart
    Participant

    Hey Victor,

    That surprises me really. One of the reasons you buy the developer "pro plus" memberships is to resell your clients the themes, but it is difficult to see why Studiopress would hold back the documentation, which in fact the client will have paid for. Well at least that is how I see it. They buy the theme from us, they get the theme and the docs...

    Anyway, I suppose I will end up doing what you suggest, copy every page and make up my own documentation. I guess I will not be making any profit off this sale.

    Thanks for the answer Victor, I really appreciate it.

    I will not be marking it as resolved however.

    Cheers


    Warm regards,

    Rick Stewart
    web: https://windyhilldevelopers.com
    email: [email protected]

    March 11, 2019 at 4:43 pm in reply to: Custom Fields, CPT UI, and a custom page template #489959
    RickStewart
    Participant

    Super! Thanks a lot Brad - that was what I wanted to confirm.

    Now back to trying to solve the pagination problem.

    Rick


    Warm regards,

    Rick Stewart
    web: https://windyhilldevelopers.com
    email: [email protected]

    March 11, 2019 at 4:00 pm in reply to: Custom Fields, CPT UI, and a custom page template #489956
    RickStewart
    Participant

    Hey Brad,

    Well 2 reasons I suppose.

    First this is strictly self training, I want to understand how this is suppose to work.

    And two, if I understand the solution you linked, it only adds the new post type "games" to the current genesis loop, it does not allow you to customize the loop output, is that correct? What I am after is two different layouts, one layout for all the usual blog posts and a totally different layout for the "books" custom posts, and I think that would not be the case with your example, or am I missing something? ( could be! I often do... lol... )

    But really I was just looking for someone here to confirm one way or the other if creating a new archive template page by simply creating a file called archive-books.php and then give it a template name /* Template Name: Archive Book Template */ was all that I needed to do to get my custom post type "book" to display in its own loop on its own page?

    Cheers,

    Rick


    Warm regards,

    Rick Stewart
    web: https://windyhilldevelopers.com
    email: [email protected]

    March 11, 2019 at 2:40 pm in reply to: Custom Fields, CPT UI, and a custom page template #489954
    RickStewart
    Participant

    Hi Brad,

    Its on a local XAMPP instance.

    I'll copy and paste the template page here in hopes that might be of help, but I can push the whole thing out to a DO droplet if necessary.

    Thanks much for taking a look!

    Rick

    
    /* Template Name: Archive Book Template */
    
    //* Remove the breadcrumb navigation
    remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
    
    //* Remove the post info function
    remove_action( 'genesis_entry_header', 'genesis_post_info' );
    
    //* Remove the post content
    remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
    
    //* Remove the post image
    remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
    
    //* Add books-archive-page body class to the head
    add_filter( 'body_class', 'add_books_archive_page' );
    function add_books_archive_page( $classes ) {
    	$classes[] = 'books-archive-page';
    	return $classes;
    }
    
    //* Display Category Description
    add_action( 'genesis_before_loop', 'display_category_archives_description');
    function display_category_archives_description () {
    	echo category_description( '$category_id' );
    }
    
    //* Remove the post meta function
    remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); // remove Leave a Comment
    
    /*************************************************************************************/
    
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    
    /* Custom Loop */
    
    function books_custom_loop() {
    	global $post;
    	global $paged;
        global $wp_query;
    	$custom_query_args = array(
    		'post_type'           => '',
    		'posts_per_page'      => get_option( 'posts_per_page' ),
    		'post_status'         => 'publish',
    		'paged'               => 'paged',
    		'nopaging'            => false,
    		'ignore_sticky_posts' => true,
    		//'category_name' => 'custom-cat',
    		'order'               => 'DESC',
    		// 'ASC'
    		'orderby'             => 'date'
    		// modified | title | name | ID | rand
    	);
    
    // Pagination fix  https://wordpress.stackexchange.com/questions/120407/how-to-fix-pagination-for-custom-loops
    
    	$custom_query_args['paged'] = get_query_var( 'paged' ) ? absint( get_query_var( 'paged' ) ) : 1;
    
    	$custom_loop = new WP_Query( $custom_query_args );
    
    	$temp_query = $wp_query;
    	$wp_query   = NULL;
    	$wp_query   = $custom_loop;
    
    	if ( $custom_loop->have_posts() ):
    		while ( $custom_loop->have_posts() ):
    			$custom_loop->the_post();
    			global $post;
    			$custom_title = get_the_title();
    			$custom_entry = get_the_content();
    
    			echo "<div class='custom_block'>";
    			echo "<div class='custom_title'>$custom_title</div>";
    			echo "<div class='custom_entry'>$custom_entry</div>";
    			echo "</div>";
    
    		endwhile;
    	endif;
    
    	// Reset postdata
    	wp_reset_postdata();
    
    	// Custom query loop pagination
    	previous_posts_link( 'Previous Books' );
    	next_posts_link( 'Next Books', $custom_loop->max_num_pages );
    
    	// Restore original main query object
    	$wp_query = NULL;
    	$wp_query = $temp_query;
    }
    
    add_action( 'genesis_loop', 'books_custom_loop' );
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    
    genesis();
    
    

    Warm regards,

    Rick Stewart
    web: https://windyhilldevelopers.com
    email: [email protected]

    February 15, 2017 at 12:47 pm in reply to: Help choosing a theme #201251
    RickStewart
    Participant

    Hi Victor, thanks for the reply. I had the same thought about the media queries. I am surprised however about the lack of themes with support for a more complex widget structure for inner pages. It seems to me this would be a feature you would use all the time.


    Warm regards,

    Rick Stewart
    web: https://windyhilldevelopers.com
    email: [email protected]

    February 8, 2017 at 1:06 pm in reply to: How-to return to blog posts where reader left off after going single page view? #200792
    RickStewart
    Participant

    Thank you Victor, your code works great! I really appreciate your help.

    I had to play around quite a little bit to get the wp_enqueue_scripts working, but I learned a few new things.
    ( always a bonus )

    Rick


    Warm regards,

    Rick Stewart
    web: https://windyhilldevelopers.com
    email: [email protected]

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)

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