Forums

ReciPress
[resolved] Plugin not loading resources via https:// when ssl is enabled (2 posts)

  1. Oudin
    Member
    Posted 6 months ago #

    I've update recipress.php in order to get it to load resource via https:// when ssl is enabled. So I my site visitors won't get the "connection is partially encrypted" warning from browsers.

    However there the plugin seems to be load other resources other than code listed below which is causing it not to load all resources via https://

    // Styles and Scripts
    add_action('admin_enqueue_scripts', 'recipress_admin_enqueue');
    function recipress_admin_enqueue() {
    
    	wp_enqueue_script('recipress_back', plugins_url( 'js/back.js' , __FILE__ ));
    
    	wp_enqueue_style('recipress_back', plugins_url( 'css/back.css' , __FILE__ ));
    }
    add_action('wp_enqueue_scripts', 'recipress_wp_enqueue');
    function recipress_wp_enqueue() {
    	wp_enqueue_script('jquery');
    
    	wp_enqueue_style('recipress_front', plugins_url( 'css/front.css' , __FILE__ ));
    }

    Anyone knows where the plugin may be loading additional resources

    http://wordpress.org/extend/plugins/recipress/

  2. Oudin
    Member
    Posted 6 months ago #

    Solved it.

    Please change the following line 4 in front.css

    @import url(http://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic);

    to

    @import url(//fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic);

    Thanks

Reply

You must log in to post.

About this Plugin

About this Topic

Tags