PHP/Wordpress - How to display specific widget
<p>I was searching and i found this: <a href="https://codex.wordpress.org/Function_Reference/the_widget" rel="nofollow">https://codex.wordpress.org/Function_Reference/the_widget</a></p>

<p>Based on this i have tried several things, one of them:</p>

<pre><code>&lt;?php the_widget( 'Phone'); ?&gt;
</code></pre>

<p>It is a text widget, created in the sidebar. I was hoping with this code to get the content of widget i created with title <code>Phone</code> but however nothing is appearing. I can not display the content of the widget i created. </p>

<p>So my questions is, can you give an example how can i display the content of widget with widget title for example <code>Phone</code> ?</p>

<p>Thanks in advance!</p>