每个wordpress小部件的php代码? [英] php code for each wordpress widget?

查看:56
本文介绍了每个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.

这篇关于每个wordpress小部件的php代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆