douyue9704 2013-11-13 19:31
浏览 43
已采纳

如何修复add_settings_field()调用未定义函数的错误?

I followed exactly this tutorial and I got this error:

Fatal error: Call to undefined function add_settings_field() in /home/content/41/11334041/html/test/wp-content/themes/mothereffintheme/functions.php on line 47

I'm new to working with the Wordpress API and I don't have any idea to how to fix it.

  • 写回答

2条回答 默认 最新

  • dongzhan1570 2013-11-13 22:57
    关注

    I saved it in my FTP program instead of the the theme editor. It worked!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?