ascom
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-KaTeX] KaTeX and WP-PrintI have not used WP-Print before, but according to this topic, you should be able to insert
$content .= do_shortcode( '[katex]' )
after this line.Forum: Plugins
In reply to: [WP-KaTeX] Autorender option?Hi,
I’ve added your suggestion to the to-do list. It should be in the plugin soon.
Forum: Plugins
In reply to: [WP-KaTeX] No way to useHi,
This seems to be because you are using the text editor. The < symbol is interpreted as HTML, and WordPress for some reason interprets this strangely and screws up the display of the formula.
You can work around this issue by using the visual editor, or when using the text editor replace less than characters with
<
, which is an alternate way of expressing “<.”Forum: Plugins
In reply to: [WP-KaTeX] IE 11 IssueHi,
According to my tests, it looks like your theme is forcing IE to run in Compatibility Mode, which makes IE11 behave like IE7. What theme are you using?
Forum: Plugins
In reply to: [WP-KaTeX] Formulae in commentsHi,
You can use a plugin like this one to enable shortcodes in comments.
The issue magically resolved itself, possibly from an automatic Apache upgrade.
Forum: Plugins
In reply to: [EWWW Image Optimizer] webp cdn supportThe updated version of the plugin causes the page to drop the ending tags:
Without the rewriting: https://i.imgur.com/lazMbBA.png
With the rewriting: https://i.imgur.com/2jdZRwo.pngForum: Plugins
In reply to: [EWWW Image Optimizer] webp cdn supportI tried this feature on my website, and I noticed that there are some potentially major issues:
- I use Wordfence for page caching. The cached pages still try to load the webp version in unsupported browsers.
- There is an annoying flash and page reflow caused by the images not being loaded immediately.
I suggest that you use client-side JavaScript feature detection and immediately replace the images using a minified inline script, rather than loading a separate file and waiting until the document has loaded. I also see that the JavaScript in load_webp.js could be optimized a bit. This should fix the page caching issue and help with the flash.
To avoid the annoying page reflow, I suggest adding a temporary style to the replaced image that sets the height and width correctly.
Forum: Plugins
In reply to: [WP-KaTeX] Conflicts with wpbakery visual composerWP-KaTeX should not be modifying any headers. It’s a very simple plugin that replaces the LaTeX shortcodes with a bit of JavaScript that renders the equation.
I will try to reproduce this later, but I don’t think I am able to, as your plugin and theme are not free.
I also have this issue. I’m just posting this so I can get email notifications. ??
Here is my htaccess, annotated for maximum understanding and funness: https://gist.github.com/as-com/e5cf2ab740bd7c7af0bf
EDIT: Server details
PHP-FPM 5.5.9-1ubuntu4.4
Apache 2.4.7-1ubuntu4bump
I finally got it to recognize Apache by modifying the
is_nginx()
function. (I don’t think all fpm_fcgi users are on nginx!)However, it still isn’t caching the homepage, even with all of my garbage deleted from the htaccess. What is going on? (also, I’m testing the cache in an incognito mode window, so I’m not logged in)
Okay, I’ve disabled Falcon Engine, and when I try to enable it, it thinks I’m using Nginx + PHP-FPM, even though I’m using Apache + PHP-FPM. This isn’t working!
I suspect that Apache 2.4 is what’s causing it. I’ve already tried disabling my sections of the htaccess (such as “Rickroll Attackers”), but it still isn’t serving the homepage cached.