I have a 'social share' widget (using addthis), and I'd like to add it below the question. There doesn't seem to be a way to do this, so I am looking at adding the widget's content to my theme in the relevant place.
It would be great not to have duplication here. Is it possible to either
-
declare a new widget location in a theme and then invoke it?
-
or invoke a named widget directly?
Looking at qa-theme-base I think I should be able to do something like this for option 2:
my_social_share_widget_class->output_widget("main", "my-below-question", $this, $this->template, $this->request, $this->content);
and then check for the 'my-below-question' in my own widget.
Is this 'safe' in terms of any future plans for widgets?