It looks like you are using JetPack’s Photon which adds query strings to your URLs. According to this thread there is no way to remove them https://wordpress.org/support/topic/how-to-remove-photon-query-string?replies=2
If you want to get rid of the query strings I would suggest deactivating photon, using a CDN which does not add query strings, and using the snippet you mentioned:
function _remove_script_version( $src ){
$parts = explode( '?ver', $src );
return $parts[0];
}
add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
Related Posts:
- How to get a URL parameter from a URL with get_query_var?
- Pass query string to page
- query_vars Filter: Would You Ever Use It When $_GET is Available and You Don’t Need a ‘Pretty’ URL?
- when the incoming url is a query, in which function does WP begin to work with it?
- Accessing custom URL parameters
- Remove query string except from google map api
- Sorting by 2 Custom Fields + Post Title
- Use “name” query string to refer to form field instead of pagename
- How to echo a string in custom posts args from a custom field?
- Custom query vars empty
- How to append short url to specific external links
- What is the difference between URL parameters and query strings?
- How to get GET (query string) variables in Express.js on Node.js?
- How to get URL parameter using jQuery or plain JavaScript?
- Get querystring from URL using jQuery [duplicate]
- Fastest way to implode an associative array with keys
- Get query string parameters url values with jQuery / Javascript (querystring)
- use query string in URL to display content on the page
- Querystring parameter getting lost in rewrite rule
- Can ‘numberposts’ be passed in the URL query string?
- How can I include a query string with get_permalink
- Redirect to post after submission with Gravity Forms? [closed]
- Visually change theme via query string?
- How can I Rewrite a ‘page’ URL based on query string parameters?
- Passing & Reading URL Parameters with URL re-writing
- Prevent redirect to page/page when reserved term ‘name’ in $_POST when value is a page/post title
- Can’t pass table to $wpdb->prepare
- How do I add a php statement to a jQuery string
- Showing random content / pictures from earlier posts in a sticky post?
- Add custom URLs to WordPress’s XML sitemap
- How to get “extended” path info from URL in a plugin
- Concatenate site_url and string doesn’t work
- Query_posts $query_string
- Passing array of strings to a SQL statement in a WordPress plugin
- Wp Login redirect strips parameters from url
- Is doing_wp_cron a necessary query string when scheduling cron.php as a cron job?
- Query string becomes encoded when a static page is used as homepage
- Count number of published posts by type
- How to order results by date and meta key?
- Remove Query String from URL on Redirect – Redirection Plugin
- Change gravity forms confirmation redirect query string to include entry id [closed]
- How do you Query posts with nothing in common?
- Query String being Removed Creating a Pagination Issue within a Custom Plugin
- How to remove query string from static resource in WordPress?
- Check if page is embeded
- urlencode query string in gravity forms confirmation redirect
- get_posts – find out if querystring was crap and fallback is used
- how query string in wordpress receive the value other than post and page [duplicate]
- Creating a Video Content Page (how to use query strings in wordpress)- Help!
- Replace text string on individual page
- Keep query string in url after executing a serch
- How to get “string” away – replaced with “nothing” [closed]
- How to stop WordPress Search form from searching only in current page?
- add_rewrite_rule not working for me
- Undefined index: b in /path/file.php relating to querystring parameters
- magnific popup + gravity form query string not passing
- Replace shortcode in substring
- Insert custom PHP head above in WP pages
- Custom query, multiple custom keys
- how to access query string in wordpress?
- Multiple Category Query
- Search Query for Multiple Terms In Same Taxonomy
- Grab values from the query string to fill in hidden fields in ninja forms [closed]
- WordPress function and string as variable?
- WordPress Query String: get_posts(‘cat=5’) vs WP_Query( ‘cat=5’) vs URL: /site/?cat=5
- Is there a query string for edit.php to show all posts that have no custom taxonomy terms?
- How to translate “$before” with get text in get_the_term_list?
- Querystring value being stripped from site_url()
- Adding query string parameters to URL with same name as custom post type gives 404 error
- How to Include Fields in Query String When Making Request of WordPress.org Plugin API?
- How to return a string that has a jQuery and Ajax inside in a shortcode?
- Filter results from a serialized string to use on statistics
- How to load this code on function.php
- How would I get WordPress to parse /mypage/area/value as /mypage/?area=value?
- PHP $_REQUEST array empty
- WP adds long version query strings to CSS and JS files
- Add rewrite rule to make Woocommerce product category page seo friendly
- Taxonomy archive uses incorrect template when query strings are used
- Change admin_title of a plugin using code snippet/functions
- Query String Link With Anchor Tag Not Working on Same Page
- REST API: Search products only in the names
- Site using static homepage, redirects (301) and removes pluses from query string
- dynamic page not displaying correctly when Varnish hosting ignores query string parameters
- Custom Rewrite Rule Removing Query String
- Display plugin-generated content to override a placeholder page
- problem in using wpdb->prepare and a string placeholder
- Active state does not work with the query string in the url
- Query string order by custom field
- Multiple wpostmeta.meta_key
- Query String for the WP_QUERY parameters
- Blog switch wpml string translation (multi-site)
- How do you detect if a specific word is at the end of a the_title()
- WordPress loop based on url sting
- Using query string on edit CPT page
- WordPress Page Template: Comment Filtering with Querystring
- How to use query string in URL to display content on the wordpress page
- How to display search query as formatted text?
- query posts only works on the first page
- append $_GET parameters to post
- query_vars doesn’t return query string (trying to get data from $wpdb)