Support » Plugin: Widgets on Pages » Insert on PHP code

  • Resolved operadoratur

    (@operadoratur)



    Hi,

    I would need to call the widget within a php code, as single.php.
    How can I do that?

    Thanks in advance for your help.

Viewing 1 replies (of 1 total)
  • Plugin Author toddhalfpenny

    (@toddhalfpenny)

    Hi

    You can do this using the supported template tags (documented here)

    An example would be like this

    <?php widgets_on_template("wop_1"); ?>

    Ta

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.