我的页面上有一个默认标签,其中显示2个按日期排序的博客文章.
但当我在菜单中单击返回时,它不会显示
在两个不同的地方,有没有更简单的方法来实现这一目标?我知道有
// Include WordPress
define('WP_USE_THEMES', false);
require('/home/whiteb0x/iamwhitebox.com/staging/arkitek/blog/wp-blog-header.php');
query_posts('cat=3&showposts=2');
?>
<?php the_content(); ?>// Include WordPress
define('WP_USE_THEMES', false);
require('/home/whiteb0x/iamwhitebox.com/staging/arkitek/blog/wp-blog-header.php');
query_posts('cat=3&showposts=2');
?>
echo "HELLO";
?>
**<?php
require('post.inc')
?>**
解决方法:
post.inc是否以
如果要在包含时执行代码,则包含文件具有重要的意义.
标签:include,php,jquery
来源: https://codeday.me/bug/20191208/2090999.html