Homika
Forum Replies Created
-
Forum: Plugins
In reply to: [Social Share Icons & Social Share Buttons] Twitter cards questionI see them now, thank you for the validator link.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Add AMP GTM after opening body tag?Thank you Ahmed. Will be waiting for the update.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Add AMP GTM after opening body tag?Adding action to ‘ampforwp_before_post_content’ almost does the job, the code appears under the post title.
I’ve managed to get the code below <body> by adding action to ‘ampforwp_body_beginning’.
It does seem to work, but I am not 100% sure I am doing it right. See the code at the bottom of https://www.plaincitylife.com/2017/09/how-to-add-amp-auto-ads-code-to.html.
Forum: Plugins
In reply to: [AMP] Add AMP GTM after opening body tag?I also use AMP for WP, and I managed to get the code below <body> by adding action to ‘ampforwp_body_beginning’ in function.php.
It does seem to work, but I am not 100% sure I am doing it right. See the code at the bottom of https://www.plaincitylife.com/2017/09/how-to-add-amp-auto-ads-code-to.html if interested.Alternative to that seem to be copying and pasting the code in the design template and that does seem less convenient than the hook.
Forum: Plugins
In reply to: [AMP] Add AMP GTM after opening body tag?Interested in this as well.
Forum: Plugins
In reply to: [Comments - wpDiscuz] JS error breaks wordpress JS executionI think I’ve managed to get rid of the error by updating the W3 Total Cache to version 0.9.5.1. I guess there is some kind of conflict between these 2 plugin versions. Either removing of wpDiscuz or updating W3 Total Cache makes the error disappear.
If you still want to see the URL example it is here: https://www.enjoyyourcooking.com/sauces-dips/jager-sauce-mushroom-hunter-sauce.html
But I don’t see the error there at the moment.
Forum: Plugins
In reply to: [W3 Total Cache] “failed to open stream: No such file or directory in…” errorI have 5.3.3.
Where does it say that W3TC needs newer PHP than 5.3? I can only see that “to use all features in the suite, a minimum of version WordPress 2.8 with PHP 5 is required” in plugin FAQ. Did this change with the update?
Forum: Plugins
In reply to: [W3 Total Cache] 0.9.5 gives fatal errorI’ve also got an “failed to open stream: No such file or directory in…” error when trying to update the plugin on staging to test it. Just want to see if there will be any response from devs on fixing the issue at some point.
Forum: Plugins
In reply to: [Easy Nutrition Facts Label] Nutrition Labels appear in the website searchIf somebody is looking for a solution I’ve managed to solve the issue with by adding the following search filter in functions.php:
function searchfilter($query) { if ($query->is_search && !is_admin() ) { $query->set('post_type',array('post', 'page' )); } return $query; } add_filter('pre_get_posts','searchfilter');
It would probably make a bit more sense to add something similar to the plugin itself…
Forum: Plugins
In reply to: [W3 Total Cache] HTML5 cache manifest file feature requestI was thinking more along the lines of caching just .js and .css files, not the whole website, with the purpose of loading them quickly for repeat visitors.
From what I read, with HTML5 cache cached files will be used not only offline, but online also if cache of the requested file exist with the browser and manifest file didn’t change since its last version. Wouldn’t using local cache like this for .js and .css files speed up the loading?
Yea, I was thinking on it, but then decided to put it into plugin itself. That way if I decide to remove plugin at some point later, that code will get removed along with it without me remembering to do it manually. Or if plugin will get updated eventually, it will get overwritten.
Added first example into jqlb_do_regexp function of the plugin, this one:
$content = preg_replace('/\s?wp-att-\d+/', '', $content);
Seem to be working… I don’t have too much of experience modifying wordpress plugin files, so I hope I didn’t broke something else by doing so…
Thank you, SpartakusMd!
Does anybody have a fix for this problem? It doesn’t seem that author supports the plugin anymore ??
I just noticed that I have the same issue after upgrading to 4.4.2 recently. Arrows don’t appear on the image, arrows are not working from keyboard, escape doesn’t work. I wish it could be fixed somehow…
Forum: Fixing WordPress
In reply to: wp_list_categories doesn't exclude all passed IDsGot the same problem after recent update. Fix linked above worked for me. Thanks!