Typecho gets all the articles under the category to which the article belongs

how do I get all the articles under the category to which the article belongs?
I found a code on the Internet, widget ("Widget_Archive@index"," pageSize=6&type=category", "mid=3")-> parse ("

  • {title}
  • ");? >, but this mid has been written dead, how to change it so that mid can be obtained dynamically, that is, there is no need to fill in mid? manually

    Mar.09,2021

    'mid=' . $this->mid
    Menu