launchinteractive
Forum Replies Created
-
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Custom directory not workingPerhaps. I’ve never tried a symlink’d directory. Can PHP read from the directory if you put something in it and list the contents?
Forum: Plugins
In reply to: [Merge + Minify + Refresh] No Option for Server Push?Sure. You can contact me here
Forum: Plugins
In reply to: [Merge + Minify + Refresh] No Option for Server Push?What do your headers look like on the initial page request? It should have entries like this:
link: <https://website.com.au/wp-content/mmr/01f549e1-1580796177.min.css>; rel=preload; as=style; nopush
If not, then there must be something outputting to the page before it can create these header. You could try turning on output buffering. That might help.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] No Option for Server Push?Hi Stefan,
This isn’t a bug. We split the option into two checkboxes and renamed it to “Enable Preload Headers for CSS” and “Enable Preload Headers for Javascript”. The server push checkbox was a little misleading.
It looks like this is the same error in a different part of the code. I’ve released a new version that should fix it.
If you remove that line and add this to your functions.php file it should work:
function enqueue_scripts(){ if (!is_admin()) { wp_enqueue_style( 'themename', get_stylesheet_uri()); } } add_action('wp_enqueue_scripts', 'enqueue_scripts' );Hi,
In this case you will need to modify your template to enqueue the css and js with php.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Plugin doesn’t minify CSS nor JSIt is based on the last modified time of the files that are merged.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Plugin doesn’t minify CSS nor JSHi Roman,
MMR will change the filename whenever the file changes so you shouldn’t have to purge MMR.
Do you cache the HTML? If so I think that might be the issue.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Plugin doesn’t minify CSS nor JSHi Roman,
Can you explain why you would need this?
Forum: Plugins
In reply to: [Merge + Minify + Refresh] disable this plugin on postHi @dklein,
We have recently added a filter that allows you to manually disable MMR. The filter is called “should_mmr” and if you get the page id or url you should be able to return false for that single post.
Please use one of our other plugins as a guide. eg… https://plugins.trac.ww.wp.xz.cn/browser/mmr-disable-for-divi/trunk/merge-minify-refresh-check-divi.php
If you get stuck let me know and I should be able to help you write it.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Beaver Builder Not WorkingHi again,
It may be my version of Beaver Builder but the admin bar doesn’t show up with or without MMR activated for me. If you deactivate MMR does it show up for you?
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Beaver Builder Not WorkingHi @mchartley,
What version of Beaver Builder do you have? I don’t have a copy of the latest to test with so I wonder if something has changed.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Call to undefined function mb_detect_encoding()Thanks for posting this @zelon
I’ve just pushed out a new version of MMR that now checks for the existence of mbstring. If mbstring isn’t installed MMR should still work fine unless a JS or CSS file is encoded in ISO-8859-1.Forum: Reviews
In reply to: [Merge + Minify + Refresh] Really goodThanks @steveo2000 – will do.