The AMP core functionality works great, however Theme customizations are a pain
-
It’s pretty unhandy to create and modify a custom Theme for the AMP plugin for a number of reasons:
- A custom theme must be named “design-3”, to make it selectable a json structure has to be manually edited with the new theme/id combination
- There is no style.css – but a style.php is used which takes 2 (only 2!) possible customization values from the theme’s customizer options
- The structure of a Single-Page is being put together in a core function file, you can only edit each part of a template individually (e.g. Title-area, festured-image-area, post meta-info-area, etc.) – all in single PHP files
- Some inline-styles with the flag “!important” are rendered by default – but which is an illegal practice according to the AMP project specs & validation
- Using the customizer to set a header background color & text and link color works, but the result will be that these values are used in the CSS markup for different colors (not one for the header background, second for links), at and sometimes even not used where it would make sense
Hope to see some major improvements in these areas in the future of the plugin.
- The topic ‘The AMP core functionality works great, however Theme customizations are a pain’ is closed to new replies.