Doak Heggeness

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 109 total)
  • Author
    Posts
  • in reply to: Replace Header #160370

    Doak Heggeness
    Participant

    Thanks, that makes perfect sense now. I did have a conflict because I had used the ‘remove_action’ to remove the header-sidebar on the Home page. Now I can get rid if the ‘Custom Sidebars’ plugin even though it worked fine.

    I used this instead….Is this the most efficient way?

    add_action( 'genesis_meta', 'dh_remove_home_header_sidebar');
    function dh_remove_home_header_sidebar() {
    if ( is_home() ) {
         unregister_sidebar( 'header-right' );
         }
    }

    Doak Heggeness, WordPress Development | Website

    in reply to: Replace Header #160368

    Doak Heggeness
    Participant

    bump


    Doak Heggeness, WordPress Development | Website

    in reply to: Header Image or Title? #160222

    Doak Heggeness
    Participant

    You could put your logo in the ‘header-right’ sidebar if it is not active. You will have to adjust the dimensions in the stylesheet to accomodate it.


    Doak Heggeness, WordPress Development | Website

    in reply to: Multiple menus on different pages #159890

    Doak Heggeness
    Participant

    To clarify, I would like to replace the header-right sidebar with the header-right-2 sidebar on specific pages. I have different menus for each sidebar..

    ‘header-right” – primary
    ‘header-right-2 – secondary

    I wonder if I need to replace the header?

    I have ‘unregisterd’ the ‘header-right’ sidebar for the page
    http://spectrumlasertraining.com/solo/services/


    Doak Heggeness, WordPress Development | Website

    in reply to: Multiple menus on different pages #159825

    Doak Heggeness
    Participant

    I think you are right. Thanks for the links, they are going in the right direction.

    I was planning on using the ‘secondary’ menu.


    Doak Heggeness, WordPress Development | Website

    in reply to: Put text in border #159824

    Doak Heggeness
    Participant

    No, I was taliking about putting text in a horizontal line, ie…….

    —————————– some text—————————–

    I figured it out using the ::before & ::after selectors.

    http://spectrumlasertraining.com/solo/


    Doak Heggeness, WordPress Development | Website

    in reply to: Sign-up Banner #153276

    Doak Heggeness
    Participant

    Thanks, I think I can use a text widget and the Enews plugin.


    Doak Heggeness, WordPress Development | Website

    in reply to: Widget #152427

    Doak Heggeness
    Participant

    Victor,
    I had it set to “align:center”. You got me thinking to check and they had hardcoded it in the CSS file; I guess since it was in the header. It is working now.

    Thanks


    Doak Heggeness, WordPress Development | Website

    in reply to: Show content in widget #128141

    Doak Heggeness
    Participant

    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

    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
    This reply has been marked as private.
    in reply to: Centering Logo With Navigation On Either Side #51131

    Doak Heggeness
    Participant

    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

    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

    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

    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

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