第一步是将CodeIgniter和WordPress文件移动到它们自己的目录中。
然后,将以下行放在CodeIgniter
index.php文件的顶部。
wp-blog-header.php根据需要将路径更改为指向WordPress的根目录。
<?php require('../wp-blog-header.php');然后,您可以在视图内部使用以下功能:
<?php get_header(); get_sidebar(); get_footer(); ?>
其他帮助程序功能也可以在WordPress文档中找到,可以帮助您集成设计。



