每个wordpress小部件的php代码?

问题描述:

我当前正在更改主题,并且需要每个小部件的每个单独的代码.

I'm currently changing my theme and I need each individual code of each widget.

例如,我需要rss小部件,类别小部件或注释小部件等.

For example I need the rss widget, or categories widget or comment widget, etc.

我希望这些小部件集成在我的页脚中.

I want those widget integrated in my footer.

我在哪里可以看到代码?我不知道从哪里开始看...

Where can I see the code? I have no idea where to begin look...

我建议创建

I'd recommend creating multiple sidebar regions in your footer. You can make as many as you like, so just make one for each widget you'd like to have in the footer.

这样,当WordPress调整核心小部件时,您将从中受益.

This way, you benefit from updates to the core widgets when WordPress tweaks them.