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]
- Alphabetical Custom Menu
- Customize position of social icons in upme plugin [closed]
- Child Theme with multiple css files
- Sub menu indicator that links to sub menu
- Navigation label for page in custom theme
- CSS Customizations for certain page
- How do I add a custom css to all posts without affecting homepage css? [closed]
- How can I have a common background color across multiple WordPress blocks?
- Redirect to another page using contact form 7? [closed]
- WPML Plugin Not displaying multilingual Menus
- How to add html attributes to the “ul” html tag with “wp_nav_menu” function?
- Custom CSS at Appearance > Edit CSS is missing after update [closed]
- 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
- Why the css in twenteenfourteen-child theme take no effect?
- Custom font size nav bar
- Highlight parent if item from submenu is active
- Add data-id attribute to child page links
- How to format text of site subtitle
- Sticky menu for WP custom menubars
- how to add custom logo to my template
- WordPress noob, assign custom stylesheet using @import or if? Didn’t work for me
- str_replace inside specific css files [closed]
- How to buid wordpress menu with auto width sub-menu items in dropdown menu without any items sharing one line [closed]
- “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?
- Implement a Walker with custom object rather than WordPress database object
- Good way to customize admin CSS?
- css media query question [closed]
- 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 can I tag a menu item as visited for each unique user?
- 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]
- Menu not appearing in custom theme
- How can i display custom menu in sidebar?
- How to have multiple WordPress Menus
- How to add active state to the navigation links?
- How To Style Links in Content Area With Tag Automatically?
- Some doubts about WordPress handle the horizontal main menu visualization
- Inline-Table under TwentyTwelve not working
- custom css and javascript not working on page defined as template?
- Missing current_page_item in custom menu
- Customize Widget Navigation
- how to changes mobile menu toggle breakpoint in WordPress
- Custom menu not showing even though it shows as being registered?
- How to add Custom Css within the Editor?
- I’m trying to remove a duplicate menu, which only appears on the homepage?
- Will WordPress updates remove Gutenberg Additional Classes?
- custom email validation using javascript api with elementor pro and code snippets
- Easily add custom HTML outside the main container?
- Style WooCommerce Product Search Widget
- dynamic php menu with hidden sub-categories only showing when the category name is clicked
- why won’t my custom css load with the enqueue method or any other method?
- Current menu item highlights wrong
- Use Theme CSS in custom code
- Woocommerce custom “My Account” Tab – Add Save button
- How can I style the Comment Section of a blog post
- Hide entry-header for a specific category
- How do I make elements in mobile only reverse order?
- How to style bootstrap container in WordPress?
- Adding a drop-down (select tag) option under Menu Settings in WordPress Admin
- How to add a template – so that i can choose a different menu for some pages
- 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?
- clickable toggle menu, help
- Wrap WordPress Login Form in custom Div
- How to create custom post type selection to nav menu
- Customize WP website specific column with CSS
- How do I target this page specifically?
- Help needed creating a custom Hamburger menu in header
- Menu selection for header
- How do I change the content of an element for a theme without losing the styling?
- How to create a custom menu for specific user
- I can’t override CSS
- How to customize WordPress vertical menu?
- Creating a dynamic URL for an external link inside content