排序:

WordPress函数is_post_type_hierarchical()判断自定义文章类型在注册的时候是否设置了支持分类页面

描述: 判断自定义文章类型在注册的时候是否设置了支持分类页面 用法: <?php is_post_type_hierarchical( $post_type) ?> 参数: $post_t...

WordPress函数get_post_custom_values()通过id获取文章/页面所有的自定义字段(post meta)的值(value)

588 热度

WordPress函数get_post_custom_keys()通过id获取文章/页面所有的自定义字段(post meta)的键(key)

691 热度

WordPress函数get_post_custom()通过id获取文章/页面所有的自定义字段(post meta)信息

481 热度

WordPress函数delete_post_meta()删除文章/页面的自定义栏目(字段)

586 热度

WordPress函数add_post_meta()添加自定义栏目(字段)到文章/页面

577 热度

WordPress函数wp_dropdown_pages()获取所有的页面,并创建一个下拉菜单

824 热度

WordPress函数wp_link_pages()生成文章页面分页链接

786 热度

WordPress函数page_uri_index()获取所有页面的别名和id

649 热度

WordPress函数is_page()判断当前页面是否为“页面”

581 热度

WordPress函数get_pages()自定义查询获取一组页面

552 热度

WordPress函数get_page_uri()通过页面id获取别名

585 热度

WordPress函数get_page_hierarchy()对一组页面进行排序

544 热度

WordPress函数get_page_children()通过页面id获取所有子页面

1.01K 热度

WordPress函数get_page_by_title()通过页面的标题获取页面信息

754 热度

WordPress函数get_page_by_path()通过页面的路径获取页面信息

729 热度

WordPress函数get_page_link()获取页面链接

518 热度

WordPress函数get_ancestors()获取当前分类/页面/链接的父级节点信息

731 热度

WordPress函数get_all_page_ids()获取所有页面的id

581 热度

WordPress函数wp_update_post()通过代码更新文章的内容和信息

821 热度

WordPress函数wp_trash_post()通过id删除一篇文章到回收站

528 热度

WordPress函数wp_publish_post()通过id修改文章成发布状态

724 热度

WordPress函数wp_insert_post()使用代码创建一篇文章

639 热度

WordPress函数wp_delete_post()通过id删除文章

576 热度

WordPress函数is_post_type_hierarchical()判断自定义文章类型在注册的时候是否设置了支持分类页面

543 热度

WordPress函数get_post_type_labels()获取自定义文章类型的所有label信息

516 热度

WordPress函数get_post_type_capabilities()获取自定义文章类型的权限信息

562 热度

WordPress函数get_post_type_object()通过名称获取自定义文章类型的信息

913 热度

WordPress函数get_post_type_archive_link()获取某个文章类型的文章列表页链接

678 热度

WordPress函数get_post_type()通过ID获取自定义文章类型

587 热度

WordPress函数post_type_exists()判断某个自定义文章类型是否存在

708 热度