php code for each wordpress widget?

被刻印的时光 ゝ 提交于 2019-12-11 14:29:53

问题


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

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...


回答1:


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.

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



来源:https://stackoverflow.com/questions/1396346/php-code-for-each-wordpress-widget

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!