Forums

[resolved] How to call standard Widget Recent Comments from code? (2 posts)

  1. lkrywko
    Member
    Posted 1 year ago #

    Hello!

    Im not a coder, Im a simple wordpress user. Mostly I can help my self with some of wordpress functions. But in this, simple for coder - hard to me problem I canot do anything.

    This is why I ask for you help guys. Please show me the way to call Wodpress standard Widget "Recent Comments" from file sidebar.php

    I know that I can simple put widget on sidebar (and this works) but I need it to be called from file.

    Can anyone help me please?

  2. lkrywko
    Member
    Posted 1 year ago #

    Thanks!

    <?php the_widget('WP_Widget_Recent_Comments', $instance, $args); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic