First of all, great work on having your own working and optimised AMP plugin 🙂 I’ve switched from using the Automattic AMP plugin to this one on my site.
Some feedback from myself – I know it’s still an initial version so I understand more updates will be coming, but here they are:
- On the /amp page, the search icon/button on the top right links to the WordPress Address URL, and not the Site Address URL (i.e I have my WordPress files in a folder structure, so the search icon goes to 404).
- The Related Articles on the /amp page are using 300×194. Hoping there are more options on the administration panel to either disable thumbnails, or use other dimensions? For example if I visit my site on a mobile (regular page, and not the /amp page), the Related Articles are using a different thumbnail dimension/block
- There is an empty “About Us” section on the Footer of the /amp page. This is probably my fault for not knowing where should I enter the information in 🙂
For those who want to “hack” or edit the plugin files and know a bit of PHP:
- Change search URL: under td-amp/templates/header-bar.php, change “site_url” to “home_url” on line 22
- Disable About Us on Footer: under td-amp/templates/footer.php, comment out line 46 (add a ‘//’ in front of the About Us print-out line)
-
This topic was modified 8 years by
michaelaulia.
And if you want to change the Related Articles to other thumbnails that you have turned on under the Theme Panel->Block Settings:
Edit td-amp/templates/modules/td_module_amp_1.php and change the dimensions on line 19. I changed mine to 238×178 because that’s the one I’ve enabled:
echo $this->get_image(‘td_238x178’);
NOTE: These modifications will be gone if there’s a new plugin update and you overwrite the file. Just a reminder.
Hello,
Thank you for your feedback.
1. The amp template was created on the default WordPress structure. If you have altered folders in your install, this can be a consequence of that. Can you provide more examples or more detailed explanations on how you have the folders set up so we can get an idea? If you do not want to share this info publicly here, you can contact us via contact@tagdiv.com
Please note your home url will have to be == to the site URL. The tagdiv composer requires this for proper functionality.
2. Yes there are different thumbnails between amp and the regular page. This is not a bug. For the moment there are no settings to change the thumb used
3. The about us section comes from the footer options of the theme panel under Footer Info content
Thank you!
Hi Bogdan,
1. I did alter the default WordPress install so that all the WordPress files are inside a folder (let’s say “files/” under the root). So my WordPress Address (URL) is https://www.cravingtech.com/files, and Site Address (URL) is https://www.cravingtech.com
2. Yup, noticed it’s not a bug
3. Ah, thanks for that!
Hi,
Well as you are most certainly aware, our theme was built on the default structure of WordPress so any major change such as default WP file changes will influence the theme. We cannot recreate this issue on our end so it could be caused by the modification you made. Please try to create a staging site with a default wp install for testing purposes an let us know if the issue is still present on the test platform on a default file structure.
Thank you!