Zach Russell

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 33 total)
  • Author
    Posts
  • in reply to: Can't customize breadcrumbs separator #132796

    Zach Russell
    Participant
    Post count: 48

    Oh wow, figures it was that easy – thanks for the tip!


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Can't customize breadcrumbs separator #132713

    Zach Russell
    Participant
    Post count: 48

    I was able to get it working, but it feels sloppy. Is this the best way to do it?

    //* Add Yoast Breadcrumbs
    add_action( 'genesis_before_entry', 'sbf_do_breadcrumbs' );
    
    function sbf_do_breadcrumbs() {
        if( ! is_front_page() and is_page() ) {
            if( function_exists( 'yoast_breadcrumb') ) {
                yoast_breadcrumb( '<p id="breadcrumbs">', '</p>');
            }
        }
    }

    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Can't customize breadcrumbs separator #132711

    Zach Russell
    Participant
    Post count: 48

    So if I hook the yoast function into genesis_before_entry it works – except it shows on all posts and pages. I don’t want that, If I try to wrap the hook into a !is_post() or is_page() it doesn’t work. For example:

    <?php
    //* Add Yoast Breadcrumbs
    if( is_page() ) {
       add_action( 'genesis_before_entry', 'sbf_do_breadcrumbs' );
    }
    
    function sbf_do_breadcrumbs() {
        if( function_exists( 'yoast_breadcrumb') ) {
            yoast_breadcrumb( '<p id="breadcrumbs">', '</p>');
        }
    }

    ———-
    Zach Russell
    President, ProTech Internet Group

    • This reply was modified 3 weeks, 3 days ago by  Zach Russell.
    • This reply was modified 3 weeks, 3 days ago by  Zach Russell.
    in reply to: Host says Javascripts files are in wrong place #132708

    Zach Russell
    Participant
    Post count: 48

    Moving all JavaScript to the footer isn’t necessarily the solution to problem you’re having. I just rank a Pingdon Test and I would assume that the high CPU load is related to the 289 requests that need to be made in order for your site to load completely. The first thing I would do is try to remove any unnecessary plugins and scripts. Second I would look into is implementing a caching plugin, like W3 Total Cache – this will significantly reduce server load. Lastly, I would consider using a plugin like autoptimize, which will combine CSS and JavaScript into a single file (instead of many, many separate files) and you have the option of moving the JavaScript to the footer. In my experience, your site will likely break if you move it to the footer, so you will need to go into autoptimize’s advanced settings and select Force JavaScript in <head>.

    If you need any help setting anything up, please follow up and i’ll do what I can to help speed up your site and reduce server load.


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Centric pro image logo not working on mobile? #106056

    Zach Russell
    Participant
    Post count: 48

    Yea, I have no idea what was happening, but it wasn’t serving the correct logo to mobile user-agents. It’s resolved now.


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Smooth Scrolling To Widget Section In Centric Pro #105992

    Zach Russell
    Participant
    Post count: 48

    Worked,

    Thank you very much, Tom!


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Move Genesis Nav to above the header in sample theme #105303

    Zach Russell
    Participant
    Post count: 48

    Thanks David,

    Looks like a priority of 5 did the trick!

    Cheers!


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Move Genesis Nav to above the header in sample theme #105286

    Zach Russell
    Participant
    Post count: 48

    Hello David,

    Thank you for the quick response! That executes genesis_do_nav() in the <header> element, but does it at the bottom. I need this to execute before anything else in the header. Meaning before the site title/header image and header right, but still within the n<head> element.

    Does that make sense?

    Thanks


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Add & Style Genericons in Nav #104940

    Zach Russell
    Participant
    Post count: 48

    Andrea, that worked! Wow that’s hackey though :)

    Thanks a ton for your help!


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Add & Style Genericons in Nav #104933

    Zach Russell
    Participant
    Post count: 48

    Thanks for your swift response. I added the home text and text-indent and the result wasn’t what you predicted :)

    Check out the site and see for yourself, please.


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Add & Style Genericons in Nav #104930

    Zach Russell
    Participant
    Post count: 48

    Thank you Andrea, that fixed part of it, but, there is still an issue with it not being clickable. Somehow the clickable space of the link is being pushed down to below the button. Try to click the home button on my site and you’ll see what I mean.

    Thanks again for your help!


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: New Pro theme font rendering problems in Chrome #104921

    Zach Russell
    Participant
    Post count: 48

    Can you give use a little more background information? What Operating System are you using? What version of Chrome (click the gear > “About Google Chrome” item) are you using? Can you send a screenshot? Can you try it in another “Webkit” browser (Safari)?

    Thanks
    Zach


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Move Post Title on pages: Genesis Sandbox (HTML5 Markup) #86093

    Zach Russell
    Participant
    Post count: 48

    Someone private replied to me and linked to a post that showed me exactly what needed to be done. I’m pulling what I need to from the theme’s functions.php file:

    remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
    remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
    remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );

    Add this to genesis_before_content_sidebar_wrap in the Genesis Simple Hooks Plugin:

    <?php
    if( is_singular() ) {
    genesis_entry_header_markup_open();
    genesis_do_post_title();
    genesis_entry_header_markup_close();
    }
    ?>

    Make sure you check “execute php”.

    Let me know if this works, if not I can help you with some other tricks I know.


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Customize the Footer Text in Metro Pro Theme #82760

    Zach Russell
    Participant
    Post count: 48

    Works like a charm! Only problem was I tried to concatenate strings using Python syntax :/ Thanks for your help!


    ———-
    Zach Russell
    President, ProTech Internet Group

    in reply to: Customize the Footer Text in Metro Pro Theme #82755

    Zach Russell
    Participant
    Post count: 48

    Haha well now I know. As I get into more complex genesis development projects I know this will help! Thanks man.


    ———-
    Zach Russell
    President, ProTech Internet Group

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