douzhimei8259 2018-01-29 06:30
浏览 61
已采纳

Laravel包括安装在公共目录中的wordpress的项目导航栏

we have a /resources/views/inc/navbar.blade.php that is used in our Laravel application main layout.

We installed a Wordpress app in the /public directory.

We need to be able to use the same navbar in our ourdomain.com/blog

Any ideas in how to this can be accomplished?

  • 写回答

2条回答 默认 最新

  • dtpf76658 2018-01-29 06:50
    关注

    Just a brainstorming:

    1. You can show your blog in your laravel application (maybe html frames?).
    2. You can show your navbar in your blog application (get navbar via api and render it on your wordpress template)
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)
编辑
预览

报告相同问题?