• I’m using wp less together with wp editor in wordpress 4.7.5 to edit my theme.
    That works fine.
    In a new installation of wordpress 4.8 I get a blank screen with nothing between <body> and </body>. The code in functions.php is:

    function theme_enqueue_styles() {
    wp_enqueue_style( ‘style’, get_stylesheet_uri() );
    wp_enqueue_style(‘homepage’, get_stylesheet_directory_uri().’/homepage.less’);
    }
    add_action(‘wp_enqueue_scripts’, ‘theme_enqueue_styles’);

    And in wp-content no blogs.dir appears after updating the less file in the wp-editor.

    Who can help me out with this problem?

Viewing 1 replies (of 1 total)
  • Thread Starter lennekel

    (@lennekel)

    PROBLEM SOLVED!
    When I activated debug mode the problem turned out to be that no files could be found. Why? Because I used a space in the name of the theme!

    Like we say in Dutch: het is me toch wat….

    Regards
    Lenneke

Viewing 1 replies (of 1 total)
  • The topic ‘blank screen when using wp less’ is closed to new replies.