开发者

WordPress cms and blog with same site, how to code blog's index page

开发者 https://www.devze.com 2023-01-25 07:40 出处:网络
i am coding up a cms site which also has a blog section by using wordpress. the website previous had a blog section at /blog, which powered by wordpress, and a bunch of static pages. now they want to

i am coding up a cms site which also has a blog section by using wordpress.

the website previous had a blog section at /blog, which powered by wordpress, and a bunch of static pages. now they want to convert entire site to wordpress.

basically what i did is making a handful of "page"s , and set the website's index page as one of these static "page". apparently the blog section need to be part of this wordpress installation.

now i am wonderi开发者_JAVA技巧ng how do i render the index page of the blog as index.php has been taken for the "cms" part?

thanks


Your question isn't very clear - but there are two options for "home" page and "blog" page. Home page you have set, you can then set another page as the blog index.

Of course you will need a page template for that page so that it retrieves the latest blog entries.

0

精彩评论

暂无评论...
验证码 换一张
取 消