I have added the plugin and below are the code that exists in the child folder for my theme holding the function.php and style.css files.
Why I have added that particular page as the link is because there a class that has been added to the page itself and its .facilitiesImageWrapper, and have added some code to the child style sheet and when I continually refresh the page that new style that I have added doesnt appear in inspector, and obviously isnt doing its job to style the page elements.
This is starting to happen to me quite abit now, so if I can get this to work I would be very grateful and can carry on developing, as there nothing worse at the moment than doing work and not being able to see your work.
/themes/dentalia-child-theme/function.php
function twentytwenty_styles() {
wp_enqueue_style( 'parent', get_template_directory_uri() . '/style.css' );
}
add_action( 'wp_enqueue_scripts', 'twentytwenty_styles');
/themes/dentalia-child-theme/style.css
/*
Theme Name: Dentalia child theme
Theme URI: https://orionthemes.com/dentalia
Description: Dentalia child theme
Author: OrionThemes.com
Author URI: https://orionthemes.com
Template: dentalia
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: dentalia-child-theme
*/
If someone is interested, edit busted.php on line 38 so the action is “wp_enqueue_scripts” as opposed to “wp_print_scripts” and the plugin will work like it should.
add_action( 'wp_enqueue_scripts', __CLASS__ . '::wp_print_scripts', PHP_INT_MAX - 1 );
Got a message from Wordfence this plugin has not been updated in over 2 years… anyone know of a comparable alternative plugin?
I thank you all in advance for any suggestions you might provide.
]]>Nevermind. can’t figure out how to delete topic.
]]>I have used this a few months ago when developing a site and did exactly as I installed it for.
Tried it with new installation – maybe a compatibility issue – but not worth chasing
]]>I am running WP Super Cache for caching including the CDN feature where it re-writes URLs for my assets (CSS, JS, images) to use the CDN. I don’t seem to see a cache busting feature within that plugin though and I want to make sure asset updates cause the CDN to pull the new file from the origin. If I install Busted, will it coexist OK with WP Super Cache to perform the cache busting function to force the CDN to pull updated assets?
]]>Will this plugin work for images as well?
]]>@plugin dev: Great plugin, are you still maintaining it?
Cheers,
Thomas
I have a scrolling gallery on my homepage that won’t refresh unless I manuall clear my browser cache. Any ideas?
]]>Having an issue in getting it to work and would love to get it resolved. Is there any support here for this plugin?
Thanks.
]]>Hi,
I have installed your plugin but it does not work. I still need to clear the browser’s cache in oder to see any changes. Am I misssing something?
Thanks.
]]>Hello, will this work with the stylesheet in a childtheme?
Thanks.
]]>I had to add ths line to the plugin for it to add timestamp queries to stylesheets enqueued with wp_enqueue_style
:
add_action( 'wp_print_styles', __CLASS__ . '::wp_print_scripts', PHP_INT_MAX - 1 );
Hi
it doesn’t load new versions of plugins’ .css files
can you advice me how do I clear THAT cache too, please?
First of all, thank you for your great plugin ?? Very helpful for website developement.
Nevertheless, query string are not recommended for caching (https://gtmetrix.com/remove-query-strings-from-static-resources.html).
Would it be possible to have the parameter inside the filename like :
]]>I had a problem on a site, where modification_time() would just return false.
Turns out that this line:
$file = realpath( ABSPATH . str_replace( get_site_url(), '', $src ) );
Does not play well will installations with custom WP_CONTENT_DIR set (and WordPress installation in it’s own dir, like /wp/).
I changed it to
$file = realpath( $_SERVER["DOCUMENT_ROOT"] . wp_make_link_relative( $src ) );
and then it worked nicely on my sites.
If you could add support for sites with custom WP_CONTENT_DIR that would be awesome!
]]>I NEED this plugin. I have been searching for exactly this function. But I don’t understand about the required scripts. Can I just install it and use it?
Thank you
]]>There is a Console warning that is being displayed:
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.js?ver=1.10.2-busted-1382801956:4
Can you help assist in fixing this issue?
Thank you so much
William
]]>I guess I’m just a bit confused about this plugin – does it work as a standalone plugin that also caches, or does it work alongside a cache plugin?
Thanks,
David
Love the concept! Has plugin been tested with Multisite?
Thanks!
]]>