cwfaraday
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize criticalcss.com power-up] Is the entire CSS split?Does the resulting repetition have any effect on the site’s performance?
Forum: Plugins
In reply to: [Advanced Post List] Note from Github: Please update plugin immediately.Is this related to the critical error that happens when accessing the admin settings on WP 3.5.2? I’m at version 5.5
Forum: Plugins
In reply to: [Advanced Post List] Upgrade 0.4.1 – not showing anythingYes. It seems like the post filter logic has changed. In my case, I had a category selected for both post and pages, with the intention of including items of that category that were either posts OR pages . It was working fine, but after the update it looks as the logic has become posts AND pages, which is always false.
My solution was easy as I didn’t have any posts (only pages), so I removed that selection and everything worked fine. But of course it’s not ideal.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] 39 pages with Critical Issues today…If you browse directly to one of the AMP pages what do you get? I had a similar problem when mysteriously AMP pages got redirected to their canonical version.
If that’s your issue, after hours of attempts I fixed it by disabling the AMP plugins and Yoast SEO, then re-enabling the AMP plugins first and finally Yoast SEO.
+1
Forum: Plugins
In reply to: [Advanced Post List] Version 0.3.7 Breaks Our SiteThe last version working for me is 0.3.4.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Can’t remove Google AnalyticsForum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Can’t remove Google AnalyticsHi, thanks for addressing this. The pageview code is now gone, but I see that
amp-analytics-0.1.js
is still included. Actually, all the amp js files are loaded twice:error.js:130 amp-lightbox is already registered. The script tag for amp-lightbox is likely included twice in the page.
error.js:130 amp-accordion is already registered. The script tag for amp-accordion is likely included twice in the page.
I can’t find anything else adding amp tags to the page…
UPDATE: js files appear to be added twice only to pages, never to posts.
Thanks again
- This reply was modified 7 years, 5 months ago by cwfaraday.
I guess it’s simpler than that: in my function I din’t expect the first parameter passed by
call_user_func
to be$this->_post
, so making space for it resolved the issue.Unless it’s something that one is supposed to know (I’m not a pro), I’d only suggest to add it to he wiki.
Thanks for all your work, this plugin is by far my favourite!
Removing
$this->_post
as the first parameter forcall_user_func
in functionphp_function($atts)
did the trick, at least temporarily…I went back to 0.3.4 and removed the constant check: it seems to be working.
However, this won’t work:
[php_function name="testFunction1234" param="[post_meta name='wp_review_total']"]
Catchable fatal error: Object of class WP_Post could not be converted to string in /var/www/dev.local/wp-content/plugins/_mg_plugin/_mg_plugin.php on line 82
I guess post metas aren’t retrieved?
I updated to 0.3.6 and the lists aren’t showing up, neither in the settings page’s preview nor on the actual pages with the shortcode.
Forum: Plugins
In reply to: [Page Speed Optimization] html minifyAfter extensive testing I found that Fast Velocity Minify works well together with this.
Forum: Plugins
In reply to: [Advanced Post List] EscapingHi EkoJR,
the same issue appears with the $ sign in post titles, on which I’m not sure how I could apply a shortcode.
For example, a common title like “Best under $500” results in “Best under 0”.
Any ideas?
Thanks
ChrisForum: Plugins
In reply to: [Fast Velocity Minify] HTML comments removalThanks for all your work Raul!