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.
When AddToAny is used in the links of teasers on the front page, Page Title's title will be the front page's title, which is not very descriptive for those links. $node->title works much better.
I didn't find Page Title was giving me very useful titles anyway - they all had my site name at the end - so I just deleted the code relating to it in _addtoany_create_button().
Comments
Comment #1
micropat CreditAttribution: micropat commented