Doak Heggeness

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 101 total)
  • Author
    Posts
  • in reply to: Show content in widget #128141

    Doak Heggeness
    Participant
    Post count: 145

    Thanks, I must not have had the right search parameters.


    Doak Heggeness, WordPress Development | Website

    in reply to: Metro Pro vs. Metro #60720

    Doak Heggeness
    Participant
    Post count: 145

    They appear to be calling themes that are HTML5 compliant ‘Pro’. That avoids any confusion down the road.


    Doak Heggeness, WordPress Development | Website

    in reply to: Build a site before I launch it #54226

    Doak Heggeness
    Participant
    Post count: 145
    This reply has been marked as private.
    in reply to: Centering Logo With Navigation On Either Side #51131

    Doak Heggeness
    Participant
    Post count: 145

    You should be able to use the ‘Links’ metabox under the ‘Menu’ tab. Add a ‘CSS class’ and add a background: url(...);


    Doak Heggeness, WordPress Development | Website

    in reply to: Modern Portfolio ?s #51130

    Doak Heggeness
    Participant
    Post count: 145

    Mary,

    That is why you hire a developer,,,ie as a architect does not build


    Doak Heggeness, WordPress Development | Website

    in reply to: Balance Theme – change post format on home page #51078

    Doak Heggeness
    Participant
    Post count: 145

    Yes, probably, it is easy to create a syntax error ( a semicolon out of place will create one ). Here is the home.php without the grid loop. Copy & paste it or check it against yours.

    <?php
    
    add_action( 'genesis_meta', 'balance_home_genesis_meta' );
    /**
     * Add widget support for homepage.
     *
     */
    function balance_home_genesis_meta() {
    
    	if ( is_active_sidebar( 'home-featured-left' ) || is_active_sidebar( 'home-featured-right' ) ) {
    	
    		add_action( 'genesis_after_header', 'balance_home_loop_helper' );
    
    	}
    }
    
    /**
     * Display widget content for home featured sections.
     *
     */
    function balance_home_loop_helper() {
    
    	if ( is_active_sidebar( 'home-featured-left' ) || is_active_sidebar( 'home-featured-right' ) ) {
    
    			echo '<div id="home-featured"><div class="wrap clearfix">';
    
    			echo '<div class="home-featured-left">';
    			dynamic_sidebar( 'home-featured-left' );
    			echo '</div><!-- end .home-featured-left -->';	
    
    			echo '<div class="home-featured-right">';
    			dynamic_sidebar( 'home-featured-right' );
    			echo '</div><!-- end .home-featured-right -->';
    
    			echo '</div><!-- end .wrap --></div><!-- end #home-featured -->';	
    
    		}
    
    }
    
    genesis();

    Doak Heggeness, WordPress Development | Website

    in reply to: Balance Theme – change post format on home page #51053

    Doak Heggeness
    Participant
    Post count: 145

    You need to uncomment-out ( /*…*/ ) or delete the ‘grid loop’ in the home.php ( lines 41 – 66 ). Please use a third party app ( cPanel or SFTP ) so you can ‘undo’ any errors. DO NOT delete genesis (); at the bottom of the page.

    /*
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'child_grid_loop_helper' );
    /** Add support for Genesis Grid Loop **/
    function child_grid_loop_helper() {
    
    	if ( function_exists( 'genesis_grid_loop' ) ) {
    	
    		genesis_grid_loop( array(
    			'features' => 1,
    			'feature_image_size' => 0,
    			'feature_image_class' => 'align none post-image',
    			'feature_content_limit' => 0,
    			'grid_image_size' => 'grid',
    			'grid_image_class' => 'align none post-image',
    			'grid_content_limit' => 0,
    			'more' => __( 'Continue reading...', 'genesis' ),
    			'posts_per_page' => 5,
    		) );
    
    	}
    
    	else {
    		genesis_standard_loop();
    	}
    
    }
    */

    Doak Heggeness, WordPress Development | Website

    in reply to: Custom logo on Minimum #51040

    Doak Heggeness
    Participant
    Post count: 145

    Minimum Logo


    Doak Heggeness, WordPress Development | Website

    in reply to: Custom logo on Minimum #51029

    Doak Heggeness
    Participant
    Post count: 145

    kduffey,

    I just inserted a logo in five minutes. Of course, I had dMinimum Logoone it before


    Doak Heggeness, WordPress Development | Website

    in reply to: Custom logo on Minimum #51025

    Doak Heggeness
    Participant
    Post count: 145

    I have not done this with the Minimum theme. I have on several other StudioPress themes and see no reason why it should not work here. When I get a minute I am going to add an image logo to this theme and see what happens.


    Doak Heggeness, WordPress Development | Website

    in reply to: Modern Portfolio ?s #50940

    Doak Heggeness
    Participant
    Post count: 145

    If you want a background color full screen in your header, you cannot upload your header image via the Daahboard as you described. You have to do the following

    1) Uncomment-out or delete theme support for the custom header in the functions.php file by using /*…*/ see below`/*
    // Add support for custom header
    add_theme_support( 'genesis-custom-header', array(
    'width' => 1152,
    'height' => 120
    ) );*/`

    2) Modify the style,css to give a background color to your header

    /* 04a - Structure ----------- */
    
    .wrap,
    #header,
    #inner {
    	margin: 0 auto;
    	max-width: 1080px;
    }

    Change the above to:

    /* 04a - Structure ----------- */
    
    .wrap,
    #inner {
    	margin: 0 auto;
    	max-width: 1040px;
    }
    
    #header {
    	background-color:#your-color;
    }

    3) I have done this on this theme. It has some perculiarities. Upload you image header to the ‘images’ folder of your theme. Then you need to add your image to the stylesheet similar to adding a logo in this section`
    /* 04c – Header ———– */
    .header-image #title,
    .header-image #title a {
    background: url( 'images/your-logo-filename.png' ) no-repeat;
    }`
    You man have to make some other modifications to this section as they have added some content under #title

    This may not be worth the hassle for the outcome.


    Doak Heggeness, WordPress Development | Website

    in reply to: Custom logo on Minimum #50781

    Doak Heggeness
    Participant
    Post count: 145

    I have no idea, but all themes are slightly different. The method I gave you should work on all genesis themes. This is the beauty of Genesis, learn the proper way and you can reuse code.


    Doak Heggeness, WordPress Development | Website

    in reply to: Modern Portfolio ?s #50780

    Doak Heggeness
    Participant
    Post count: 145

    This is getting beyond the scope of this forum, but we are going to start from square on.
    1) How did you exactly input he header?


    Doak Heggeness, WordPress Development | Website

    in reply to: Custom logo on Minimum #50773

    Doak Heggeness
    Participant
    Post count: 145

    You have full width header image, so it is pushing the header widget down. You could try and us z-indexor the positioning css selectors. The proper way to use a logo in lieu of the Site Title & Description is here

    You also have first uncomment-out or delete the the following in your functions.php file if it exists.

    /** Add support for custom header */
    add_theme_support( 'genesis-custom-header', array(
    	'width' => 1140,
    	'height' => 100
    ) );

    Please us a third party app so you can ‘undo’ if there are errors.


    Doak Heggeness, WordPress Development | Website

    in reply to: Sidebar on Home Page #50623

    Doak Heggeness
    Participant
    Post count: 145

    If you are not using the four widgets on the home.php, it reverts back to the ‘default loop.’ You can do what anitac suggests or delete the following from home.php. You are deleting the four widgets from the home.php`add_action( 'genesis_meta', 'minimum_home_genesis_meta' );
    /**
    * Add widget support for homepage. If no widgets active, display the default loop.
    *
    */
    function minimum_home_genesis_meta() {

    if ( is_active_sidebar( 'home-featured-1' ) || is_active_sidebar( 'home-featured-2' ) || is_active_sidebar( 'home-featured-3' ) || is_active_sidebar( 'home-featured-4' ) ) {

    add_action( 'genesis_after_header', 'minimum_home_featured', 15 );
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    add_filter( 'body_class', 'minimum_add_body_class' );

    function minimum_add_body_class( $classes ) {
    $classes[] = 'minimum';
    return $classes;
    }

    }
    }

    function minimum_home_featured() {

    echo '<div id=”home-featured”><div class=”wrap”>';

    genesis_widget_area( 'home-featured-1', array(
    'before' => '<div class=”home-featured-1 widget-area”>',
    ) );

    genesis_widget_area( 'home-featured-2', array(
    'before' => '<div class=”home-featured-2 widget-area”>',
    ) );

    genesis_widget_area( 'home-featured-3', array(
    'before' => '<div class=”home-featured-3 widget-area”>',
    ) );

    genesis_widget_area( 'home-featured-4', array(
    'before' => '<div class=”home-featured-4 widget-area”>',
    ) );

    echo '</div><!– end .wrap –></div><!– end #home-featured –>';

    }

    
    
    You will need to add back in the following to keep the full width content:
    'add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );'
    
    So your home.php will now look like:

    <?php

    remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );

    add_action( 'genesis_loop', 'minimum_grid_loop_helper' );
    function minimum_grid_loop_helper() {

    if ( function_exists( 'genesis_grid_loop' ) ) {
    genesis_grid_loop( array(
    'features' => 0,
    'feature_image_size' => 'featured',
    'feature_image_class' => 'post-image',
    'feature_content_limit' => 0,
    'grid_image_size' => 0,
    'grid_image_class' => 'alignnone',
    'grid_content_limit' => 250,
    'more' => __( '[Read more]', 'minimum' ),
    ) );
    } else {
    genesis_standard_loop();
    }

    }

    genesis();`


    Doak Heggeness, WordPress Development | Website

Viewing 15 posts - 1 through 15 (of 101 total)