Skip to content

请问如何与jq结合? #1

Description

@shouhuanxiaoji

我想在阿树先生的框架下提出一个新的问题:
后台能否用js控制动态的增加或者减少输入框/上传框等功能,比如我想额外增加5个上传框,可以直接点4次加号就出来了另外4个上传框,这样就能上传5个文件。
因为我想模仿gnome-looks.org,上传一些主题问题,每篇文章上传多个文件且数量不相等。
以前帝国下载cms可以实现,请问咱们的框架可以吗?
谢谢,鞠躬!

另外wordpress不知道哪个版本开始增加了一个新函数get_template_part
可以将add.functions.php里的引入php文件这样写
get_template_part('../include/import_export');//这种是获取当前主题目录上一次目录(即存放所有主题的目录)里的include目录里的import_export.php文件,感觉这种形式相比(require get_template_directory() . '/include/import_export.php';)清爽一些

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions