Well, I found the solution. The problem was with the PHP code in the plugin itself. Here is the ‘additional_stylesheets’ function with the code that ended up working.
function additional_stylesheets() {
// register and enqueue our style.
wp_register_style( 'bt-wp-styles', plugins_url( 'bt-wp-styles/css/bt-wp-styles.css' ) );
wp_enqueue_style( 'bt-wp-styles' );
}
add_action( 'wp_enqueue_scripts', 'additional_stylesheets' );
So, that’s everything. The code works great now! Thanks for looking at my answer!
Brian
Related Posts:
- How to customize the default HTML for WordPress Attachments
- Is it possible to add a ribbon in the background of h1 on every page?
- WordPress menu: How to make www.link.com/#name never contain current_page_item class?
- Add producthunt badge to wordpress menu
- how to add custom html and css to wordpress
- Move text from the side of image to below image [closed]
- Making custom pages (with an example to explain the goal)
- Custom CSS File wont work on second Page
- how can i change the html and the css of my word press theme that I bought?
- adding new html css to wordpress section from codepen [closed]
- Where are Additional CSS files stored
- How to add crossorigin and integrity to wp_register_style? (Font Awesome 5)
- Add custom html to last sub-menu item
- wp_nav_menu() custom container and container_id
- Show a WP 3.0 Custom Menu in an HTML Select with Auto-Navigation?
- Adding HTML within an image title attribute
- FireFox Inspector :: find CSS file related to
- Adding Custom Link anchors in the top menu that points to specific sections of the site home page
- wordpress custom walker for thumbnails with custom menu
- Custom CSS for full post vs. excerpt (Content Options)
- Selecting An image from the Media LIbrary on the frontend
- simple expandable vertical menu, java script problem
- wp_nav_menu google analytics event tracking
- Only append custom classes to nav menu items
- How to extend nav-menu-item-control data in Appearance > Customize?
- Hide Login information in Account settings in Buddy Boss
- Where is definied the theme location for the main menu in a WordPress template?
- How can I get the page url slug when ‘post_name’ returns an id?
- What will happen to the additional CSS when the theme is updated?
- Altering html structure and creating custom menus
- Customizing default Mediaelement player
- Putting tag outside tag on generated Menu
- Programmatically (PHP) get the nr. of items in the primary navigation menu
- TwentyFifteen: How can it show a different color on every post page?
- Adding code to child’s theme css and php cannot override certain elements
- How to create left and right menu with logo center in a custom theme?
- How do I change the markup only of a built-in widget?
- Resizing of a header/div in a website through css in wordpress [closed]
- Navigation label for page in custom theme
- Redirect to another page using contact form 7? [closed]
- WPML Plugin Not displaying multilingual Menus
- how to display a specific wordpress menu?
- how to hide submenus for the not active pages
- Create a url structure for my blogs based on categories and sub-cats
- Looking replicate static HTML Menu into WordPress Dynamic Menu [closed]
- CSS Styling a specific page
- How to remove footer from just homepage
- Custom font size nav bar
- Sticky menu for WP custom menubars
- “woocommerce_form_field()” function having issues after latest woocommerce update [closed]
- Stop Expansion of Top Level Menu in the WordPress Admin Sidebar
- Insert menu with a custom walker into page / post body using shortcode?
- How to customize the WordPress 2014 theme, to have page using less horizontal margin?
- Menu Custom Data Attributes
- How do I hide an article element so only logged out users see it
- How do I create a root link in wordpress to a PDF file?
- Upload a web module (html and JS) to wordpress
- Position a hard-coded menu item
- How can i create menu like in the example?
- WordPress custom dropdown listings
- Remove header title form page through CSS [closed]
- How to request container_class from wp_nav_menu
- Centering one product on a single page [closed]
- Some doubts about WordPress handle the horizontal main menu visualization
- Custom menu not showing even though it shows as being registered?
- I’m trying to remove a duplicate menu, which only appears on the homepage?
- custom email validation using javascript api with elementor pro and code snippets
- Style WooCommerce Product Search Widget
- why won’t my custom css load with the enqueue method or any other method?
- Current menu item highlights wrong
- Woocommerce custom “My Account” Tab – Add Save button
- How to style bootstrap container in WordPress?
- Adding a drop-down (select tag) option under Menu Settings in WordPress Admin
- How can I delete the word `Category:` from page titles? [duplicate]
- How to have different background image based on post category
- How replace theme styles?
- Wrap WordPress Login Form in custom Div
- How to create custom post type selection to nav menu
- How do I target this page specifically?
- How do I change the content of an element for a theme without losing the styling?
- I can’t override CSS
- How to customize WordPress vertical menu?
- Creating a dynamic URL for an external link inside content
- remove or hide Link Relationship (XFN) form Menus tab
- WordPress Inline Style missing
- how to hard link to the posts page?
- Adding separate CSS files for separate pages with functions.php
- How do I display entries in the top menu based on conditions selected in the sidebar menu?
- Buddypress: New Tab and Page (Members Profile) [closed]
- How to support extra color options for shortcodes?
- Adding css and js to a blank page created with custom template
- menu customization
- How to move menu next to left of the search box?
- How to create a shortcode with HTML code in it and custom parameters/
- responsive screen not working [closed]
- How do I add custom CSS animations for specific Gutenberg blocks?
- Particle.js not loading in WordPress Gutenberg
- Post interior margin in twenty eleven theme
- Add custom styles to the Raft theme
- Where did I put this one line of css?