Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I cannot find any documentation how I insert AddToAny buttons to a specific place in my custom template file. I would like to have the buttons between "Submitted on..." and the actual content.
This https://www.drupal.org/node/1323370 is for D7, but D8 is so different that I have no idea what should be done.
Any help?
Comments
Comment #2
ErnoVanhala CreditAttribution: ErnoVanhala commentedAnd of course the answer was easy.
Does the job in e.g. node-page.html.
Comment #4
Nitish k CreditAttribution: Nitish k commentedUse {{ content.addtoany }} wherever you want to display the Add to Any Social share button.