how can I create a widget out of a php code? It's just a disqus code that I would like to place in the sidebar. I could just paste the code in the widget section (my tag), but then I would not be able to change it's order with the other wigets. This is why I want to convert this code into a widget.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
Here is a stand-alone answer. Building a widget to echo hard-coded PHP is trivial.
There is no need for the overhead of a plugin or the overhead of |
|||
|
|
|
Use this plugin, PHP Code Widget. It allows php code inside widgets
|
||||
|
|

