Converting HTML Template to WordPress Theme

As said, you should enqueue your style sheets like this in your functions.php in your theme: function adds_to_the_head() { // Our own unique function called adds_to_the_head wp_register_style( ‘custom-style-css’, get_stylesheet_directory_uri() . ‘/css/styles.css’,”,”, ‘screen’ ); // Register style.css wp_enqueue_style( ‘custom-style-css’ ); // Enqueue our stylesheet } add_action( ‘wp_enqueue_scripts’, ‘adds_to_the_head’ );

How to Display a Plugin function (content) on frontpage using index.php

Your plugin inserts its feelbox widget by filtering the_content: if ($options[‘showinpostsondefault’] == ‘on’) { add_filter(‘the_content’, ‘add_feelbox_widget_to_posts’); } But your index page doesn’t display the_content, just Title, featured thumbnail, an excerpt and, number of comments. The plugin code you’ve shown us doesn’t include a print_feelbox_widget() function. Does such a function actually exist in your plugin? (Also, … Read more