• 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

chrisman

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 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • July 27, 2018 at 7:18 am in reply to: Edit Blog Page Archive #222056
    chrisman
    Member

    Turns out I incorrectly formatted the line with single and double quotes.

    July 26, 2018 at 9:52 am in reply to: Edit Blog Page Archive #222022
    chrisman
    Member

    I've made progress but now I get a function that doesn't return a value. In my functions.php file, I have code that re-creates the wordpress loop for my blog home page with my blog excerpts. I'm able to add my code to have the featured image as a background image. Everything works correctly when I test it, EXCEPT, the genesis_get_image function doesn't return anything. Here is the portion of the code that's just for the loop:

    
    /** Custom  loop **/
    function btm_custom_loop() {
    if ( have_posts() ) :
    		do_action( 'genesis_before_while' );
    		while ( have_posts() ) : the_post();
    			do_action( 'genesis_before_entry' );
    			printf( '<article %s>', genesis_attr( 'entry' ) );
    				printf( '<div %s>', genesis_attr( 'entry-content' ) );
    				$image = genesis_get_image( 'format=url' );
    				echo '<div class="post-hero" style="background-image: url("' . $image . '")>';
    					echo '<div class="wrap">';
    						echo genesis_do_post_title();
    					echo '</div>';
    				echo '</div>';				
    				echo the_excerpt_max_charlength(200); //change amount of characters to display				
    				echo '</div>';
    				do_action( 'genesis_after_entry_content' );
    				do_action( 'genesis_entry_footer' );
    			echo '</article>';
    			do_action( 'genesis_after_entry' );
    		endwhile; //* end of one post
    		do_action( 'genesis_after_endwhile' );
    	else : //* if no posts exist
    		do_action( 'genesis_loop_else' );
    	endif; //* end loop
    }
    	}
    }
    
    July 25, 2018 at 9:06 am in reply to: Edit Blog Page Archive #221985
    chrisman
    Member

    Obviously I'm confused about what to call the blog home page...when it's not really the home page because that's the front page. [driven to madness]

    March 29, 2018 at 2:39 pm in reply to: Improving Site Speed #218438
    chrisman
    Member

    GoDaddy is the last place you want to host a web site. I'd focus on moving it elsewhere and then going from there. WPEngine and StudioPress Sites are two great places. Also avoid BlueHost or any company under the umbrella of Endurance International Group (EIG). I used to use Hostgator as my primary host, a few years ago and as soon as they were bought by EIG, the quality of support and the support times plummeted.

    May 3, 2017 at 12:57 pm in reply to: Digital Pro – Layout of Blog page #205823
    chrisman
    Member

    I figured it out

    How to Change the Image Size in Genesis Blog Archives

    May 18, 2016 at 11:56 am in reply to: Digital Pro – Remove Bottom Border on Linked Images #185856
    chrisman
    Member

    Thanks so much. Never would have guessed that!

    January 29, 2014 at 1:22 pm in reply to: News Theme – Image Alignment #87715
    chrisman
    Member

    ...from the genesis theme's readme file:
    By default WordPress will create a default thumbnail image for each image you upload and the size can be specified in your dashboard under Settings > Media. In addition, the News child theme creates the following thumbnail images you'll see below, which are defined (and can be modified) in the functions.php file. These are the recommended thumbnail sizes that are used on the News child theme demo site.

    November 18, 2013 at 8:09 pm in reply to: Retina display not working #74102
    chrisman
    Member

    Never mind, I'm working on a solution based partially on this:
    http://blackhillswebworks.com/2013/05/10/how-to-replace-the-studiopress-background-header-image-with-a-real-image-logo/

    July 25, 2013 at 11:07 am in reply to: Archive Text Intro issue #52457
    chrisman
    Member

    Great! I'm testing it out and it's really close to what I need. I'm sure i can get it from here. thanks!

    July 24, 2013 at 1:50 pm in reply to: Archive Text Intro issue #52304
    chrisman
    Member

    Brad, I'm trying to use a shortcode in the Archive Intro Text field for a category. In a post I read from you, you mentioned (confirmed) that that particular field doesn't accept shortcodes. I have a wordpress plugin that creates my newsletter forms which I use via shortcode. Therefore, for me to get the newsletter form to appear before only one specific category, I can't use the Archive Intro Text.

    This means I have to create a category template. I want everything to appear like the normal category listing except, for this category, the intro text plus a form should be displayed on the first page of the category.

    As this point, i have created a category-[slug].php file.

    <?php /*
    Template Name: category-church_audio_101
    */ 
    
    add_action('genesis_before_content', 'custom_church_audio_101');
    
    function custom_church_audio_101() {
    	if ($paged < 2 )
    	{
    	echo "[unique category intro text / form here]"
            }
    }
    
    genesis(); 
    
    ?> 

    But don't I need to have all of the loop code in there somewhere?

    July 24, 2013 at 10:55 am in reply to: Equal Column Heights #52255
    chrisman
    Member

    The heights are not static. They are dependent on the contents. DIV's aren't like table columns. Set the image in the left (3/4's) column so anything in the right column will be the same or smaller. You've have to do this by creating the image at the right height.

    July 24, 2013 at 9:53 am in reply to: News Theme Extra Line in Sidebar Widgets #52239
    chrisman
    Member

    You'll find that here:

    #sidebar .widget, #sidebar-alt .widget {
        border-bottom: 1px solid #D5D5D5;
    }

    Learn to use firebug for firefox and css work will be a piece of cake! 🙂

    July 24, 2013 at 8:58 am in reply to: Anyone familiar with WP Super Cache? #52233
    chrisman
    Member

    I use this plugin without any problems. My settings are close to this post as described by my host. It's one of those things I have been able to set and forget.

    June 26, 2013 at 12:05 pm in reply to: News Theme: Non-responsive image if captioned #47817
    chrisman
    Member

    That bit of CSS fixed it!

    June 26, 2013 at 9:11 am in reply to: News Theme: Non-responsive image if captioned #47792
    chrisman
    Member

    I found this, now I'll try implementing it...

    "Not sure if this applies to all themes or not but this is the css I used to get images with captions (and the captions themselves to resize properly..."

    .wp-caption,
    .wp-caption-text {
    max-width: 97.5%;
    height: auto;
    width: auto9; /* ie8 */
    }

    June 26, 2013 at 9:05 am in reply to: News Theme: Non-responsive image if captioned #47788
    chrisman
    Member

    Ok, that works but that's weird as both posts (their images) have height and width defined. Maybe there is a standard size like 300x200 and has special css references. I'll have to look into that but that's for giving me some direction.

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

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