New Landing How can we help? Cardinal Update Breaks Child Functions.php

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Cardinal
  • #103577
    icecast
    Member
    Post count: 182

    I cannot use child theme functions.php after updating to 1.62. I tried copying /themes/cardinal/functions.php to /themes/cardinal-child/functions.php but get white screen of death.

    I made sure permissions and ownership were updated but did not change anything. Website pagespeed score drops 10 points with your default functions.php loading un-necessary scripts.

    #103578
    icecast
    Member
    Post count: 182

    i believe issue may have to do with backend scripts in child functions.php

    is it possible to have backend scripts in child functions.php?

    #103941
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @icecast,

    As I’ve said before, it’s not possible to load scripts based on the content, and so none of the scripts are “un-necessary”. They may not be of use to you, but that isn’t the same thing.

    Check your error logs to see the cause of the white-screen. Backend scripts through a child theme should work fine.

    – Ed

    #103996
    icecast
    Member
    Post count: 182

    i have an nginx server with only several plugins, and the google pagespeed score for mobile is in the low 50s. the mobile pagespeed score should be high 60s, low 70s. too many features with too many scripts can be counter-productive, that is why i submitted a feature request for a cardinal lite …

    in functions.php, if i comment out woocommerce, flexslider, owl.carousel, ilightbox, and google maps, my mobile pagespeed score increases 10 points to low-mid 60s …

    #104263
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    We run the standard, un-modified theme on http://cardinal.swiftideas.com, and get 77 for mobile speed without a CDN – https://www.dropbox.com/s/nhc6ryvndrpc88t/Screenshot%202014-08-26%2018.11.48.png?dl=0

    – Ed

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register