Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi gkouvousisg,

    I also had the same issue as the OP. I took a quick look at your code and was able to identify the following problem:

    This line is being called incorrectly:

    wp_enqueue_style( 'readmorestyle', plugins_url( '/style.css', __FILE__) );

    I have removed that line and updated the bottom of your index.php to this:

    function load_style() {
    	wp_enqueue_style( 'readmorestyle', plugins_url( '/style.css', __FILE__) );
    }
    
    /* header actions */
    add_action('wp_head', 'read_javascript');
    add_action('init', 'read_register_shortcodes');
    add_action('wp_enqueue_scripts', 'load_style');

    This will resolve the issue.

    • This reply was modified 9 years, 7 months ago by Diamons.
    • This reply was modified 9 years, 7 months ago by Diamons.
Viewing 1 replies (of 1 total)