上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 29 下一页
摘要: The “https://packagist.laravel-china.org/packages.json” file could not be downloaded: Peer certificate CN=*.phphub.org' did not match expected CN=pack 阅读全文
posted @ 2022-12-16 20:58 Lafite-1820 阅读(288) 评论(0) 推荐(0)
摘要: https://registry.npmmirror.com/binary.html?path=git-for-windows 阅读全文
posted @ 2022-12-16 19:00 Lafite-1820 阅读(105) 评论(0) 推荐(0)
摘要: wp_query是一个wordpress用于复杂请求的的一个类,看到query懂开发的人就会反应这个是数据库查询的一个类,这个类可谓是非常有用的,可以帮助我们做很多复杂的查询。 wp_query的使用方法也很简单: $query = new WP_Query( 'author=123' ); // 阅读全文
posted @ 2022-12-15 11:19 Lafite-1820 阅读(815) 评论(0) 推荐(0)
摘要: 来源:https://www.runoob.com/w3cnote/composer-install-and-usage.html Composer 是 PHP 的一个依赖管理工具。我们可以在项目中声明所依赖的外部工具库,Composer 会帮你安装这些依赖的库文件,有了它,我们就可以很轻松的使用一 阅读全文
posted @ 2022-12-14 11:02 Lafite-1820 阅读(169) 评论(0) 推荐(0)
摘要: 4,wordpress 模板标签使用 wp_title() 系统标题 wp_title(参数一,参数二,参数三) 首页使用参数无效,默认分隔符">>" 参数一:自定义分隔符 参数二:true 和 false 参数三:分隔符的作用 left 和 right the_title() 标题 注意:该函数只 阅读全文
posted @ 2022-12-12 14:54 Lafite-1820 阅读(740) 评论(0) 推荐(0)
摘要: 1,Wordpress目录结构 1,根目录 1.index.php:wordpress核心索引文件,即博客输出文件。 2.license.txt:WordPress GPL许可证文件。 3.my-hacks.php:定义了博客输出之前处理的追加程序。默认安装中并没有这个文件,但如果存在,它就会被管理 阅读全文
posted @ 2022-12-12 10:05 Lafite-1820 阅读(556) 评论(0) 推荐(0)
摘要: 主循环的使用 <?php if(have_posts()): ?> <?php while(have_posts()): the_post(); ?> // 在这里调用数据 <?php endwhile;?> <?php else:?> // 如果没有在这里提示一个信息 <?php endif;?> 阅读全文
posted @ 2022-12-11 19:42 Lafite-1820 阅读(93) 评论(0) 推荐(0)
摘要: Wordpress的引用标签 get_header(); 参数:$name (头部,参数可选) 例如有个header-one.php想要调用这个头部文件 get_header($name)就可以写成get_header('one') 如果默认不写参数默认调用 header.php get_foote 阅读全文
posted @ 2022-12-11 15:11 Lafite-1820 阅读(83) 评论(0) 推荐(0)
摘要: 在 html 选择器 里面添加以下css就能实现 -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filte 阅读全文
posted @ 2022-12-02 14:23 Lafite-1820 阅读(50) 评论(0) 推荐(0)
摘要: package com.hefeng.demo.controller; import java.io.File; import java.io.IOException; import java.util.*; import org.apache.pdfbox.io.MemoryUsageSettin 阅读全文
posted @ 2022-11-23 18:13 Lafite-1820 阅读(303) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 29 下一页