Comments in AMP version
Post count: 34Post count: 3464YogaNovember 5, 2019 at 10:44 am #52626
Unfortunately at the moment there is no comment section on amp version.
Let us know if you have further question.
Thank you.Post count: 34MassimoUANovember 5, 2019 at 4:13 pm #52661
We need to do.
We can do it ourselves, tell me how to do it?Post count: 34MassimoUANovember 5, 2019 at 8:56 pm #52666
What files should I modify to add comments to the amp version?Post count: 3464YogaNovember 6, 2019 at 2:35 pm #52708
You could find the file in the
jnews-amp\templates\meta-comments-link.phpPost count: 6SaskiaDecember 23, 2019 at 6:44 am #54795
is it possible to copy this template file to the child theme so it is update proof in case there is an update of the jnews amp plugin?Post count: 6713FerdyDecember 23, 2019 at 1:27 pm #54836
Yes, you can copy the template to the child theme. You must create a unique name folder for the AMP template on the child theme and you need to add your folder template to AMP with this hook amp_post_template_dir. Let us know if you have further questions.
Thank youPost count: 6SaskiaDecember 23, 2019 at 5:36 pm #54880
thanks for your reply!
That sounds good!
Maybe, also for other JNews customers who are less code-savy, you could provide a code example or extend the official documentation with a code example about how exactly to override jnews amp templates.
SaskiaPost count: 3464YogaDecember 24, 2019 at 1:08 pm #54926
Thank you for the suggestion.
Let us know if you have another question.
You must be logged in to reply to this topic.