• 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

David Borrink

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 7 posts - 41 through 47 (of 47 total)
← 1 2 3
  • Author
    Posts
  • July 13, 2016 at 5:53 am in reply to: Setting up a blogroll with custom post types – sort of right, but… #189392
    David Borrink
    Participant

    First, you mention "archive-project.php", is this a new file I create? My template file is "page-project.php". Do I use "archive.php" from the lib/structure folder, copying it into my child theme? Or did you mean the "page-project.php" I have? (My rookie-ness with Genesis is clearly showing here.)

    Or if I'm to put it in my functions file, are you saying I just do this:

    <?php
    if ( is_post_type_archive('project'));
    
    // Do the Custom Loop
    remove_action('genesis_loop', 'genesis_do_loop');
    add_action( 'genesis_loop', 'ds_custom_loop' );
    
    function ds_custom_loop() {
    
    echo '<h1 class="entry-title">' . get_the_title() . '</h1>';
    the_content();
    //WP Query Start
    $per_page = 12;
    $project_args = array(
    'post_type' => 'project',
    'posts_per_page' => $per_page,
    'paged' => get_query_var( 'paged' )
    );
    $projects = genesis_custom_loop( $project_args );
    }
    
    endif;
    
    July 12, 2016 at 8:35 pm in reply to: Setting up a blogroll with custom post types – sort of right, but… #189362
    David Borrink
    Participant

    How would that function be used? Do I put that in my template (see first post for the complete template)? Where and how would I use that? I don't recall having a Genesis Column Classes function in my code.

    July 12, 2016 at 8:17 pm in reply to: Setting up a blogroll with custom post types – sort of right, but… #189359
    David Borrink
    Participant

    I have one CPT. It's called "project". My theme comes with a nice style for the columns in the main blog. The Genesis Grid Loop plug-in does a nice job. I just want the CPT posts to match it. Figuring I had to check "project archives" in the Grid Enabling section of the dashboard would be enough.

    July 12, 2016 at 7:34 pm in reply to: Setting up a blogroll with custom post types – sort of right, but… #189354
    David Borrink
    Participant

    In a word... Yes.

    I'm not understanding if my CPT plug-ins don't talk with the Genesis Grid Loop plug-in, or what.

    June 11, 2016 at 1:26 pm in reply to: Responsive Header image in Media Queries – one size won't show up #187385
    David Borrink
    Participant

    Wow. I can't believe I missed the dot in front of site-header. Thanks, Victor. I guess I was working too late when I did that. And not a rookie mistake, either.

    Problem solved.

    May 25, 2016 at 2:47 pm in reply to: WooCommerce Shop full page template – shop page content has no padding #186276
    David Borrink
    Participant

    After I added some category pages, I discovered that it happens to them, too. Trying a few body class attempts to add padding didn't work, but I did find something that worked.

    I modified Victor's suggestion to just the left and right padding amounts:

    .full-width-content .content {
        width: 100%;
        padding: 40px;
    }
    

    Then I used the .woocommerce body tag to remove the 60 pixels on the left and right of content entries. That balanced out the display on all pages. This would appear to have solved my problem.

    .woocommerce .content .entry {
        padding-left: 0;
        padding-right: 0;
    }
    May 24, 2016 at 7:12 pm in reply to: WooCommerce Shop full page template – shop page content has no padding #186226
    David Borrink
    Participant

    Thanks for the reply, Victor. Your suggestion adds 40px of padding to all sides ... and does it to the product pages as well, which were okay to begin with. So all other pages now have double padding on them.

    My request is to know why this is happening to just the main shop page and not to any other pages.

  • Author
    Posts
Viewing 7 posts - 41 through 47 (of 47 total)
← 1 2 3
« Previous Page

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