I believe you need to add __FILE__
to your plugins_url()
function. It may not be calling the right location. It should look like this:
add_action( 'wp_enqueue_scripts', 'wpse_238154_register_plugin_styles' );
function wpse_238154_register_plugin_styles() {
wp_enqueue_style( 'fh-plugin' , plugins_url( 'nf-plugin/includes/f-hide.css', __FILE__ ) );
}
Related Posts:
- Using standard backend elements in Plugin
- Add CSS animation as Preloader to WordPress
- How do I register a stylesheet inside a WordPress widget?
- Unable to load stylesheets and scripts to plugin settings page
- How do I write into a file (css)
- What would I need to write into a custom plugin in order to add a switch for a custom string of CSS to the edit page?
- Adding CSS to custom post type admin page causes error
- Redirect to another page using contact form 7? [closed]
- Stop Plugin from Getting Styles from Other Plugin
- How to add a dvi tag to a shortcode then change a generated text using jQuery
- Images under 1MB are not being compressed
- plugin dev – minimum base css specificity?
- Custom CSS not being added by plugin
- The Events Calendar Plugin – List View Background Colour Issue [closed]
- Themes conflicts and overrides my WordPress Support widget Plugin styles
- Want to create custom design of progress indicator in wpforms
- Two plugins using the same CSS id
- SASS not showing in customized preloader plugin
- WP Plugin CSS not being applied to page
- how to add custom css at top above all css file for specific url
- How to create a “Most Popular” & “Latest” TAB in WordPress
- What’s the preferred method of writing AJAX-enabled plugins?
- How to add a shortcode button to the TinyMCE editor?
- Redesigning Custom Post Type “Add New” page
- Plugin upgrading: Widget settings
- Is there any record of installed plugins in the database?
- Using require_once in a Plugin?
- How to call “page specific menu items” in template [closed]
- Custom headers for the WordPress plugin directory
- plugin wants to update to wrong plugin
- Trying to avoid including wp-load.php
- AJAX Call Via Vanilla JavaScript In WordPress Plugin Development
- Understanding apply_filters
- Editor not displaying dynamically after clicking on the button
- Make the plugin directory recognize new version numbers
- wp_enqueue_style in Plugin [duplicate]
- Master menu item for multiple plugins?
- Quote rotator in the sidebar
- Where do I add a new table’s name in wpdb?
- How to create popup same as wordpress popup feature
- How to submit documentation with plugin
- How to customize user search
- Upgrade Private Plugin without Deleting
- Placement of Code in Plugin for hooking `save_post`
- How to make first_name and last_name required fields in user profile?
- Making my plugin translation ready. Poedit not working
- How can plugins have their own pages?
- How to add page using HTML, CSS and JS?
- Can we use a webservice with WordPress?
- WooCommerce get_price returning wrong price when used via ajax
- Open Post Thumbnail in New Child Theme File in WordPress
- Checking instances of scripts in wp_head
- Globally register styles but enqueue them selectively
- Creating a plugin to sanitize comment and the url field before display only
- Creating mySQL procedure with $wpdb
- How can I prevent my plugin go development trunk [closed]
- Are functions in main plugin file called before function bound to register_activation_hook runs?
- Best place for if/else piece of code related to custom plugin?
- How do you assign a UUID to posts/products/comments/reviews?
- How to make a implement queue for scheduling tasks in WordPress?
- Editable form for WordPress plugin options page
- wp-pagenavi getting 404 page not found
- remove add new post, if there is already one post
- Plugin Not Working After Being Uploaded To WordPress Plugin Repository
- Difference and examples of esc_attr__() and esc_attr_e()
- Change the display of Settings API (do_settings_sections)
- Issue running db create table query from static method
- How to make custom plugin run on demand?
- How to execute a plugin on a single page only?
- Using WordPress to build membership Page
- Set WordPress Transient Expiration via Variable Value
- Sanitizing file & directory form input
- Override plugin class which has namespace
- WordPress custom plugin that uses woocommerce enabled payment gateway for payment [closed]
- How to call external functions from a PHP script in a WordPress plugin?
- Don’t load the theme for a page FROM a plugin EDITED
- WordPress Feed Creator Name Tag Full Name Instead Of First Name
- How to add custom function to pluggable.php
- How to get Recent Post From Each Category with Thumbnail?
- Remove Zero Money From Previews Order woocommerce
- How use wp_insert_post and add og:custom tags?
- Access remote SFTP server via WordPress login?
- How to change “Read More” text?
- How to use wp_editor and save its data in wp_posts table
- My WordPress activation hook isn’t working
- Performance considerations – postmeta table versus new table for custom posts with foreign keys?
- Securing a plugin pop-up window
- Is admin section completely customizable in terms of styling?
- WordPress ajax error 400 bad request for sending data to remote site [duplicate]
- Echo custom admin field into a is_single()
- WordPress Boilerplate Plugin doesn’t see callback functions for add_settings_field and add_settings_section
- Hide ‘add to cart’ button for some products [duplicate]
- Get plugin to background of page
- Exclude specifed files from plugin editor
- Add Flatr button to Sharing option
- adding a css file to my plugin
- Upload Image to desired directory through plugin
- Jquery post responses 500 error after some time and lastly an 503 error
- How can I delete the options from DB when the plugin is deleted?
- Allow manage_options capability for specific user only for specific plugin?