madastro
Forum Replies Created
-
Yes, I got 1.8.4 and just got the notice for the 1.8.6 update. Thanks mate.
Forum: Plugins
In reply to: [AMP] The attribute image.width has an invalid valueI got the same validation issue and was able to fix it by overriding the image metadata
add_filter( 'amp_post_template_metadata', 'override_schema_metadata', 10, 2 ); function override_schema_metadata( $metadata, $post ) { $metadata['image']['width'] = ($metadata['image']['width'] * 1.2); $metadata['image']['height'] = ($metadata['image']['height'] * 1.2); return $metadata; }the multiplier would make sure that the image is in proportion, not that it matters since the display would still be dictated by the <amp-img> attributes.
Thanks Josh,
Yeah looks like it was a host-based issue, quite odd. Setup is Apache and permalinks set to /category/postname. Anyway, custom url prefix did it for me when the available keywords didn’t, currently using /aff/ which works.
Thanks again man, cheers!
Forum: Plugins
In reply to: [Custom Field Suite] Fatal error with new cfs versionThanks for the fix Matt.
Cheers.Hi, I just tested it on a clean WordPress install and it’s working fine. I’m guessing some sort of conflict with one of the installed plugins, will look into it. Thanks and sorry about that.