开发者

What php code do I need to get text from wordpress text widget?

I am adding some additional logic to page.php in a wordpress the开发者_如何学编程me. This theme already has 4 sidebar widgets (north, south, east, west).

I need to get the text that is entered into a text widget from the wp-admin widget panel within my page.php code. This logic is "outside the wordpress loop".


if I have you understood correct...

You may display text from text widget only in sidebar, so you have to call a sidebar logic in your file page.php and then add the text widget to this new sidebar.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜