Trouble with very basic plugin creation

When enqueuing JavaScript or CSS from a plugin’s directory, use plugin_dir_url( __FILE__ ). Note that plugin_dir_url() does return the URL with a trailing slash, unlike get_template_directory_uri() and get_stylesheet_directory_uri() which do not return the URL with a trailing slash. get_template_directory_uri() and get_stylesheet_directory_uri() are more commonly used in themes and child themes respectively. Here is an updated … Read more

the_tags : can we insert a class

Yes, it is possible. <?php $post_tags = get_the_tags(); if ($post_tags) { foreach($post_tags as $tag) { echo ‘<a href=”‘; echo bloginfo(); echo ‘/?tag=’ . $tag->slug . ‘” class=”‘ . $tag->slug . ‘”>’ . $tag->name . ‘</a>’; } } ?> The code is from another answer on Stack Overflow, see here for the source and more info

Edit External CSS

You have alot of mixed content warnings, be sure to change your scripts and images to call https. For example if you can find the reference the following URL in your theme http://api-idx.diversesolutions.com/Styles/Libraries/juicebox/theme.css Replace it with: https://api-idx.diversesolutions.com/Styles/Libraries/juicebox/theme.css which will work because the provider has a valid SSL certificate. But I would highly recommend physically searching … Read more