Override tagDiv AMP template files

Posted in: Newspaper
Post count: 15

Hi support,

I wish to make some changes to the AMP template files in your AMP plugin. I’m using a child theme so how can I override these as the AMP files reside only in the wp-content/plugins/td-amp/templates folder?

Cheers, Sas

Post count: 15

I’m specifically looking to update the wp-content/plugins/td-amp/templates/single.php file so to include some social sharing by Super Socializer.

Cheers, Sas

  • This reply was modified 7 years by ijammedia.
Post count: 20685

Hi,

The child theme is for theme files, you can’t modify plugin files in the child theme. The modifications you want to make will have to be made in the main plugin files.
Once made maybe back up the file from the plugin, replace the new one after a update with this modified file.
Be sure to test if that plugin is compatible with AMP first, it could cause validation problems.

Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.