I am trying to integrate the foodpress app into my multisite installation. I’m currently have wildcard ssl installed.

This error comes up when I inspect the frontpage of the site in chrome. foodpress_dynamic_styles.css Failed to load resource: the server responded with a status of 404 (Not Found)

I need to change this section of code so it will load https instead of http so it works properly. (I would ask the developer but the said they no longer support wordpress.)

     public function register_fp_dynamic_styles(){
        $opt= $this->fpOpt;

        if(!empty($opt['fp_css_head']) && $opt['fp_css_head'] =='no' || 
            if(is_multisite()) {
                $uploads = wp_upload_dir();
                wp_register_style('foodpress_dynamic_styles', $uploads['baseurl'] . '/foodpress_dynamic_styles.css', 'style');
            } else {
                    FP_URL. '/assets/css/foodpress_dynamic_styles.css', 'style');

Read more here: WordPress Plugin – change dynamic styles sheet to load under https


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: