Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
492 views
in Plugins by

I try to add some more features to a new plugin. By request I try to do a separate page where you can select a month and get the userscores.

Question: Can the page.php and the widget.php communicate somehow? For instance, can I call the output_widget() from the page.php?

What is best practice, any guide about that?

1 Answer

0 votes
by
You need to call output_widget(...) in the theme level, which outputs HTML, not in a page module. So it seems like your plugin should include a layer which modifies the default theme as necessary.
...