If you’re using an absolute reference like that, you’d want to include the full file path, like http://diginomics.com/wp-content/themes/THEMENAME/css/style.css
I believe any time you call the functions like get_stylesheet_directory() or get_stylesheet_directory_uri() it will return the path for the current theme.
Just keep in mind that all themes need a style.css file.
I would have posted this in a comment but I’m not allowed yet.
Related Posts:
- WordPress loop specific thumbnail size
- Is it possible to use the featured image of a page as a css background without inlining?
- Displaying theme options in css
- Theme Options Page – User Updates Logo
- How to modify mobile nav menu text in theme
- jQuery accordion menu
- Displaying images outside the content
- Problem with displaying CSS Stylesheets – Am I adding them correctly in my wordpress child theme?
- How to print all the inline styles in the WP_Styles instance together with their keys?
- register dependency css and js inside a plugin class
- Fix hover images blink
- CSS loading as empty file in Custom Theme
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- Click to expand menu
- Relative post date in recent posts list
- Sidebar doesnt get updated?
- Add CSS class to PHP Statement
- Load slideshow.css file only if Slideshow is checked / on
- Predefine Magazine Style Layouts
- Get different images for mobile and desktop with php, advanced custom fields without using js and ajax
- How Display Posts on category
- Adding country tags automatically
- write custom woocommerce templates and forms
- Implement toggle switch for theme options in settings API
- Using a `Template Parts` folder instead of an `Includes` folder in a Custom WordPress Theme
- Using a variable in is_page(array())
- Trigger popup in a php if/else statement
- Anyway to output the registration form like the login form with wp_login_form()?
- How do I get current page ID in WordPress customizer file?
- How to stop featured image thumbnail [set as background image] on blog index page just repeating same image across all posts
- Customizer: Output default value in Customizer CSS
- How to load a template-part based on a url wildcard?
- WordPress does not load page.php, return 404.php
- Slider loading issue
- How can i upload images in an admin page?
- Where to edit the template that is generating the code for dynamic_sidebar left-sidebar in the Understrap theme? [closed]
- Multiple WordPress Menus that will only display all pages
- Set the checkbox as checked by default at options page
- Plugin CSS not enqueing
- Hide Hamburger Menu On Specific Page (Front Page/Home Page)
- Parent theme CSS overriding child CSS rules
- Create another “Display Site Title and Tagline” checkbox, “Header Text Color” setting and control
- how to remove metadata from the posts of my blog?
- Add child pages of parent to navbar PHP
- How can I create a list of page titles from custom meta values?
- Load a page into a div with Ajax
- Custom theme: Alternatives to long list of ‘include’ in functions.php
- How to style options page in dashboard?
- Converting HTML Template to WordPress Theme
- How to show part of the_content?
- Dynamic Stylesheet loads but doesn’t finish
- Wp-login appears White Screen, Error: Cannot modify header information
- How to add date to navigation bar
- How to remove the cufon script from Dzonia Lite theme [closed]
- get_the_tags() not iterating through for/while loop, but will with foreach
- Selectbox in admin panel function linking to CSS
- Can I install/embed WordPress on a ‘single page’?
- Using if/else statements with output from theme options
- Is there CSS to expand the gallery limit on Index Pages?
- Hide categories that are not used in the post type
- How do I add custom bulk actions to multiple custom post types?
- Add_action not working in required file of functions.php
- How to set up VS Code for WP plugin/theme development in 2021? [closed]
- adding custom user input fields in WordPress admin dashboard gives error The link you followed has expired. Please try again
- what is the best practice to add new field to an api route
- How to design a table based on css values set from admin/dashboard
- Grab posts by multiple categories
- Can’t access variable outside for loop
- I have a problem in the order of enqueues while enqueuing stylesheets and scripts for a specific page in my function.php
- add custom link to wordpress media gallery modal
- Need Help Fixing My Iframes [closed]
- Avoid parallax images hardcoding
- Improve page speed loading using CDN and async or defer attribute
- populate form fields in a loop with ajax
- Error in custom php function doesn’t exist
- Customizer: active_callback and sanitize_callback incompatibility?
- post created but no permalink
- Incorrect MIME type for assets with Valet
- How to display pictures from database?
- How to add condition in wordpress loop? [closed]
- Populate editor with some content of a page with a page template
- Customize position of social icons in upme plugin [closed]
- Two queries for a WP_User_Query search work perfectly apart, but not together
- Recent Posts Not Showing Only On A Specific Category Page [closed]
- Best way to schedule daily change in CSS parameter
- Css loads very slow [closed]
- Catchable fatal error: Object of class stdClass could not be converted to string after WP 4.7
- Gravity form built in Captcha
- Menu jumping when calling it via PHP
- How does wp_enqueue_scripts work?
- Different post styles depending on category
- How create a Shortcode with hover and complex options
- WordPress Multiple Navigation bars
- Displaying recent posts on static page with template-part via shortcode
- How to edit widget code to add unique class name to each div?
- Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value
- Skt full width basic slideshow problem
- two columns of posts on homepage, one of them “favorites”
- How to disable controls in theme customizer?
- How do I link a button I created in theme customizer to a function?