Backslash is the default used on Windows OS to define paths.
The foward slash is the default in Apache’s config on Xampp (at least it always have benn like that on mine).
Since Windows accept both, you have a mix of them. But that won’t do any harm to your WordPress project.
And it will be correct when you migrate to a server since you are using the ‘get_stylesheet_directory()’.
Related Posts:
- What’s the difference between esc_html, esc_attr, esc_html_e, and so on?
- Include files in child theme functions file
- Check if post is being published for the first time, or is an already published post being updated
- Is it possible to rename a post format?
- How to get woocommerce inventory status [closed]
- Is there a hook or function I can use to display all theme files being used on a current page?
- Implementing DNS Prefetching with WordPress
- How can I remove the title “leave a reply” in the comment box in twentyeleven?
- Child theme – overriding add_image_size by a child theme [duplicate]
- Why do I get Fatal error: Call to undefined function get_most_recent_post_of_user()?
- Check if has any sidebar active on current page
- Login using the password from protected pages
- Remove tag on my RSS Feed
- Automated mark posts as featured every day
- Enqueuing External Javascript functions.php
- Child Theme Not Overriding Parent Theme
- Function to wrap the_content in a div
- How to run a function once on every post in database?
- Date/time limitation of posts where function must be executed
- Custom image size in Media Dropdown
- Trouble using antispambot()
- Post Pagination Showing Same Posts Every Page
- Update Content based on expiration time or queued processing
- How to filter a table in post content without plugins? [closed]
- Having issues with a foreach inside of a shortcode with ACF gallery
- Remove after images
- Is there an alternative to get_template_directory_uri()?
- Word Press – Dynamic Content [closed]
- Change label for registration Fields
- Warning: : DOMDocument::loadHTML(): Empty string supplied as input in functions.php when adding classes to post images
- Remove stylesheets from Campaign Monitor plugin
- Get First Child Page ID or Permalink in WordPress Admin
- Footer disappears when using the_content ( )
- Get page id or status by private pages?
- Categories as main menu items and subcategories as nested lists
- woocommerce change currency per category [closed]
- I can’t enqueue my scripts – They literally aren’t being added to my site
- Using wp_redirect and .htaccess to re-route searches (and pass along the remaining GET vars)
- Multisite 404 on pages – rewrite error breaks database
- Connecting to a 2nd DB gives me no results when querying
- Including php files within template
- Make wp_link_pages() suitable for Twitter Bootstrap markup
- Add_filter when value is no variable?
- The Loop not looping?
- I can’t seem to install Font Awesome locally [closed]
- Prevent custom field from being updated after first publish
- laoding bloginfo url in function array?
- How to edit classes in body tag?
- New custom menu created. how to apply it?
- problem loading stylesheets to wp_head dynamically
- Use Composer Package inside class – Namespacing error
- Add a field into a shortcode of an extension
- Update to functions.php not showing in dashboard
- Unable to point the child theme directory even using get_stylesheet_directory()
- Need a method to prevent WP from adding in between my shortcodes
- How to edit/replace Parent functions.php function in Child Theme to add “Walker” class
- Load scripts for do_shortcode( ‘ [ my_shortcode ] ‘ )
- Change WooCommerce add_to_cart Button Text?
- How to modify get_the_excerpt() when post-format equals ‘quote’?
- wp_get_attachment_image_src returns image on main domain, false on subdomain
- Get the alphabetical sorted data with wpdb
- New checkbox in custom widget isn’t saving data
- WordPress Check User Role Function (multiple roles)?
- Post to category based on email domain, for a post-by-email plugin
- struggling with syntax for the_post_thumbnail();
- Echo youtube code from url or shortcode
- WordPress: Highlight search result exact matches
- Woocommerce Default sorting product by product type
- Displaying registered sidebar after post content
- Adding custom social icons to the social media icon block in the Gutenberg editor?
- Allow user select role in wordpress default registration without plugin
- Display link to category over featured image
- Does hook have an effect on increasing the page load?
- Adding a schema code to one specific page using functions.php file
- Multiples functions on customize_register?
- Can I call a functions.php file from a different URL?
- price of product can’t return when get data of product in functions.php
- Re-style Login Form Whilst Keeping CSS Separate from Frontend CSS
- Can You Set A Minimum Image Dimension For Resizing Images?
- Calling hooks in functions
- Creating a “Related Meta” type field?
- Correct way of Enqueue self hosted fonts in sass project
- function syntax is off,
- How To Show Shortcodes In WordPress Custom Fields?
- Language Switch Function
- How to debug function file causing white screen
- Change category checkbox into radio button [duplicate]
- Author info does not show up when author has no posts
- Load CSS conditional on custom field is present
- Modify sub_menu function to show pages below a specifically set page
- Add custom class to all URLs on entire site
- Show the online status of the current post’s author
- Functions.php in child theme that loads CSS file breaks website
- How does child theme functions.php work with parent theme functions.php? Is it like CSS? [duplicate]
- restrict access to specific urls on a specific period of time
- Change conditional tag in wordpress without editing the core files
- clickable title of 2 post on mainpage USING functions.php
- Get all users from role and add to dropdown (select) – wordpress, javascript
- Add functionality to block comment authors in the Comment edit pag
- WordPress enque the same script causes the setInterval not to work